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
docsta:"", // Document Set Status .btdgrp.rec.docsta totcur: "", // Total Amount Claimed .btdgrp.rec.totcur
totamt: "", // Total Amount to be Paid .btdgrp.rec.totamt
docsta: "", // Document Set Status .btdgrp.rec.docsta
totdat: "", // Date to be Paid .btdgrp.rec.totdat
}, },
prb:{ prb: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc namelc: "", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc adrelc: "", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
}, },
prp:{ be1: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
}, },
be1:{ be2: {
pts:new Pts().data, pts: new Pts().data,
}, },
be2:{ cbs: {
pts:new Pts().data, max: {
cur: "", // Document Amount .btdgrp.cbs.max.cur
amt: "", // Balance .btdgrp.cbs.max.amt
}, },
blk:{ opn2: {
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
}, },
max2: {
amt: "", // 附加金额 .btdgrp.cbs.max2.amt
}, },
bttp:{
recget:{
sdamod:{
seainf:"", // .bttp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
}, },
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
}, },
setnowflg:"", // setttle now .bttp.setnowflg acb: {
prbp:{ pts: new Pts().data,
ptsget:{ namelc: "", // 名称 .btdgrp.acb.namelc
sdamod:{ adrelc: "", // 地址 .btdgrp.acb.adrelc
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf dbfadrblkcn: "", // Chinese address .btdgrp.acb.dbfadrblkcn
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
}, },
rmt: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.rmt.namelc
adrelc: "", // 地址 .btdgrp.rmt.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.rmt.dbfadrblkcn
}, },
}, },
ledget:{ bttp: {
sdamod:{ recget: {
seainf:"", // .bttp.ledget.sdamod.seainf sdamod: {
seainf: "", // .bttp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
}, },
}, },
ltdget:{ setnowflg: "", // setttle now .bttp.setnowflg
sdamod:{ prbp: {
seainf:"", // .bttp.ltdget.sdamod.seainf ptsget: {
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd sdamod: {
seainf: "", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
}, },
}, },
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
}, },
docgrdmbe1:{ ledget: {
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab sdamod: {
docgrd:[], // .bttp.docgrdmbe1.docgrd seainf: "", // .bttp.ledget.sdamod.seainf
}, },
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
docgrd:[], // .bttp.docgrdmbe2.docgrd
}, },
futhndflg:"", // further handling .bttp.futhndflg ltdget: {
sdamod: {
seainf: "", // .bttp.ltdget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
}, },
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
}, },
aammod: {
addamtflg: "", // Add. Amount .bttp.aammod.addamtflg
}, },
ltdgrp:{ acbp: {
rec:{ ptsget: {
ownref:"", // Transfer Reference .ltdgrp.rec.ownref sdamod: {
nam:"", // Name .ltdgrp.rec.nam seainf: "", // .bttp.acbp.ptsget.sdamod.seainf
avbby:"", // Available by .ltdgrp.rec.avbby dadsnd: "", // Drag Drop Sender .bttp.acbp.ptsget.sdamod.dadsnd
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
}, },
cbs:{
nom1:{
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
}, },
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
}, },
docgrdmbe1: {
docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
}, },
avbnam:"", // Available with .ltdgrp.avbnam docgrdmbe2: {
docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
}, },
setmod: new Pub().data.Setmod, futhndflg: "", // further handling .bttp.futhndflg
mtabut: new Pub().data.Mtabut, rmtp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.rmtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.rmtp.ptsget.sdamod.dadsnd
},
},
},
},
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
},
},
ltdgrp: {
rec: {
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
},
cbs: {
nom1: {
cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
amt: "", // Balance .ltdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
amt: "", // Balance .ltdgrp.cbs.opn1.amt
},
},
avbnam: "", // Available with .ltdgrp.avbnam
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
pageId: "" // ctx的key 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">
<c-checkbox v-model="rejpenins"
>Rejection Pending Instructions</c-checkbox >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">
<c-checkbox v-model="advrefflg"
>Receive advice of refusal</c-checkbox >Receive advice of refusal</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bedgrp.rec.advdocflg">
<c-checkbox <c-checkbox
v-model="clsflgp" v-model="model.bedgrp.rec.advdocflg"
style="margin-left: 150px"
@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">
<c-checkbox v-model="clsflgp" disabled
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="advdisflg">
<c-checkbox <c-checkbox
v-model="advdisflg" v-model="advdisflg"
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px" style=" margin-top: 100px; margin-bottom: 10px"
>Send Advice of Discrepancy(MT750)</c-checkbox >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> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left -->
<c-col :span="12"> <c-col :span="11">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> <c-col :span="24">
<el-form-item
label="Discrepancies"
prop="btdgrp.blk.docdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!docdisflg"
@click="
showGridPromptDialog(
'bttp.docdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel"> <el-form-item
label="Internal Discrepancies"
prop="btdgrp.blk.intdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="Please input Internal Discrepancies"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.intdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel"> <el-form-item
label="Comments and Conclusions"
prop="btdgrp.blk.comcon"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="Please input Comments and Conclusions"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.comcon.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel"> <el-form-item
label="Settlement Instructions for this Document Set"
prop="btdgrp.blk.setinsbt"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.btdgrp.blk.setinsbt"
maxlength="65"
show-word-limit
placeholder="Please input Settlement Instructions for this Document Set"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'bttp.setins.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.setinsbe' },
{ TXT: false },
'doxpDialog'
)
"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="12">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe1.docdsclab" data-path=".bttp.docgrdmbe1.docdsclab" > </span>
</c-col> </c-col>
<c-col :span="12"> <!-- right -->
<el-form-item label="further handling" prop="bttp.futhndflg"> <c-col :span="11" :offset="1">
<c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling"> <c-col :span="4">
</c-select> <el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <el-form-item
<el-table label="Further Handing"
:data="model.bttp.docgrdmbe1.docgrd" prop="bttp.futhndflg"
style="width: 100%" style="width: 100%"
> >
</el-table> <c-select
<el-pagination v-model="model.bttp.futhndflg"
layout="prev, pager, next" style="width: 100%"
:total="pager.bttp_docgrdmbe1_docgrd.total"> placeholder="Please select Further Handing"
</el-pagination> disabled
</div> :code="code.futhndflg"
</c-col> >
</c-select>
<c-col :span="12">
<span v-text="model.bttp.docgrdmbe2.docdsclab" data-path=".bttp.docgrdmbe2.docdsclab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <el-form-item
<el-table label="Document Set Status"
:data="model.bttp.docgrdmbe2.docgrd" prop="btdgrp.rec.docsta"
style="width: 100%" style="width: 100%"
> >
</el-table> <c-select
<el-pagination v-model="model.btdgrp.rec.docsta"
layout="prev, pager, next" style="width: 100%"
:total="pager.bttp_docgrdmbe2_docgrd.total"> placeholder="Please select Document Set Status"
</el-pagination> disabled
</div> >
<el-option
v-for="item in codes.docsta2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- next part -->
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</div> </div>
</template> </template>
<script> <script>
......
<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> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-row> <c-col :span="12">
<c-col :span="6"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select disabled v-model="model.btdgrp.cbs.max.cur" <c-input
style="width: 100%" v-model="model.btdgrp.cbs.max.cur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Document Amount"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="12">
<el-form-item <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
style="text-align: left" <c-input
label-width="20px"
prop="btdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.btdgrp.cbs.max.amt" v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Document Amount" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </c-col>
<el-row> <c-col :span="24">
<c-col :span="6"> <c-col :span="12">
<el-form-item label="Claim Add Amt" prop="btdgrp.cbs.max2.cur"> <el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur">
<c-select disabled v-model="model.btdgrp.cbs.max2.cur" <c-input
style="width: 100%" v-model="model.btdgrp.cbs.opn2.cur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Drawn Add. Amount"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="5"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
<el-form-item <c-input
style="text-align: left"
label-width="20px"
prop="btdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.btdgrp.cbs.max2.amt" v-model="model.btdgrp.cbs.max2.amt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Additional Amount" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </c-col>
<el-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded"> <el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaded" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input> <c-input
type="textarea"
v-model="model.btdgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="Please input Charges Deducted"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="24">
<el-row>
<c-col :span="12">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd"> <el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input type="textarea" style="overflow-y:hidden" v-model="model.btdgrp.blk.chaadd" maxlength="190" rows="6" cols="35" show-word-limit placeholder="请输入Charges Added" ></c-input> <c-input
type="textarea"
v-model="model.btdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="Please input Charges Added"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="24">
<el-row> <c-col :span="12">
<c-col :span="6">
<el-form-item label="Amount to be paid" prop="btdgrp.rec.totcur"> <el-form-item label="Amount to be paid" prop="btdgrp.rec.totcur">
<c-select disabled v-model="model.btdgrp.rec.totcur" <c-input
style="width: 100%" v-model="model.btdgrp.rec.totcur"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"--> maxlength="3"
<el-option v-for="item in codes.cur" placeholder="Please input Amount to be paid"
:key="item.value" disabled
:label="item.label" ></c-input>
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="12">
<el-form-item label="" style="text-align: left" <el-form-item label="" label-width="5px" prop="btdgrp.rec.totamt">
label-width="20px" prop="btdgrp.rec.totamt"> <c-input
<c-input-currency
v-model="model.btdgrp.rec.totamt" v-model="model.btdgrp.rec.totamt"
style="text-align: left; width: 100%" placeholder="Please input Balance"
placeholder="Amount to be paid" ></c-input>
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row>
<el-row>
<c-col :span="8" >
<el-form-item label="Account with Bank">
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="7" > <c-col :span="24">
<el-form-item label="" label-width="15px"> <c-ptap
<c-button size="small" type="primary" @click="onSndpDet" disabled> :model="model"
Details :argadr="{
</c-button> title: '',
</el-form-item> grp: 'btdgrp',
rol: 'acb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<el-form-item label="">
<c-input <c-input
type="textarea" type="textarea"
placeholder="" v-model="model.btdgrp.blk.docdis"
maxlength="140" maxlength="3500"
show-word-limit show-word-limit
rows="4" placeholder="请输入Discrepancies"
disable :rows="5"
style="width: 90%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> <c-col :span="18" :offset="6">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
<el-row> >Discrepancies modified</c-checkbox
<c-col :span="12"> >
<c-col > <!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" style="overflow-y:hidden" rows="7" cols="50" v-model="model.btdgrp.blk.docdis" maxlength="3500" placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" offset="8">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
</el-row>
</div> </div>
</template> </template>
<script> <script>
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 "~/model/Bttdck/Event" import Event from "~/model/Lttdav/Event";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: { "c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</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-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<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">
<!--lttdav PD000045 Advice Received -->
<el-tab-pane label="Advice Received" name="davp">
<m-davp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--bttp PD000282 Advice of Discrepancy -->
<!--PD000296 --> <el-tab-pane label="Advice of Discrepancy" name="mt750p" v-if="model.btdgrp.rec.advtyp=='750'">
<el-tab-pane label="Discr./Instr" name="dscinsp"> <m-mt750p :model="model" :codes="codes" />
<m-dscinsp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<!--PD000027 --> <el-tab-pane label="Discr./Instr." name="dscinsp" v-if="model.btdgrp.rec.advtyp=='750'">
<el-tab-pane label="Engagement" name="engp"> <m-dscinsp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--bttp PD000268 Advice of Payment -->
<!--PD000000 --> <el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<el-tab-pane label="Settlement" name="setpan"> <m-mt754p :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement -->
<!--PD000001 --> <el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="GLE Booking" name="glepan"> <m-setpan :model="model" :codes="codes" />
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion -->
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages -->
<!--PD000529 --> <el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="Message" name="docpan"> <m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments -->
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </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() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "davp",
trnName: "lttdav", trnName: "lttdav",
trnType: "",
model: new Lttdav().data, model: new Lttdav().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
tabClick(){ myTabClick(tab) {
} this.tabClick(tab);
/**
* do it yourself
**/
}, },
created:async function(){ },
created: async function () {
console.log("进入lttdav交易"); console.log("进入lttdav交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 if (this.isInDisplay) {
this.restoreDisplay();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
//TODO 处理数据逻辑
} 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