Commit 9a9ea5ef by zhaoqian

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 46a4bc24 2cc9646d
...@@ -701,3 +701,6 @@ i.el-select__caret.el-input__icon.el-icon-circle-close { ...@@ -701,3 +701,6 @@ i.el-select__caret.el-input__icon.el-icon-circle-close {
width: 780px; width: 780px;
} }
} }
.pl8 {
padding-left: 8px;
}
\ No newline at end of file
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.sndp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.sndp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp,
dir: ">",
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
rcvdatend: moment(rcvdatend).format("YYYY-MM-DD"),
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
const {codes:{sta1}} = this;
list.forEach(v=>{
for(let i in sta1){
if(sta1[i].value == v.sta){
v.sta = sta1[i].label;
}
}
})
this.stmData.data = list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
},
async handleReset() {
this.model.sndp.msgtyp = "";
this.model.sndp.rcvdatsta = new Date();
this.model.sndp.rcvdatend = new Date();
this.model.sndp.subtyp = "";
this.model.sndp.sndbak = "";
this.model.sndp.revbak = "";
this.model.sndp.actbic = "";
this.model.sndp.othref = "";
this.model.sndp.ownref = "";
this.model.sndp.cur = "";
this.model.sndp.act = "";
this.model.sndp.amtmin = "";
this.model.sndp.amtmax = "";
this.model.sndp.chnipt = "";
this.model.sndp.rspsta = "";
this.model.sndp.dtlchg = "";
this.model.sndp.sta = "";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils" import Utils from "~/utils"
/** /**
* Fttpcm Check规则 * Cpssxf Check规则
*/ */
let checkObj = { let checkObj = {
"ftdgrp.rec.opndat" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.cbs.max.amt" :null,
"fttp.usr.extkey" :null,
"ftdgrp.rec.valdat" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.ben.pts.extkey" :null,
"ftdgrp.tro.pts.extkey" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
/**
* Cpssxf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
...@@ -2,8 +2,8 @@ import Api from "~/service/Api" ...@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onFttpButgetref(){ async onSxfpSel(){
let rtnmsg = await this.executeRule("fttp.butgetref") let rtnmsg = await this.executeRule("sxfp.sel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -14,8 +14,8 @@ export default { ...@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTropDet(){ async onSxfpClr(){
let rtnmsg = await this.executeRule("trop.det") let rtnmsg = await this.executeRule("sxfp.clr")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -26,8 +26,8 @@ export default { ...@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTripDet(){ async onSxfpAdd(){
let rtnmsg = await this.executeRule("trip.det") let rtnmsg = await this.executeRule("sxfp.add")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -38,8 +38,20 @@ export default { ...@@ -38,8 +38,20 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBenpDet(){ async onSxfpDvd(){
let rtnmsg = await this.executeRule("benp.det") let rtnmsg = await this.executeRule("sxfp.dvd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSxfpPfa(){
let rtnmsg = await this.executeRule("sxfp.pfa")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
export default {
"sxfp.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sxfp.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
export default class Cpssxf{
constructor () {
this.data = {
mgsp:{
stadat:"", // 收报日期(查询) .mgsp.stadat
enddat:"", // 发报日期(查询) .mgsp.enddat
exp:"", // 导出 .sxfp.exp
},
mgsgrp:{
sxflst:[], // .sxfgrp.sxflst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="系统名称" prop="" style="width: 100%">
<c-select v-model="model.mgsp.stadat" style="width: 100%" placeholder="请选择报文标准"
:code="codes.subtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="" style="width: 100%">
<c-select v-model="model.mgsp.stadat" style="width: 100%" placeholder="请选择报文标准"
:code="codes.subtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起使日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.mgsp.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="截止日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.mgsp.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> </el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 2px; margin-bottom: 1px">
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0"
type="primary"
>{{ $t("public.导出") }}
</c-button>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="汇总查询" name="fb">
<el-table
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
@selection-change="handleSelectionChange"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<!-- <el-table-column type="selection" width="55"> </el-table-column> -->
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
</el-table-column>
</el-table>
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: "fb",
load: false,
subtypCodes: [],
multipleSelection: [],
stmData: {
columns: [
{
label: "系统名称",
prop: "sta",
width: "120px",
},
{
label: "机构名称",
prop: "amt",
width: "120px",
},
{
label: "报文类型",
prop: "stadat",
width: "120px",
},
{
label: "方向",
prop: "enddat",
width: "120px",
},
{
label: "笔数",
prop: "enddat",
width: "120px",
},
{
label: "金额",
prop: "enddat",
width: "120px",
},
{
label: "起使日期",
prop: "enddat",
width: "120px",
},
{
label: "截止日期",
prop: "enddat",
width: "120px",
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
},
isRoutingDisable: function () {
return this.multipleSelection.length == 0;
},
},
methods: {},
mounted: function () {},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-mainpl :model="model" :codes="codes" ref="mainpl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Cpssxf from "../model";
import event from "../event"
import Mainplmgs from "./Mainmgs.vue"
export default {
name: "Cpswjz",
components:{
"m-mainpl" : Mainplmgs,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "mainpl",
trnName: "cpssxf",
model: new Cpssxf().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
...@@ -89,6 +89,17 @@ export default { ...@@ -89,6 +89,17 @@ export default {
}, },
handleSelectionChange(val){ handleSelectionChange(val){
this.multipleSelection = val; this.multipleSelection = val;
},
addClick(){
this.addDialogVisiable = true;
},
handleClose(){
this.addDialogVisiable = false;
},
handleOn(){
this.addDialogVisiable = false;
} }
}, },
}; };
...@@ -6,35 +6,67 @@ ...@@ -6,35 +6,67 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="日期" prop="rcvdatsta" style="width: 100%"> <el-form-item label="起始日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-date-picker
<c-date-picker type="date" v-model="model.sxfp.stadat" style="width: 100%"></c-date-picker> type="date"
</c-col> v-model="model.sxfp.stadat"
<c-col :span="2" style="text-align: center"> style="width: 100%"
<label style="display: inline-block; width: 100%">-</label> ></c-date-picker>
</c-col> </el-form-item>
<c-col :span="11"> </c-col>
<c-date-picker type="date" v-model="model.sxfp.enddat" style="width: 100%"></c-date-picker> <c-col :span="8">
</c-col> <el-form-item label="截止日期" prop="rcvdatsta" style="width: 100%">
<c-date-picker
type="date"
v-model="model.sxfp.enddat"
style="width: 100%"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle"> </el-row>
</el-row>
</template> </template>
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;"> <el-col :span="24" style="margin-top: 2px; margin-bottom: 1px">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" <c-button
type="primary" >{{ $t('public.归档') }} class="medium_bcs"
size="medium"
style="margin-left: 0"
type="primary"
@click="addClick()"
>{{ $t("public.新增") }}
</c-button> </c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" <c-button
style="margin-left: 20" type="primary">ReRouting class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.分摊明细") }}
</c-button> </c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary"> <c-button
{{ $t('public.导出Excel') }} class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.文件详情") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>
{{ $t("public.导出") }}
</c-button>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 20"
type="primary"
>{{ $t("public.单笔分摊明细") }}
</c-button> </c-button>
</el-col> </el-col>
...@@ -43,25 +75,96 @@ ...@@ -43,25 +75,96 @@
<c-col :span="24"> <c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs"> <el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="手续费管理" name="fb"> <el-tab-pane label="手续费管理" name="fb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%" <el-table
@selection-change="handleSelectionChange" :data="stmData.data"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> :columns="stmData.columns"
<el-table-column type="selection" width="55"> v-loading="load"
</el-table-column> style="width: 100%"
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" @selection-change="handleSelectionChange"
:min-width="item.width"> size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<!-- <el-table-column type="selection" width="55"> </el-table-column> -->
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange" layout="total, sizes, prev, pager, next, jumper"
@current-change="handleCurrentChange"> :total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination> </el-pagination>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</c-col> </c-col>
</div> </div>
</el-col> </el-col>
<el-dialog v-dialogDrag width="20%" height=“30%” title="手续费添加页面" v-if="addDialogVisiable" :visible.sync="addDialogVisiable" :before-close="handleClose">
<div>
<span>
<el-form ref="modelForm" :model="model" :rules="polrules" >
<el-row>
<c-col :span="24">
<el-form-item label="手续费起始日期" prop="rcvdatsta" style="width: 100%">
<!-- <c-date-picker
type="date"
v-model="model.rcvdatsta"
style="width: 50%"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</c-col>
</el-row>
<div style="display:inline;margin-top:20px">
<el-form-item label="手续费截止日期" prop="rcvdatsta" >
<!-- <c-date-picker
type="date"
size=“small”
v-model="model.rcvdatsta"
></c-date-picker> -->
<c-input v-model="model.remark"></c-input>
</el-form-item>
</div>
<el-form-item label="金额" prop="remark" style="margin-top:20px">
<c-input v-model="model.remark" placeholder="请输入金额"></c-input>
</el-form-item>
</el-form>
</span>
</div>
<span slot="footer">
<el-button @click="handleClose">取 消</el-button>
<el-button type="primary" @click="handleOn">确 定</el-button>
</span>
</el-dialog>
<!-- -->
<!-- 分摊明细弹出框 -->
<el-dialog :visible.sync="dialogVisible" title="导入日志信息">
<el-table :data="tableData">
<el-table-column label="交易类型" prop="objtyp"></el-table-column>
<el-table-column label="错误行数" prop="linnum"></el-table-column>
<el-table-column label="错误详情" prop="errdet"></el-table-column>
<el-table-column label="导入时间" prop="impdat"></el-table-column>
<el-table-column label="文件名称" prop="filnam"></el-table-column>
</el-table>
<div slot="footer">
<el-button type="primary" @click="modify">确定</el-button>
<el-button @click="closeDialogOpen">返回</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -73,32 +176,39 @@ export default { ...@@ -73,32 +176,39 @@ export default {
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeTab: 'fb', activeTab: "fb",
load: false, load: false,
subtypCodes: [], subtypCodes: [],
multipleSelection:[], addDialogVisiable:false,
multipleSelection: [],
stmData: { stmData: {
columns: [ columns: [
{ {
label: "状态", label: "创建时间",
prop: "sta", prop: "sta",
width: "120px" width: "120px",
}, },
{ {
label: "金额", label: "金额",
prop: "amt", prop: "amt",
width: "120px" width: "120px",
}, },
{ {
label: "手续费创建起始日期", label: "计费开始日期",
prop: "stadat", prop: "stadat",
width: "120px" width: "120px",
}, },
{ {
label: "手续费创建截止日期", label: "计费截止日期",
prop: "enddat", prop: "enddat",
width: "120px" width: "120px",
}], },
{
label: "处理状态",
prop: "enddat",
width: "120px",
},
],
data: [], data: [],
}, },
pagination: { pagination: {
...@@ -108,18 +218,18 @@ width: "120px" ...@@ -108,18 +218,18 @@ width: "120px"
}, },
}; };
}, },
computed:{ computed: {
isFoldDisable: function(){ isFoldDisable: function () {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} , },
isRoutingDisable:function(){ isRoutingDisable: function () {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} },
}, },
methods: { methods: {
}, },
mounted: function () { mounted: function () {},
},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
......
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.sndp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.sndp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp,
dir: ">",
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
rcvdatend: moment(rcvdatend).format("YYYY-MM-DD"),
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
const {codes:{sta1}} = this;
list.forEach(v=>{
for(let i in sta1){
if(sta1[i].value == v.sta){
v.sta = sta1[i].label;
}
}
})
this.stmData.data = list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
},
async handleReset() {
this.model.sndp.msgtyp = "";
this.model.sndp.rcvdatsta = new Date();
this.model.sndp.rcvdatend = new Date();
this.model.sndp.subtyp = "";
this.model.sndp.sndbak = "";
this.model.sndp.revbak = "";
this.model.sndp.actbic = "";
this.model.sndp.othref = "";
this.model.sndp.ownref = "";
this.model.sndp.cur = "";
this.model.sndp.act = "";
this.model.sndp.amtmin = "";
this.model.sndp.amtmax = "";
this.model.sndp.chnipt = "";
this.model.sndp.rspsta = "";
this.model.sndp.dtlchg = "";
this.model.sndp.sta = "";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils" import Utils from "~/utils"
/** /**
* Fttpcn Check规则 * Cpssxf Check规则
*/ */
let checkObj = { let checkObj = {
"canamt" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.cbs.max.amt" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"ftdgrp.rec.fttyp" :null,
"mtabut.clsflg" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
/**
* Cpssxf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
...@@ -2,8 +2,8 @@ import Api from "~/service/Api" ...@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onA53pDet(){ async onSxfpSel(){
let rtnmsg = await this.executeRule("a53p.det") let rtnmsg = await this.executeRule("sxfp.sel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -14,8 +14,8 @@ export default { ...@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onB53pDet(){ async onSxfpClr(){
let rtnmsg = await this.executeRule("b53p.det") let rtnmsg = await this.executeRule("sxfp.clr")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -26,8 +26,8 @@ export default { ...@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInipDet(){ async onSxfpAdd(){
let rtnmsg = await this.executeRule("inip.det") let rtnmsg = await this.executeRule("sxfp.add")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -38,8 +38,8 @@ export default { ...@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onB56pDet(){ async onSxfpDvd(){
let rtnmsg = await this.executeRule("b56p.det") let rtnmsg = await this.executeRule("sxfp.dvd")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -50,44 +50,8 @@ export default { ...@@ -50,44 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRbcpDet(){ async onSxfpPfa(){
let rtnmsg = await this.executeRule("rbcp.det") let rtnmsg = await this.executeRule("sxfp.pfa")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOwcpDet(){
let rtnmsg = await this.executeRule("owcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA58pDet(){
let rtnmsg = await this.executeRule("a58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB58pDet(){
let rtnmsg = await this.executeRule("b58p.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
export default {
"sxfp.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sxfp.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
export default class Cpssxf{
constructor () {
this.data = {
wlzp:{
stadat:"", // 收报日期(查询) .wlzp.stadat
enddat:"", // 发报日期(查询) .wlzp.enddat
exp:"", // 导出 .sxfp.exp
},
sxfgrp:{
sxflst:[], // .sxfgrp.sxflst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-mainpl :model="model" :codes="codes" ref="mainpl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Cpssxf from "../model";
import event from "../event"
import Mainplwjz from "./Mainplwjz.vue"
export default {
name: "Cpswjz",
components:{
"m-mainpl" : Mainplwjz,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "mainpl",
trnName: "cpssxf",
model: new Cpssxf().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
...@@ -38,7 +38,6 @@ const BusRouter = [ ...@@ -38,7 +38,6 @@ const BusRouter = [
{ path: 'smtame', component: ()=>import("./Smtame/views"), name: 'Smtame', meta: { title: 'Smtame' } ,module:'frontend'}, { path: 'smtame', component: ()=>import("./Smtame/views"), name: 'Smtame', meta: { title: 'Smtame' } ,module:'frontend'},
{ path: 'smtexe', component: ()=>import("./Smtexe/views"), name: 'Smtexe', meta: { title: 'Smtexe' } ,module:'frontend'}, { path: 'smtexe', component: ()=>import("./Smtexe/views"), name: 'Smtexe', meta: { title: 'Smtexe' } ,module:'frontend'},
{ path: 'smtsel', component: ()=>import("./Smtsel/views"), name: 'Smtsel', meta: { title: '对账单查询' } ,module:'frontend'}, { path: 'smtsel', component: ()=>import("./Smtsel/views"), name: 'Smtsel', meta: { title: '对账单查询' } ,module:'frontend'},
// { path: 'sndsel', component: ()=>import("./Sndsel/views"), name: 'Sndsel', meta: { title: 'Sndsel' } ,module:'frontend'},
{ path: 'usrmsg', component: ()=>import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: 'Usrmsg' } ,module:'frontend'}, { path: 'usrmsg', component: ()=>import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: 'Usrmsg' } ,module:'frontend'},
// 报文管理w // 报文管理w
{path: 'rcvsel',component: ()=>import("./Rcvsel/views"),name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' }}, {path: 'rcvsel',component: ()=>import("./Rcvsel/views"),name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' }},
...@@ -46,5 +45,14 @@ const BusRouter = [ ...@@ -46,5 +45,14 @@ const BusRouter = [
{path: 'sndselcop',component: ()=>import("./Sndselcop/views"),name: 'Sndselcop',meta: { keepAlive: true, title: '发报疑似重复处理' }}, {path: 'sndselcop',component: ()=>import("./Sndselcop/views"),name: 'Sndselcop',meta: { keepAlive: true, title: '发报疑似重复处理' }},
{path: 'rcvselcop',component: ()=>import("./Rcvselcop/views"),name: 'Rcvselcop',meta: { keepAlive: true, title: '收报疑似重复处理' }}, {path: 'rcvselcop',component: ()=>import("./Rcvselcop/views"),name: 'Rcvselcop',meta: { keepAlive: true, title: '收报疑似重复处理' }},
{path: 'msgrtm',component: ()=>import("./Msgrtm/views"),name: 'Msgrtm',meta: { keepAlive: true, title: '人工清分' }}, {path: 'msgrtm',component: ()=>import("./Msgrtm/views"),name: 'Msgrtm',meta: { keepAlive: true, title: '人工清分' }},
{path: 'fxpcetsel',component: ()=>import("./Fxpcetsel/views"),name: 'Fxpcetsel',meta: { keepAlive: true, title: '证书查询' },modeule:'frontend'},
{path: 'fxpjrbsel',component: ()=>import("./Fxpjrbsel/views"),name: 'Fxpjrbsel',meta: { keepAlive: true, title: '通用金融信息报文查询' },modeule:'frontend'},
{path: 'fxptolsel',component: ()=>import("./Fxptolsel/views"),name: 'Fxptolsel',meta: { keepAlive: true, title: '境内外币总核对查询' },modeule:'frontend'},
{path: 'fxpdtlsel',component: ()=>import("./Fxpdtlsel/views"),name: 'Fxpdtlsel',meta: { keepAlive: true, title: '境内外币明细查询' },modeule:'frontend'},
//CIPS未记账记录查询
{ path: 'cpswjz', component: ()=>import("./Cpswjz/views"), name: 'Cpswjz', meta: { title: 'CIPS未记账记录查询' } ,module:'frontend'},
//汇总查询
{ path: 'cpsmgs', component: ()=>import("./Cpsmgs/views"), name: 'Cpsmgs', meta: { title: '汇总查询' } ,module:'frontend'},
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.subtyp = "";
this.model.rcvp.sndbak = "";
this.model.rcvp.alttyp = "";
this.model.rcvp.bnstyp = "";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Fxpcetsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default class Fxpcetsel {
constructor() {
this.data = {
rcvp: {
rcvdatsta: "", // 起始日期 .rcvp.rcvdatsta
rcvdatend: "", // 终止日期 .rcvp.rcvdatend
subtyp: "", // 报文类型 .rcvp.subtyp
sndbak: "", // 发报行BIC .rcvp.sndbak
alttyp: "", // 变更类型
bnstyp: "", // 业务类型
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpcetsel.创建时间')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpcetsel.发报行')" style="width: 100%">
<c-input v-model="model.rcvp.sndbak" style="width: 100%"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpcetsel.变更类型')" style="width: 100%">
<c-select v-model="model.rcvp.alttyp" maxlength="40" :code="codes.alttyp"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpcetsel.报文类型')" style="width: 100%">
<c-select v-model="model.rcvp.subtyp" maxlength="40" :code="codes.subtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpcetsel.业务类型')" style="width: 100%">
<c-select v-model="model.rcvp.bnstyp" maxlength="40" :code="codes.bnstyp"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane :label="$t('fxpcetsel.证书查询')" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"/>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width"/>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
stmData: {
columns: [
{
label: "创建时间",
prop: "crttim",
width: "120px"
},
{
label: "证书DN",
prop: "ctfdn",
width: "120px"
},
{
label: "证书SN",
prop: "cftsn",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "发起直接参与机构",
prop: "",
width: "120px"
},
{
label: "发起参与机构",
prop: "",
width: "120px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from "../event"
import Fxpcetsel from "../model";
import Check from '../model/check'
import Schpnl from "./Schpnl.vue"
export default {
name: "Fxpcetsel",
components: {
"m-schpnl": Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "schpnl",
trnName: "fxpcetsel",
model: new Fxpcetsel().data,
rules: Check,
codes: {...CodeTable},
};
},
methods: {},
created: async function () {
},
};
</script>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
this.model.rcvp.sndbic = "";
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.rcvbic = "";
this.model.rcvp.dzdtyp = "";
this.model.rcvp.dzdckh = "";
this.model.rcvp.cur = "";
this.model.rcvp.subtyp = "";
this.model.rcvp.dzdatsta = new Date();
this.model.rcvp.dzdatend = new Date();
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val) {
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Fxpcetsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default class Fxpcetsel {
constructor() {
this.data = {
rcvp: {
rcvdatsta: "", // 起始日期 .rcvp.rcvdatsta
rcvdatend: "", // 终止日期 .rcvp.rcvdatend
sndbic: "",
rcvbic: "",
dzdtyp: "",
dzdckh: "",
cur: "",
subtyp: "",
dzdatsta: "",
dzdatend: "",
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.发报行BIC')" style="width: 100%">
<c-input v-model="model.rcvp.sndbic" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.收报行BIC')" style="width: 100%">
<c-input v-model="model.rcvp.rcvbic" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.对账单类型')" style="width: 100%">
<c-select v-model="model.rcvp.dzdtyp" maxlength="40" :code="codes.dzdtyp"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.对账单参考号')" style="width: 100%">
<c-input v-model="model.rcvp.dzdckh" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.币种')" style="width: 100%">
<c-select v-model="model.rcvp.cur" maxlength="40" :code="codes.cur"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.收报日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.对账日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.dzdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.dzdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane :label="$t('fxpdtlsel.境内外币明细查询')" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"/>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width"/>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
stmData: {
columns: [
{
label: "收报日期",
prop: "rcvdat",
width: "120px"
},
{
label: "对账日期",
prop: "dzdat",
width: "120px"
},
{
label: "发报行",
prop: "sndbak",
width: "120px"
},
{
label: "收报行",
prop: "rcvbak",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "对账单参考号",
prop: "dzdckh",
width: "120px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "对账状态",
prop: "sta",
width: "120px"
},
{
label: "明细数目",
prop: "mxsm",
width: "120px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from "../event"
import Fxpdtlsel from "../model";
import Check from '../model/check'
import Schpnl from "./Schpnl.vue"
export default {
name: "Fxpdtlsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "fxpdtlsel",
model: new Fxpdtlsel().data,
rules: Check,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
this.model.rcvp.sffx = "";
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.sndbic = "";
this.model.rcvp.rcvbic = "";
this.model.rcvp.msgid = "";
this.model.rcvp.sta = "";
this.model.rcvp.subtyp = "";
this.model.rcvp.bnsscn = "";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Fxpcetsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default class Fxpcetsel {
constructor() {
this.data = {
rcvp: {
rcvdatsta: "", // 起始日期 .rcvp.rcvdatsta
rcvdatend: "", // 终止日期 .rcvp.rcvdatend
sffx: "",
sndbic: "",
rcvbic: "",
msgid: "",
sta: "",
subtyp: "", // 报文类型 .rcvp.subtyp
bnsscn: "",
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.创建时间')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.业务场景')" style="width: 100%">
<c-select v-model="model.rcvp.bnsscn" maxlength="40" :code="codes.bnsscn"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.报文类型')" style="width: 100%">
<c-select v-model="model.rcvp.subtyp" maxlength="40" :code="codes.subtyp"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.被封装的类型')" style="width: 100%">
<c-select v-model="model.rcvp.bfzdlx" maxlength="40" :code="codes.atrtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.被封装20域编号')" style="width: 100%">
<c-input v-model="model.rcvp.bfzybh" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.收发方向')" style="width: 100%">
<c-select v-model="model.rcvp.sffx" maxlength="40" :code="codes.atrtyp"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.发报行BIC')" style="width: 100%">
<c-input v-model="model.rcvp.sndbic" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.收报行BIC')" style="width: 100%">
<c-input v-model="model.rcvp.rcvbic" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.报文标识号')" style="width: 100%">
<c-input v-model="model.rcvp.msgid" maxlength="40"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxpjrbsel.处理状态')" style="width: 100%">
<c-select v-model="model.rcvp.sta" maxlength="40" :code="codes.sta"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane :label="$t('fxpjrbsel.通用金融信息报文查询')" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"/>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width"/>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
stmData: {
columns: [
{
label: "起息日",
prop: "valdat",
width: "120px"
},
{
label: "收发方向",
prop: "sffx",
width: "120px"
},
{
label: "报文标识号",
prop: "msgid",
width: "120px"
},
{
label: "报文参考号",
prop: "msgckh",
width: "120px"
},
{
label: "业务场景",
prop: "bnsscn",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "被封装的类型",
prop: "bfzdlx",
width: "120px"
},
{
label: "被封装20域编号",
prop: "bfzybh",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "发报行BIC",
prop: "sndbic",
width: "120px"
},
{
label: "收报行BIC",
prop: "rcvbic",
width: "120px"
},
{
label: "接收时间",
prop: "rcvtim",
width: "120px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from "../event"
import Fxpjrbsel from "../model";
import Check from '../model/check'
import Schpnl from "./Schpnl.vue"
export default {
name: "Fxpjrbsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "fxpjrbsel",
model: new Fxpjrbsel().data,
rules: Check,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
this.model.rcvp.dzhh = "";
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.subtyp = "";
this.model.rcvp.dzdatsta = new Date();
this.model.rcvp.dzdatend = new Date();
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Fxpcetsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default class Fxpcetsel {
constructor() {
this.data = {
rcvp: {
rcvdatsta: "", // 起始日期 .rcvp.rcvdatsta
rcvdatend: "", // 终止日期 .rcvp.rcvdatend
dzhh: "",
subtyp: "",
dzdatsta: "",
dzdatend: "",
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxptolsel.对账行号')" style="width: 100%">
<c-input v-model="model.rcvp.dzhh" maxlength="40"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxptolsel.报文类型')" style="width: 100%">
<c-select v-model="model.rcvp.subtyp" maxlength="40" :code="codes.subtyp"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxptolsel.收报日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item :label="$t('fxptolsel.对账日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.dzdatsta" style="width: 100%"/>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.dzdatend" style="width: 100%"/>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane :label="$t('fxptolsel.境内外币总核对查询')" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"/>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width"/>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
stmData: {
columns: [
{
label: "收报日期",
prop: "rcvdat",
width: "120px"
},
{
label: "对账日期",
prop: "dzdat",
width: "120px"
},
{
label: "发报行",
prop: "sndbak",
width: "120px"
},
{
label: "收报行",
prop: "rcvbak",
width: "120px"
},
{
label: "报文标识号",
prop: "msgid",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "对账状态",
prop: "sta",
width: "120px"
},
{
label: "明细数目",
prop: "mxsm",
width: "120px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import event from "../event"
import Fxptolsel from "../model";
import Check from '../model/check'
import Schpnl from "./Schpnl.vue"
export default {
name: "Fxptolsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "fxptolsel",
model: new Fxptolsel().data,
rules: Check,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "CRD",
},
cbsMap: {
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
}
}
\ No newline at end of file
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.snd.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.sndp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.snd.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.sndp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"crdgrp.snd.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.snd.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.msgact": [
{ type: "string", required: false, message: "必输项" },
{ max: 21, message: "长度不能超过21" }
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.errmsg": [
{ type: "string", required: true, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crtp.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Crtcri {
constructor() {
this.data = {
crdgrp: {
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rec: {
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
sndp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.sndp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.sndp.ptsget.sdamod.dadsnd
},
},
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.recget.sdamod.dadsnd">
<c-input v-model="model.crtp.recget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : 名称 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<!-- S0000010 : 发报行 -->
<!-- S0000011 : Ref. -->
<c-col :span="12">
<c-form-item :label="$t('crtp.发报行')" prop="crdgrp.snd.pts.ref">
<c-input v-model="model.crdgrp.snd.pts.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : 经办柜员 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.sndp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="crdgrp.snd.pts.extkey">
<c-input v-model="model.crdgrp.snd.pts.extkey" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.sndp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="crdgrp.snd.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.snd.pts.adrblk" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="crdgrp.snd.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.snd.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 本行业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.本行业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 汇款账号(Tag59) -->
<c-col :span="12">
<c-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000017 : 账户行 -->
<!-- S0000018 : Ref. -->
<c-col :span="12">
<c-form-item :label="$t('crtp.账户行')" prop="crdgrp.acc.pts.ref">
<c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<!-- S0000020 : 归属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.归属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="crdgrp.acc.pts.extkey">
<c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.accp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.accp.ptsget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<!-- S0000021 : 出错信息 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.出错信息')" prop="crdgrp.rec.errmsg">
<c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="crdgrp.acc.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.acc.pts.adrblk" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="crdgrp.acc.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.acc.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 客户类型 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.crtp.forare">{{ $t('crtp.C0000058') }}</c-checkbox>
</c-col>
<!-- S0000056 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.起息日')" prop="crtp.valdat">
<c-date-picker type="date" v-model="model.crtp.valdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: {},
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇入清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Clearing In" name="clip">
<m-clip :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcri from "~/model/Crtcri"
import Clip from "./Clip"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Crtcri",
components: {
"m-clip": Clip,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "",
trnName: "crtcri",
trnType: "",
model: new Crtcri().data,
rules: Check,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入crtcri交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "CRD",
},
cbsMap: {
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
}
}
\ No newline at end of file
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.rcv.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.rcvp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rcv.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.rcvp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"crdgrp.rcv.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rcv.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Crtcri {
constructor() {
this.data = {
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
rcvp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.rcvp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.rcvp.ptsget.sdamod.dadsnd
},
},
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
},
crdgrp: {
rec: {
nam: "", // 名称 .crdgrp.rec.nam
ownref: "", // 业务编号 .crdgrp.rec.ownref
msgref: "", // 前手付汇业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 业务所属机构 .crdgrp.rec.rcvbchinr
},
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rcv: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.rcv.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.recget.sdamod.dadsnd">
<c-input v-model="model.crtp.recget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<!-- S0000023 : 业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<!-- S0000024 : 名称 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<!-- S0000031 : 收报行 -->
<!-- S0000032 : Ref. -->
<c-col :span="12">
<c-form-item :label="$t('crtp.收报行')" prop="crdgrp.rcv.pts.ref">
<c-input v-model="model.crdgrp.rcv.pts.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<!-- S0000025 : 经办柜员 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.rcvp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="crdgrp.rcv.pts.extkey">
<c-input v-model="model.crdgrp.rcv.pts.extkey" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.rcvp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="crdgrp.rcv.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.rcv.pts.adrblk" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="crdgrp.rcv.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.rcv.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<!-- S0000028 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="12">
<c-form-item :label="$t('crtp.账户行')" prop="crdgrp.acc.pts.ref">
<c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="crdgrp.acc.pts.extkey">
<c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="crtp.accp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.accp.ptsget.sdamod.seainf"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="crdgrp.acc.pts.adrblk">
<c-input type="textarea" v-model="model.crdgrp.acc.pts.adrblk" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="crdgrp.acc.dbfadrblkcn">
<c-input type="textarea" v-model="model.crdgrp.acc.dbfadrblkcn" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: {},
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇出清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--crtcro PD000009 Clearing Out -->
<el-tab-pane label="Clearing Out" name="clop">
<m-clop :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcro from "~/model/Crtcro"
import Clop from "./Clop"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
export default {
name: "Crtcro",
components: {
"m-clop": Clop,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "",
trnName: "crtcro",
trnType: "",
model: new Crtcro().data,
rules: Check,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入crtcro交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
export default {
methods: {
},
};
import Utils from "~/utils" export default {
"ftt320l1blk":[
/** {type: "string", required: true, message: "必输项"},
* Fttfcm Check规则 {max: 200,message:"长度不能超过200"}
*/ ],
let checkObj = {
"fttp.mt32m.s30x" :null,
"fttp.mt32m.ini.pts.extkey" :null,
"fttp.mt32m.b58.pts.extkey" :null,
"fttp.mt32m.a58.pts.extkey" :null,
"fttp.mt32m.owc.pts.adrblk" :null,
"fttp.mt32m.conref" :null,
"fttp.mt32m.b53.pts.extkey" :null,
"fttp.mt32m.b58.pts.adrblk" :null,
"fttp.mt32m.b56.pts.extkey" :null,
"fttp.mt32m.rbc.pts.adrblk" :null,
"fttp.mt32m.owc.pts.extkey" :null,
"fttp.mt32m.rbc.pts.extkey" :null,
"fttp.mt32m.a53.pts.extkey" :null,
"fttp.mt32m.a58.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
/**
* Fttfcm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fttp.mt32m.owc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b53.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.ini.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.owc.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.b56.pts.extkey" :Utils.defaultFunction,
"fttp.mt32m.rbc.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.a58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.rbc.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.adrblk" :Utils.defaultFunction,
"fttp.mt32m.s22b" :Utils.defaultFunction,
"fttp.mt32m.b58.dbfadrblkcn" :Utils.defaultFunction,
"fttp.mt32m.a58.pts.extkey" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"fttp.mt32m.b58.pts.extkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
export default {
"ftt320l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fttp.mt32m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fttp.mt32m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.conno":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.rbc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.rbc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.owc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.s30x":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fttp.mt32m.a58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"fttp.mt32m.a58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.a58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.mt32m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fttp.mt32m.a58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.a58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fttp.mt32m.b58.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"relref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"narblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftt199l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"ftt299l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcm{ export default class Fttfcm{
constructor () { constructor () {
...@@ -126,7 +127,10 @@ export default class Fttfcm{ ...@@ -126,7 +127,10 @@ export default class Fttfcm{
relref:"", // Related Reference .relref relref:"", // Related Reference .relref
ftt199l1blk:"", // XMLPanel ftt199l1的内置block .ftt199l1blk ftt199l1blk:"", // XMLPanel ftt199l1的内置block .ftt199l1blk
ftt299l1blk:"", // XMLPanel ftt299l1的内置block .ftt299l1blk ftt299l1blk:"", // XMLPanel ftt299l1的内置block .ftt299l1blk
pageId: "" // ctx的key pageId: "", // ctx的key
} setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
} }
}
} }
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt199l1blk的内容" prop="ftt199l1blk">
<c-input type="textarea" v-model="model.ftt199l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt299l1blk的内容" prop="ftt299l1blk">
<c-input type="textarea" v-model="model.ftt299l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ftt320l1blk的内容" prop="ftt320l1blk">
<c-input type="textarea" v-model="model.ftt320l1blk" maxlength="200" show-word-limit :placeholder="请输如你要输入的内容" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="Reference" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="please_enter + Reference"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000010 : Reference -->
<!-- S0000011 : Related Reference -->
<!-- S0000012 : Narrative -->
<el-row>
<c-col :span="24">
<!-- S0000008 : Reference -->
<c-col :span="8">
<c-form-item :label="参考号" prop="ftdgrp.rec.ownref">
<c-input
v-model="model.ftdgrp.rec.ownref"
maxlength="16"
:placeholder="请输入参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000009 : Related Reference -->
<c-col :span="8">
<c-form-item :label="相关参考号" prop="relref">
<c-input
v-model="model.relref"
maxlength="16"
:placeholder="请输入相关参考号"
></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : Narrative -->
<c-col :span="8">
<c-form-item :label="描述" prop="narblk">
<c-input
type="textarea"
v-model="model.narblk"
maxlength="35"
show-word-limit
:placeholder="请进行描述"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
...@@ -658,7 +658,7 @@ ...@@ -658,7 +658,7 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "../event/Event"; import Event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <c-page title="资金拆借/存放">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
<!--fttfcm PD000001 MT320 --> size="small" :validate-on-rule-change="false">
<el-tab-pane :label="$t('fttfcm.PD000001')" name="ftt320l1"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<m-ftt320l1 :model="model" :codes="codes"/> <el-tab-pane label="概要" name="ovwp">
</el-tab-pane> <c-content>
<!--fttfcm PD000002 MT320 --> <m-ovwp :model="model" :codes="codes" />
<el-tab-pane :label="$t('fttfcm.PD000002')" name="mt320"> </c-content>
<m-mt320 :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> <el-tab-pane label="费用/账务" name="setpan">
<!--fttfcm PD000003 MT199 --> <c-content>
<el-tab-pane :label="$t('fttfcm.PD000003')" name="mt199"> <m-setpan :codes="codes" :model="model" />
<m-mt199 :model="model" :codes="codes"/> </c-content>
</el-tab-pane> </el-tab-pane>
<!--fttfcm PD000004 MT299 --> <el-tab-pane label="报文/面函" name="docpan">
<el-tab-pane :label="$t('fttfcm.PD000004')" name="mt299"> <c-content>
<m-mt299 :model="model" :codes="codes"/> <m-docpan :codes="codes" :model="model" />
</el-tab-pane> </c-content>
<!--fttfcm PD000014 MT199 --> </el-tab-pane>
<el-tab-pane :label="$t('fttfcm.PD000014')" name="ftt199l1"> </c-tabs>
<m-ftt199l1 :model="model" :codes="codes"/> </el-form>
</el-tab-pane> <c-function-btn
<!--fttfcm PD000015 MT299 --> :handleCheck="handleCheck"
<el-tab-pane :label="$t('fttfcm.PD000015')" name="ftt299l1"> :handleStash="handleStash"
<m-ftt299l1 :model="model" :codes="codes"/> :handleSubmit="handleSubmit"
</el-tab-pane> @handleSureWarning="handleSureWarning"
</c-tabs> ref="commonBtn"
</el-form> ></c-function-btn>
</div> </c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fttfcm from "../model" import Fttfcm from "../model"
import commonProcess from "~/mixin/commonProcess" import Ovwp from "./Ovwp"
import Check from "../model/Check" import Setpan from "~/components/business/setmod/views";
import Default from "../model/Default" import Docpan from "~/components/business/docpan/views";
import Pattern from "../model/Pattern"
import Ftt320l1 from "./Ftt320l1" import operationFunc from "~/mixin/operationFunc";
import Mt320 from "./Mt320" import commonDepend from "~/mixin/commonDepend";
import Mt199 from "./Mt199" import event from "../event";
import Mt299 from "./Mt299" import buildFn from "../event/buildCommons.js";
import Ftt199l1 from "./Ftt199l1" import Check from "../model/Check.js";
import Ftt299l1 from "./Ftt299l1"
export default { export default {
name: "Fttfcm", name: "Fttfcm",
components:{ components: {
"m-ftt320l1" : Ftt320l1, "m-ovwp": Ovwp,
"m-mt320" : Mt320, "m-setpan": Setpan,
"m-mt199" : Mt199, "m-docpan": Docpan,
"m-mt299" : Mt299,
"m-ftt199l1" : Ftt199l1,
"m-ftt299l1" : Ftt299l1,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, commonDepend, event, buildFn],
data(){ data() {
return { return {
tabVal: "ftt320l1", tabVal: "ovwp",
trnName: "fttfcm", trnName: "fttfcm",
trnType: "", trnType: "",
model: new Fttfcm().data, model: new Fttfcm().data,
checkRules: Check, rules: Check,
defaultRules: Default, codes: { ...CodeTable },
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created:async function(){ created: async function () {
console.log("进入fttfcm交易"); console.log("进入fttfcm交易");
let rtnmsg = {}; // await this.init({}) let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data)
this.updateModel(rtnmsg.data) //TODO 处理数据逻辑
//TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
<style> <style></style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
}
}
}
};
import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
import Utils from "~/utils" export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
/**
* Fttfcn Check规则
*/
let checkObj = {
"canamt" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"ftdgrp.act.pts.adrblk" :null,
"fttp.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.tro.pts.extkey" :null,
"ftdgrp.rec.fttyp" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) { "ftdgrp.tro.pts.adrblk":[
if (Object.hasOwnProperty.call(checkObj, key)) { {type: "string", required: true, message: "必输项"},
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) {max: 35,message:"长度不能超过35"}
} ],
} "ftdgrp.tro.dbfadrblkcn":[
export default checkObj {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
/**
* Fttfcn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"fttp.usr.extkey" :Utils.defaultFunction,
"ftdgrp.act.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.act.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
"canamt" :Utils.defaultFunction,
"ftdgrp.cbs.opn2.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment