Commit c66d747d by lianyang

letdav重新初始化(加上漏掉的页面Mt754p.vue)

parent 72b148b7
...@@ -8,32 +8,40 @@ let checkObj = { ...@@ -8,32 +8,40 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null, "bedgrp.apl.pts.nam" :null,
"ledgrp.beb.adrelc" :null,
"bedgrp.rec.totamt" :null, "bedgrp.rec.totamt" :null,
"ledgrp.beb.pts.extkey" :null,
"bedgrp.oth.namelc" :null, "bedgrp.oth.namelc" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bedgrp.prb.pts.nam" :null, "bedgrp.prb.pts.nam" :null,
"bedgrp.rmb.adrelc" :null,
"bedgrp.rec.advtyp" :null, "bedgrp.rec.advtyp" :null,
"bedgrp.oth.adrelc" :null, "bedgrp.oth.adrelc" :null,
"bedgrp.acb.namelc" :null, "bedgrp.acb.namelc" :null,
"bedgrp.rmb.namelc" :null,
"bedgrp.prb.namelc" :null, "bedgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bedgrp.acb.adrelc" :null, "bedgrp.acb.adrelc" :null,
"bedgrp.blk.docdis" :null, "bedgrp.blk.docdis" :null,
"ledgrp.beb.namelc" :null,
"bedgrp.prb.adrelc" :null, "bedgrp.prb.adrelc" :null,
"bedgrp.acb.pts.adrblk" :null, "bedgrp.acb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"bedgrp.acb.pts.extkey" :null, "bedgrp.acb.pts.extkey" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.prb.pts.extkey" :null, "bedgrp.prb.pts.extkey" :null,
"bedgrp.rmb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bedgrp.rec.advdat" :null, "bedgrp.rec.advdat" :null,
"bedgrp.rec.docprbrol" :null, "bedgrp.rec.docprbrol" :null,
"bedgrp.oth.pts.adrblk" :null, "bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null, "bedgrp.prb.pts.adrblk" :null,
"ledgrp.beb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null, "bedgrp.rec.rcvdat" :null,
"bedgrp.oth.pts.extkey" :null, "bedgrp.oth.pts.extkey" :null,
"bedgrp.rmb.pts.adrblk" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bedgrp.rec.disdat" :null, "bedgrp.rec.disdat" :null,
"bedgrp.cbs.max.amt" :null, "bedgrp.cbs.max.amt" :null,
......
...@@ -6,6 +6,10 @@ import Api from "~/service/Api"; ...@@ -6,6 +6,10 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bedgrp.rmb.pts.extkey" :Utils.defaultFunction,
"bedgrp.rmb.adrelc" :Utils.defaultFunction,
"bedgrp.rmb.namelc" :Utils.defaultFunction,
"bedgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.cbs.max2.amt" :Utils.defaultFunction, "bedgrp.cbs.max2.amt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
...@@ -20,6 +24,11 @@ export default { ...@@ -20,6 +24,11 @@ export default {
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction, "bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.acb.pts.extkey" :Utils.defaultFunction, "bedgrp.acb.pts.extkey" :Utils.defaultFunction,
"ledgrp.beb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.beb.pts.extkey" :Utils.defaultFunction,
"ledgrp.beb.adrelc" :Utils.defaultFunction,
"ledgrp.beb.namelc" :Utils.defaultFunction,
"ledgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.blk.docdis" :Utils.defaultFunction, "bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction, "bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction, "bedgrp.rec.docprbrol" :Utils.defaultFunction,
...@@ -28,6 +37,7 @@ export default { ...@@ -28,6 +37,7 @@ export default {
"bedgrp.oth.namelc" :Utils.defaultFunction, "bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction, "bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction, "bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"bedgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction, "bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction, "bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction, "bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
......
...@@ -218,5 +218,29 @@ export default { ...@@ -218,5 +218,29 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -421,4 +421,69 @@ export default { ...@@ -421,4 +421,69 @@ export default {
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"bedgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"betp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bedgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"betp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bedgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bedgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bedgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bedgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"betp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"betp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.beb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.beb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bedgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
} }
\ No newline at end of file
...@@ -57,6 +57,22 @@ export default class Letdav{ ...@@ -57,6 +57,22 @@ export default class Letdav{
}, },
}, },
}, },
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .betp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.rmbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .betp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.bebp.ptsget.sdamod.dadsnd
},
},
},
}, },
ledgrp:{ ledgrp:{
rec:{ rec:{
...@@ -82,6 +98,12 @@ export default class Letdav{ ...@@ -82,6 +98,12 @@ export default class Letdav{
}, },
}, },
avbnam:"", // 指定银行 .ledgrp.avbnam avbnam:"", // 指定银行 .ledgrp.avbnam
beb:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.beb.namelc
adrelc:"", // 地址 .ledgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.beb.dbfadrblkcn
},
}, },
bedgrp:{ bedgrp:{
apl:{ apl:{
...@@ -106,8 +128,9 @@ export default class Letdav{ ...@@ -106,8 +128,9 @@ export default class Letdav{
docprbrol:"", // Presented by .bedgrp.rec.docprbrol docprbrol:"", // Presented by .bedgrp.rec.docprbrol
nam:"", // Name .bedgrp.rec.nam nam:"", // Name .bedgrp.rec.nam
payrol:"", // Payer .bedgrp.rec.payrol payrol:"", // Payer .bedgrp.rec.payrol
totcur:"", // Amount to be Paid .bedgrp.rec.totcur totcur:"", // Total Amount Claimed .bedgrp.rec.totcur
totamt:"", // Total Amount to be Paid .bedgrp.rec.totamt totamt:"", // Total Amount to be Paid .bedgrp.rec.totamt
totdat:"", // Date to be Paid .bedgrp.rec.totdat
}, },
oth:{ oth:{
pts:new Pts().data, pts:new Pts().data,
...@@ -132,6 +155,7 @@ export default class Letdav{ ...@@ -132,6 +155,7 @@ export default class Letdav{
chaadd:"", // Charges Added .bedgrp.blk.chaadd chaadd:"", // Charges Added .bedgrp.blk.chaadd
docdis:"", // 不符点 .bedgrp.blk.docdis docdis:"", // 不符点 .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
nartxt77a:"", // Narrative TAG 77A of Incoming MT754 .bedgrp.blk.nartxt77a
}, },
acb:{ acb:{
pts:new Pts().data, pts:new Pts().data,
...@@ -139,6 +163,12 @@ export default class Letdav{ ...@@ -139,6 +163,12 @@ export default class Letdav{
adrelc:"", // 地址 .bedgrp.acb.adrelc adrelc:"", // 地址 .bedgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.acb.dbfadrblkcn dbfadrblkcn:"", // Chinese address .bedgrp.acb.dbfadrblkcn
}, },
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .bedgrp.rmb.namelc
adrelc:"", // 地址 .bedgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.rmb.dbfadrblkcn
},
}, },
// liaall:{ // liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt // misamt:"", // Amount not yet assigned .liaall.misamt
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount to be Paid" prop="bedgrp.rec.totcur"> <el-form-item label="Total Amount Claimed" prop="bedgrp.rec.totcur">
<c-input v-model="model.bedgrp.rec.totcur" maxlength="3" placeholder="请输入Amount to be Paid"></c-input> <c-input v-model="model.bedgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Narrative TAG 77A of Incoming MT754" prop="bedgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bedgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of Incoming MT754" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.betp.rmbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bedgrp.rmb.pts.extkey">
<c-input v-model="model.bedgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.betp.rmbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bedgrp.rmb.namelc">
<c-input type="textarea" v-model="model.bedgrp.rmb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bedgrp.rmb.pts.adrblk">
<c-input type="textarea" v-model="model.bedgrp.rmb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bedgrp.rmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bedgrp.rmb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bedgrp.rmb.adrelc">
<c-input type="textarea" v-model="model.bedgrp.rmb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.betp.bebp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.beb.pts.extkey">
<c-input v-model="model.ledgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.betp.bebp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.beb.namelc">
<c-input type="textarea" v-model="model.ledgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.ledgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.beb.adrelc">
<c-input type="textarea" v-model="model.ledgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date to be Paid" prop="bedgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-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 "~/model/Letdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -27,42 +27,65 @@ ...@@ -27,42 +27,65 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000045 --> <!--PD000045 -->
<el-tab-pane label="Advice Recevied" name="davp"> <el-tab-pane label="Advice Recevied" name="davp">
<c-content>
<m-davp :model="model" :codes="codes" /> <m-davp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000139 --> <!--PD000139 -->
<el-tab-pane label="Advice of Discrepancy" name="mt750p"> <el-tab-pane label="Advice of Discrepance" name="mt750p" v-if="model.bedgrp.rec.advtyp=='750'">
<c-content>
<m-mt750p :model="model" :codes="codes" /> <m-mt750p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="PD000147" name="mt754p" v-if="model.bedgrp.rec.advtyp=='754'">
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -86,6 +109,7 @@ import Default from '~/model/Letdav/Default' ...@@ -86,6 +109,7 @@ import Default from '~/model/Letdav/Default'
import Pattern from '~/model/Letdav/Pattern' import Pattern from '~/model/Letdav/Pattern'
import Davp from './Davp' import Davp from './Davp'
import Mt750p from './Mt750p' import Mt750p from './Mt750p'
import Mt754p from './Mt754p'
// import Engp from './Engp' // import Engp from './Engp'
// import Setpan from './Setpan' // import Setpan from './Setpan'
// import Coninfp from './Coninfp' // import Coninfp from './Coninfp'
...@@ -105,6 +129,7 @@ export default { ...@@ -105,6 +129,7 @@ export default {
components: { components: {
'm-davp': Davp, 'm-davp': Davp,
'm-mt750p': Mt750p, 'm-mt750p': Mt750p,
'm-mt754p': Mt754p,
'm-engp': Engp, 'm-engp': Engp,
'm-setpan': Setpan, 'm-setpan': Setpan,
'm-coninfp': Coninfp, 'm-coninfp': Coninfp,
......
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