Commit a8a341e7 by Wuyuqiu

lttdav交易页面布局,交易bug修改

parent b5ca9327
...@@ -4248,6 +4248,10 @@ const CodeTable = { ...@@ -4248,6 +4248,10 @@ const CodeTable = {
{ label: "NPAY", value: "NPAY" }, { label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" }, { label: "NACC", value: "NACC" },
], ],
advtyp2:[
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
],
limittype: [ limittype: [
{ label: "余额限额", value: "12" }, { label: "余额限额", value: "12" },
......
...@@ -4,25 +4,31 @@ import Utils from "~/utils" ...@@ -4,25 +4,31 @@ import Utils from "~/utils"
* Lttdav Check规则 * Lttdav Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null, "btdgrp.blk.comcon" :null,
"btdgrp.prb.pts.adrblk" :null, "btdgrp.prb.pts.adrblk" :null,
"btdgrp.rmt.pts.extkey" :null,
"btdgrp.rmt.namelc" :null,
"btdgrp.prb.namelc" :null, "btdgrp.prb.namelc" :null,
"btdgrp.acb.pts.extkey" :null,
"btdgrp.blk.setinsbt" :null, "btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null, "btdgrp.blk.docdis" :null,
"btdgrp.rmt.pts.adrblk" :null,
"btdgrp.prb.pts.nam" :null, "btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null, "btdgrp.prb.adrelc" :null,
"btdgrp.rmt.adrelc" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null, "btdgrp.prb.pts.extkey" :null,
"btdgrp.be1.pts.nam" :null, "btdgrp.be1.pts.nam" :null,
"btdgrp.blk.intdis" :null, "btdgrp.blk.intdis" :null,
"btdgrp.rec.totamt" :null,
"btdgrp.rec.advtyp" :null, "btdgrp.rec.advtyp" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null, "btdgrp.acb.pts.adrblk" :null,
"btdgrp.rec.disdat" :null, "btdgrp.rec.disdat" :null,
"bttp.ltdget.sdamod.dadsnd" :null, "btdgrp.acb.adrelc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bttp.recget.sdamod.dadsnd" :null, "btdgrp.acb.namelc" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"btdgrp.cbs.max.amt" :null,
"btdgrp.be2.pts.nam" :null, "btdgrp.be2.pts.nam" :null,
"btdgrp.rec.advdat" :null, "btdgrp.rec.advdat" :null,
} }
......
...@@ -6,38 +6,52 @@ import Api from "~/service/Api"; ...@@ -6,38 +6,52 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.advtyp" :Utils.defaultFunction, "btdgrp.rec.advtyp" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"btdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"btdgrp.acb.pts.extkey" :Utils.defaultFunction,
"btdgrp.acb.adrelc" :Utils.defaultFunction,
"btdgrp.acb.namelc" :Utils.defaultFunction,
"btdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.totcur" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction, "btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.blk.chaadd" :Utils.defaultFunction,
"btdgrp.blk.chaded" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rmt.adrelc" :Utils.defaultFunction,
"btdgrp.rmt.namelc" :Utils.defaultFunction,
"btdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction, "btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "ltdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction, "ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -14,8 +14,8 @@ export default { ...@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDocdisButtxmsel(){ async onAcbpDet(){
let rtnmsg = await this.executeRule("docdis.buttxmsel") let rtnmsg = await this.executeRule("acbp.det")
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 onIntdisButtxmsel(){ async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel") let rtnmsg = await this.executeRule("docdis.buttxmsel")
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 onComconButtxmsel(){ async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel") let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -50,8 +50,8 @@ export default { ...@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetinsButtxmsel(){ async onComconButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel") let rtnmsg = await this.executeRule("comcon.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -62,8 +62,8 @@ export default { ...@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmisamt(){ async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -74,8 +74,8 @@ export default { ...@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmissig(){ async onRmtpDet(){
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -144,12 +144,74 @@ export default { ...@@ -144,12 +144,74 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"btdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bttp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.docdis":[ "btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"btdgrp.blk.intdis":[ "btdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -167,42 +229,45 @@ export default { ...@@ -167,42 +229,45 @@ export default {
"btdgrp.rec.docsta":[ "btdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"btdgrp.blk.nartxt77a":[
"liaall.outamt":[ {type: "string", required: true, message: "必输项"},
{type: "number", required: false, message: "必输项"}, {max: 35,message:"长度不能超过35"}
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.outpct":[ "bttp.rmtp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"} {max: 16,message:"长度不能超过16"}
], ],
"liaall.concur":[ "btdgrp.rmt.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 16,message:"长度不能超过16"}
], ],
"liaall.misamt":[ "bttp.rmtp.ptsget.sdamod.seainf":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 3,message:"长度不能超过3"}
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"btdgrp.rmt.namelc":[
"liaall.exttotoldamt":[ {type: "string", required: true, message: "必输项"},
{type: "number", required: false, message: "必输项"}, {max: 35,message:"长度不能超过35"}
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotamt":[ "btdgrp.rmt.pts.adrblk":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 35,message:"长度不能超过35"}
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ],
"btdgrp.rmt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rmt.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
], ],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -225,10 +290,6 @@ export default { ...@@ -225,10 +290,6 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "~/model/Public"; import Pub from "../Public"
export default class Lttdav {
export default class Lttdav{ constructor() {
constructor () { this.data = {
this.data = { btdgrp: {
btdgrp:{ rec: {
rec:{ ownref: "", // Document Reference .btdgrp.rec.ownref
ownref:"", // Document Reference .btdgrp.rec.ownref advdat: "", // Payment advised on .btdgrp.rec.advdat
advdat:"", // Payment advised on .btdgrp.rec.advdat disdat: "", // Discrep. advised on .btdgrp.rec.disdat
disdat:"", // Discrep. advised on .btdgrp.rec.disdat dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg docprbrol: "", // Presented by .btdgrp.rec.docprbrol
docprbrol:"", // Presented by .btdgrp.rec.docprbrol nam: "", // Name .btdgrp.rec.nam
nam:"", // Name .btdgrp.rec.nam advtyp: "", // Type of Advice .btdgrp.rec.advtyp
advtyp:"", // Type of Advice .btdgrp.rec.advtyp totcur: "", // Total Amount Claimed .btdgrp.rec.totcur
docsta:"", // Document Set Status .btdgrp.rec.docsta totamt: "", // Total Amount to be Paid .btdgrp.rec.totamt
}, docsta: "", // Document Set Status .btdgrp.rec.docsta
prb:{ totdat: "", // Date to be Paid .btdgrp.rec.totdat
pts:new Pts().data, },
namelc:"", // 名称 .btdgrp.prb.namelc prb: {
adrelc:"", // 地址 .btdgrp.prb.adrelc pts: new Pts().data,
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn namelc: "", // 名称 .btdgrp.prb.namelc
}, adrelc: "", // 地址 .btdgrp.prb.adrelc
prp:{ dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
pts:new Pts().data, },
namelc:"", // 名称 .btdgrp.prb.namelc be1: {
adrelc:"", // 地址 .btdgrp.prb.adrelc pts: new Pts().data,
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn },
}, be2: {
be1:{ pts: new Pts().data,
pts:new Pts().data, },
}, cbs: {
be2:{ max: {
pts:new Pts().data, cur: "", // Document Amount .btdgrp.cbs.max.cur
}, amt: "", // Balance .btdgrp.cbs.max.amt
blk:{ },
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis opn2: {
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt },
docdis:"", // Discrepancies .btdgrp.blk.docdis max2: {
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg amt: "", // 附加金额 .btdgrp.cbs.max2.amt
}, },
},
blk: {
chaded: "", // Charges Deducted .btdgrp.blk.chaded
chaadd: "", // Charges Added .btdgrp.blk.chaadd
docdis: "", // Discrepancies .btdgrp.blk.docdis
docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg
intdis: "", // Internal Discrepancies .btdgrp.blk.intdis
comcon: "", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
nartxt77a: "", // Narrative Tag77A of MT754 .btdgrp.blk.nartxt77a
},
acb: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.acb.namelc
adrelc: "", // 地址 .btdgrp.acb.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.acb.dbfadrblkcn
},
rmt: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.rmt.namelc
adrelc: "", // 地址 .btdgrp.rmt.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.rmt.dbfadrblkcn
},
},
bttp: {
recget: {
sdamod: {
seainf: "", // .bttp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
},
},
setnowflg: "", // setttle now .bttp.setnowflg
prbp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
}, },
bttp:{ },
recget:{ },
sdamod:{ ledget: {
seainf:"", // .bttp.recget.sdamod.seainf sdamod: {
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd seainf: "", // .bttp.ledget.sdamod.seainf
}, },
}, },
setnowflg:"", // setttle now .bttp.setnowflg ltdget: {
prbp:{ sdamod: {
ptsget:{ seainf: "", // .bttp.ltdget.sdamod.seainf
sdamod:{ dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf },
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd },
}, aammod: {
}, addamtflg: "", // Add. Amount .bttp.aammod.addamtflg
}, },
ledget:{ acbp: {
sdamod:{ ptsget: {
seainf:"", // .bttp.ledget.sdamod.seainf sdamod: {
}, seainf: "", // .bttp.acbp.ptsget.sdamod.seainf
}, dadsnd: "", // Drag Drop Sender .bttp.acbp.ptsget.sdamod.dadsnd
ltdget:{
sdamod:{
seainf:"", // .bttp.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
docgrd:[], // .bttp.docgrdmbe1.docgrd
},
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
docgrd:[], // .bttp.docgrdmbe2.docgrd
},
futhndflg:"", // further handling .bttp.futhndflg
}, },
ledgrp:{ },
rec:{ },
ownref:"", // L/C Reference .ledgrp.rec.ownref docgrdmbe1: {
nam:"", // Name .ledgrp.rec.nam docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
}, },
docgrdmbe2: {
docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
},
futhndflg: "", // further handling .bttp.futhndflg
rmtp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.rmtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.rmtp.ptsget.sdamod.dadsnd
}, },
ltdgrp:{ },
rec:{ },
ownref:"", // Transfer Reference .ltdgrp.rec.ownref },
nam:"", // Name .ltdgrp.rec.nam ledgrp: {
avbby:"", // Available by .ltdgrp.rec.avbby rec: {
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat ownref: "", // L/C Reference .ledgrp.rec.ownref
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp nam: "", // Name .ledgrp.rec.nam
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat },
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc },
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat ltdgrp: {
}, rec: {
cbs:{ ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nom1:{ nam: "", // Name .ltdgrp.rec.nam
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur avbby: "", // Available by .ltdgrp.rec.avbby
amt:"", // Balance .ltdgrp.cbs.nom1.amt opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
}, lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
opn1:{ expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
amt:"", // Balance .ltdgrp.cbs.opn1.amt shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
}, },
}, cbs: {
avbnam:"", // Available with .ltdgrp.avbnam nom1: {
}, cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
setmod: new Pub().data.Setmod, amt: "", // Balance .ltdgrp.cbs.nom1.amt
mtabut: new Pub().data.Mtabut, },
trnmod: new Pub().data.Trnmod, opn1: {
liaall: new Pub().data.Liaall, cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
pageId: "" // ctx的key amt: "", // Balance .ltdgrp.cbs.opn1.amt
} },
} },
avbnam: "", // Available with .ltdgrp.avbnam
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
}
}
} }
\ No newline at end of file
...@@ -162,10 +162,13 @@ ...@@ -162,10 +162,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="rejpenins" style="margin-left: 150px" <el-form-item label="" prop="rejpenins">
>Rejection Pending Instructions</c-checkbox <c-checkbox v-model="rejpenins"
> >Rejection Pending Instructions</c-checkbox
>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- next part --> <!-- next part -->
...@@ -173,11 +176,10 @@ ...@@ -173,11 +176,10 @@
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
path:'bedgrp.blk.prsdoc', path: 'bedgrp.blk.prsdoc',
grp:'betp', grp: 'betp',
code:'docpre' code: 'docpre',
}" }"
> >
</c-docpre> </c-docpre>
</c-col> </c-col>
...@@ -307,21 +309,19 @@ import Utils from "~/utils"; ...@@ -307,21 +309,19 @@ import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre"; import Docpre from "~/views/Public/Docpre";
export default { export default {
components:{"c-docpre":Docpre}, components: { "c-docpre": Docpre },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
};
}, },
computed: { computed: {
docdisflg: { docdisflg: {
get() { get() {
if(this.model.bedgrp.blk.docdis==""){ if (this.model.bedgrp.blk.docdis == "") {
return this.model.bedgrp.blk.docdisflg != ""; return this.model.bedgrp.blk.docdisflg != "";
}else{ } else {
return this.model.bedgrp.blk.docdisflg != "X"; return this.model.bedgrp.blk.docdisflg != "X";
} }
}, },
......
...@@ -301,32 +301,39 @@ ...@@ -301,32 +301,39 @@
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px" <el-form-item label="" prop="advrefflg">
>Receive advice of refusal</c-checkbox <c-checkbox v-model="advrefflg"
> >Receive advice of refusal</c-checkbox
>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox <el-form-item label="" prop="bedgrp.rec.advdocflg">
v-model="clsflgp" <c-checkbox
style="margin-left: 150px" v-model="model.bedgrp.rec.advdocflg"
@change="clsflgpChange" @change="clsflgpChange"
>Receive returned ducuments</c-checkbox >Receive returned ducuments</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="clsflgp" style="margin-left: 150px" disabled <el-form-item label="" prop="mtabut.clsflgp">
>Close Contract</c-checkbox <c-checkbox v-model="clsflgp" disabled
> >Close Contract</c-checkbox
>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox <el-form-item label="" prop="advdisflg">
v-model="advdisflg" <c-checkbox
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px" v-model="advdisflg"
>Send Advice of Discrepancy(MT750)</c-checkbox style=" margin-top: 100px; margin-bottom: 10px"
> >Send Advice of Discrepancy(MT750)</c-checkbox
>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -351,9 +358,7 @@ ...@@ -351,9 +358,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Payer" placeholder="Please select Payer"
disabled disabled
@change="eventFunction( @change="eventFunction('bedgrp.rec.payrol')"
'bedgrp.rec.payrol'
)"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
...@@ -389,9 +394,7 @@ ...@@ -389,9 +394,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please input Presented by" placeholder="Please input Presented by"
disabled disabled
@change="eventFunction( @change="eventFunction('bedgrp.rec.docprbrol')"
'bedgrp.rec.docprbrol'
)"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
...@@ -744,10 +747,9 @@ export default { ...@@ -744,10 +747,9 @@ export default {
// }, // },
clsflgp: { clsflgp: {
get() { get() {
return this.model.bedgrp.rec.advdocflg != ""; return this.model.mtabut.clsflgp == "";
}, },
set(val) { set(val) {
this.model.bedgrp.rec.advdocflg = val ? "X" : "";
this.model.mtabut.clsflgp = val ? "C" : "O"; this.model.mtabut.clsflgp = val ? "C" : "O";
}, },
}, },
...@@ -765,7 +767,7 @@ export default { ...@@ -765,7 +767,7 @@ export default {
clsflgpChange(v) { clsflgpChange(v) {
if (v == "X") { if (v == "X") {
this.model.bedgrp.rec.docsta = "R"; this.model.bedgrp.rec.docsta = "R";
}else{ } else {
this.model.bedgrp.rec.docsta = "E"; this.model.bedgrp.rec.docsta = "E";
} }
}, },
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入Covered" placeholder="请输入Covered"
@change="defaultFunction()"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</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/Lttdav/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">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</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/Lttdav/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="24">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-col :span="4">
<el-form-item
label="关联单据"
v-show="isShow1 || isShow2"
></el-form-item>
<el-form-item
label=""
v-show="!(isShow1 || isShow2)"
></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<c-col :span="6" :offset="1">
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButshw"
style="width: 100px"
>
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButadd"
style="width: 100px"
>
Details
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButnew"
style="width: 100px"
>
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
style="width: 100px"
>
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
icon="el-icon-delete"
@click="onTrndocButdel"
style="width: 100px"
>
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButatt"
style="width: 100px"
>
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
style="width: 100px"
>
i
</c-button>
</c-col>
</c-col>
</c-col>
<!--c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</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/Lttdav/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
data1: [],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event },
handleNodeClick() {},
defaultProps() {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</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/Lttdav/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">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</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/Lttdav/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">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000045 --> :handleCheck="handleCheck"
<el-tab-pane label="davp" name="davp"> :handleStash="handleStash"
<m-davp :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<!--PD000296 --> <el-button size="small">备忘录</el-button>
<el-tab-pane label="Discr./Instr" name="dscinsp"> <el-button size="small">影像信息</el-button>
<m-dscinsp :model="model" :codes="codes"/> <!-- <el-button size="small">保存模板</el-button> -->
</el-tab-pane> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!--PD000027 --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-tab-pane label="Engagement" name="engp"> <el-button size="small">智能提示</el-button>
<m-engp :model="model" :codes="codes"/> </c-function-btn>
</el-tab-pane> <el-form
:model="model"
<!--PD000000 --> :rules="rules"
<el-tab-pane label="Settlement" name="setpan"> ref="modelForm"
<m-setpan :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
size="small"
<!--PD000001 --> :validate-on-rule-change="false"
<el-tab-pane label="GLE Booking" name="glepan"> >
<m-glepan :model="model" :codes="codes"/> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
</el-tab-pane> <!--lttdav PD000045 Advice Received -->
<el-tab-pane label="Advice Received" name="davp">
<!--PD000000 --> <m-davp :model="model" :codes="codes" />
<el-tab-pane label="Completion" name="coninfp"> </el-tab-pane>
<m-coninfp :model="model" :codes="codes"/> <!--bttp PD000282 Advice of Discrepancy -->
</el-tab-pane> <el-tab-pane label="Advice of Discrepancy" name="mt750p" v-if="model.btdgrp.rec.advtyp=='750'">
<m-mt750p :model="model" :codes="codes" />
<!--PD000529 --> </el-tab-pane>
<el-tab-pane label="Message" name="docpan"> <!--bttp PD000296 Discr./Instr. -->
<m-docpan :model="model" :codes="codes"/> <el-tab-pane label="Discr./Instr." name="dscinsp" v-if="model.btdgrp.rec.advtyp=='750'">
</el-tab-pane> <m-dscinsp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 --> <!--bttp PD000268 Advice of Payment -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<m-doctre :model="model" :codes="codes"/> <m-mt754p :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> <!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </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 Lttdav from "~/model/Lttdav" import Lttdav from "~/model/Lttdav";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Lttdav/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Lttdav/Default" import Check from "~/model/Lttdav/Check";
import Pattern from "~/model/Lttdav/Pattern" import Default from "~/model/Lttdav/Default";
import Davp from "./Davp" import Pattern from "~/model/Lttdav/Pattern";
import Dscinsp from "./Dscinsp" import Davp from "./Davp";
import Engp from "./Engp" import Mt750p from "./Mt750p";
import Setpan from "./Setpan" import Dscinsp from "./Dscinsp";
import Glepan from "./Glepan" import Mt754p from "./Mt754p";
import Coninfp from "./Coninfp" import Setpan from "~/views/Public/Setpan";
import Docpan from "./Docpan" import Coninfp from "~/views/Public/Coninfp";
import Doctre from "./Doctre" import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default { export default {
components:{ name: "Lttdav",
"m-davp" : Davp, components: {
"m-dscinsp" : Dscinsp, "m-davp": Davp,
"m-engp" : Engp, "m-mt750p": Mt750p,
"m-setpan" : Setpan, "m-dscinsp": Dscinsp,
"m-glepan" : Glepan, "m-mt754p": Mt754p,
"m-coninfp" : Coninfp, "m-setpan": Setpan,
"m-docpan" : Docpan, "m-coninfp": Coninfp,
"m-doctre" : Doctre, "m-docpan": Docpan,
}, "m-doctre": Doctre,
provide() { },
return { provide() {
root: this return {
} root: this,
}, };
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 },
data(){ mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
return { data() {
tabVal: "", return {
trnName: "lttdav", tabVal: "davp",
model: new Lttdav().data, trnName: "lttdav",
checkRules: Check, trnType: "",
defaultRules: Default, model: new Lttdav().data,
pattern: Pattern, checkRules: Check,
rules: null, defaultRules: Default,
codes: { pattern: Pattern,
}, rules: null,
} codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
tabClick(){ created: async function () {
} console.log("进入lttdav交易");
}, let rtnmsg = await this.init({});
created:async function(){ if (rtnmsg.respCode == SUCCESS) {
console.log("进入lttdav交易"); this.updateModel(rtnmsg.data);
let rtnmsg = await this.init({}) if (this.isInDisplay) {
if(rtnmsg.respCode == SUCCESS) this.restoreDisplay();
{ }
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
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