Commit 4b878b2a by 孟冬雪

zxk

parent 1fa9d433
...@@ -6,22 +6,27 @@ import Utils from "~/utils" ...@@ -6,22 +6,27 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null, "lttp.a2tp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.a2t.adrelc" :null, "ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null, "ltdgrp.avt.namelc" :null,
"ltdgrp.rec.stacty" :null, "ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null, "ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null, "lttp.usr.extkey" :null,
"ltdgrp.rec.opndat" :null, "ltdgrp.rec.opndat" :null,
"ltdgrp.be2.pts.extkey" :null, "ltdgrp.be2.pts.extkey" :null,
"lttamep.spcbenamep.usrblk" :null,
"ltdgrp.be2.namelc" :null, "ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null, "ltdgrp.rmt.adrelc" :null,
"trnmod.swiadd.amenbr" :null, "trnmod.swiadd.amenbr" :null,
"ltdgrp.rmt.pts.extkey" :null, "ltdgrp.rmt.pts.extkey" :null,
"lttamep.adlcndamep.usrblk" :null,
"ltdgrp.blk.dftat" :null, "ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null, "lttp.letp0.recget.sdamod.dadsnd" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null, "lttp.drwp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.adlcnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null, "lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null, "ltdgrp.be1.pts.nam" :null,
"trnmod.swiadd.newshpdat" :null, "trnmod.swiadd.newshpdat" :null,
"ltdgrp.blk.spcben" :null,
"trnmod.swiadd.newexpdat" :null, "trnmod.swiadd.newexpdat" :null,
"ltdgrp.avt.pts.adrblk" :null, "ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.a2t.pts.adrblk" :null, "ltdgrp.a2t.pts.adrblk" :null,
...@@ -30,9 +35,11 @@ let checkObj = { ...@@ -30,9 +35,11 @@ let checkObj = {
"ltdgrp.drw.adrelc" :null, "ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null, "ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null, "lttp.ledget.sdamod.dadsnd" :null,
"lttamep.spcrcbamep.usrblk" :null,
"ltdgrp.con.pts.extkey" :null, "ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null, "ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null, "ltdgrp.adt.adrelc" :null,
"lttamep.lcrdocamep.usrblk" :null,
"ltdgrp.avt.adrelc" :null, "ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null, "ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null, "lttp.conp.ptsget.sdamod.dadsnd" :null,
...@@ -41,6 +48,7 @@ let checkObj = { ...@@ -41,6 +48,7 @@ let checkObj = {
"lttp.be1p.ptsget.sdamod.dadsnd" :null, "lttp.be1p.ptsget.sdamod.dadsnd" :null,
"lttamep.recget.sdamod.dadsnd" :null, "lttamep.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.avbwth" :null, "ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.spcrcb" :null,
"ltdgrp.blk.feetxt" :null, "ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null, "ltdgrp.rec.avbby" :null,
"trnmod.swiadd.addamt" :null, "trnmod.swiadd.addamt" :null,
...@@ -53,12 +61,14 @@ let checkObj = { ...@@ -53,12 +61,14 @@ let checkObj = {
"trnmod.swiadd.newnomtop" :null, "trnmod.swiadd.newnomtop" :null,
"ltdgrp.rec.prepers18" :null, "ltdgrp.rec.prepers18" :null,
"trnmod.swiadd.newnomton" :null, "trnmod.swiadd.newnomton" :null,
"ltdgrp.blk.lcrgod" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null, "lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null, "ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null, "ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null, "ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null, "ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null, "lttp.recget.sdamod.dadsnd" :null,
"lttamep.lcrgodamep.usrblk" :null,
"ltdgrp.adt.namelc" :null, "ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null, "ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null, "ltdgrp.rec.lcrtyp" :null,
......
...@@ -40,10 +40,19 @@ export default { ...@@ -40,10 +40,19 @@ export default {
"ltdgrp.con.adrelc" :Utils.defaultFunction, "ltdgrp.con.adrelc" :Utils.defaultFunction,
"ltdgrp.con.namelc" :Utils.defaultFunction, "ltdgrp.con.namelc" :Utils.defaultFunction,
"ltdgrp.con.dbfadrblkcn" :Utils.defaultFunction, "ltdgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lttamep.lcrdocamep.modflg" :Utils.defaultFunction,
"lttamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"ltdgrp.blk.lcrdoc" :Utils.defaultFunction,
"ltdgrp.a2t.pts.adrblk" :Utils.defaultFunction, "ltdgrp.a2t.pts.adrblk" :Utils.defaultFunction,
"lttamep.lcrgodamep.modflg" :Utils.defaultFunction,
"lttamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
"ltdgrp.blk.lcrgod" :Utils.defaultFunction,
"oldltdgrp.rec.expdat" :Utils.defaultFunction, "oldltdgrp.rec.expdat" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction, "trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction, "ledgrp.iss.pts.nam" :Utils.defaultFunction,
"lttamep.adlcndamep.modflg" :Utils.defaultFunction,
"lttamep.adlcndamep.modmanflg" :Utils.defaultFunction,
"ltdgrp.blk.adlcnd" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction, "ltdgrp.rec.avbby" :Utils.defaultFunction,
"ltdgrp.drw.pts.extkey" :Utils.defaultFunction, "ltdgrp.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction, "ltdgrp.drw.adrelc" :Utils.defaultFunction,
...@@ -51,6 +60,7 @@ export default { ...@@ -51,6 +60,7 @@ export default {
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction, "ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction, "ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction, "ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.spcrcb" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction, "ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction, "ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction, "ltdgrp.be2.namelc" :Utils.defaultFunction,
...@@ -58,8 +68,12 @@ export default { ...@@ -58,8 +68,12 @@ export default {
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction, "ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction, "ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction, "ltdgrp.blk.preperflg" :Utils.defaultFunction,
"lttamep.lcrgodamep.usrblk" :Utils.defaultFunction,
"lttamep.adlcndamep.usrblk" :Utils.defaultFunction,
"ltdgrp.cbs.max2.cur" :Utils.defaultFunction, "ltdgrp.cbs.max2.cur" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction, "ltdgrp.rec.opndat" :Utils.defaultFunction,
"lttamep.spcrcbamep.modflg" :Utils.defaultFunction,
"lttamep.spcrcbamep.modmanflg" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction, "trnmod.swiadd.addamt" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction, "ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction, "ltdgrp.rec.expdat" :Utils.defaultFunction,
...@@ -67,12 +81,15 @@ export default { ...@@ -67,12 +81,15 @@ export default {
"trnmod.swiadd.prepers18" :Utils.defaultFunction, "trnmod.swiadd.prepers18" :Utils.defaultFunction,
"oldltdgrp.rec.prepers18" :Utils.defaultFunction, "oldltdgrp.rec.prepers18" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction, "ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"lttamep.lcrdocamep.usrblk" :Utils.defaultFunction,
"trnmod.swiadd.newnomtop" :Utils.defaultFunction, "trnmod.swiadd.newnomtop" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction, "trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction, "trnmod.swiadd.newcur" :Utils.defaultFunction,
"lttp.leltb2b.litb2bstm" :Utils.defaultFunction, "lttp.leltb2b.litb2bstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction, "ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction, "ledgrp.apl.pts.nam" :Utils.defaultFunction,
"lttamep.spcrcbamep.usrblk" :Utils.defaultFunction,
"lttamep.spcbenamep.usrblk" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction, "ltdgrp.rec.apprul" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction, "ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnmod.swiadd.purpos" :Utils.defaultFunction, "trnmod.swiadd.purpos" :Utils.defaultFunction,
...@@ -80,6 +97,8 @@ export default { ...@@ -80,6 +97,8 @@ export default {
"oldltdgrp.cbs.max.amt" :Utils.defaultFunction, "oldltdgrp.cbs.max.amt" :Utils.defaultFunction,
"lttamep.maxamt" :Utils.defaultFunction, "lttamep.maxamt" :Utils.defaultFunction,
"trnmod.swiadd.newnomton" :Utils.defaultFunction, "trnmod.swiadd.newnomton" :Utils.defaultFunction,
"lttamep.spcbenamep.modflg" :Utils.defaultFunction,
"lttamep.spcbenamep.modmanflg" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction, "trnmod.swiadd.addamtcov" :Utils.defaultFunction,
"ltdgrp.cbs.max2.amt" :Utils.defaultFunction, "ltdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.blk.addamtcov" :Utils.defaultFunction, "ltdgrp.blk.addamtcov" :Utils.defaultFunction,
...@@ -89,6 +108,7 @@ export default { ...@@ -89,6 +108,7 @@ export default {
"ltdgrp.rec.spcbenflg" :Utils.defaultFunction, "ltdgrp.rec.spcbenflg" :Utils.defaultFunction,
"trnmod.swiadd.amedat" :Utils.defaultFunction, "trnmod.swiadd.amedat" :Utils.defaultFunction,
"ltdgrp.blk.adlcndame" :Utils.defaultFunction, "ltdgrp.blk.adlcndame" :Utils.defaultFunction,
"ltdgrp.blk.spcben" :Utils.defaultFunction,
"ltdgrp.blk.lcrdocame" :Utils.defaultFunction, "ltdgrp.blk.lcrdocame" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction, "ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction, "ltdgrp.rec.shppar" :Utils.defaultFunction,
......
...@@ -115,5 +115,155 @@ export default { ...@@ -115,5 +115,155 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrgodamepButdif() {
let rtnmsg = await this.executeRule("lcrgodamep.butdif")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodamepButadd() {
let rtnmsg = await this.executeRule("lcrgodamep.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodamepButdel() {
let rtnmsg = await this.executeRule("lcrgodamep.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocamepButdif() {
let rtnmsg = await this.executeRule("lcrdocamep.butdif")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocamepButadd() {
let rtnmsg = await this.executeRule("lcrdocamep.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocamepButdel() {
let rtnmsg = await this.executeRule("lcrdocamep.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndamepButdif() {
let rtnmsg = await this.executeRule("adlcndamep.butdif")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndamepButadd() {
let rtnmsg = await this.executeRule("adlcndamep.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndamepButdel() {
let rtnmsg = await this.executeRule("adlcndamep.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenamepButdif() {
let rtnmsg = await this.executeRule("spcbenamep.butdif")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenamepButadd() {
let rtnmsg = await this.executeRule("spcbenamep.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenamepButdel() {
let rtnmsg = await this.executeRule("spcbenamep.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbamepButdif() {
let rtnmsg = await this.executeRule("spcrcbamep.butdif")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbamepButadd() {
let rtnmsg = await this.executeRule("spcrcbamep.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbamepButdel() {
let rtnmsg = await this.executeRule("spcrcbamep.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
} }
\ No newline at end of file
...@@ -559,14 +559,53 @@ export default { ...@@ -559,14 +559,53 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"ltdgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lttamep.lcrgodamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.blk.lcrdocame":[ "ltdgrp.blk.lcrdocame":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"ltdgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lttamep.lcrdocamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.blk.adlcndame":[ "ltdgrp.blk.adlcndame":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"ltdgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lttamep.adlcndamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
...@@ -664,4 +703,38 @@ export default { ...@@ -664,4 +703,38 @@ export default {
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"ltdgrp.blk.spcbename":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ltdgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lttamep.spcbenamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.blk.spcrcbame":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ltdgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lttamep.spcrcbamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
} }
\ No newline at end of file
...@@ -229,9 +229,16 @@ export default class Lttame{ ...@@ -229,9 +229,16 @@ export default class Lttame{
preper:"", // Presentation Period .ltdgrp.blk.preper preper:"", // Presentation Period .ltdgrp.blk.preper
preperflg:"", // Presentation Period modified .ltdgrp.blk.preperflg preperflg:"", // Presentation Period modified .ltdgrp.blk.preperflg
feetxt:"", // Additional Details to Code for Charges CHATO .ltdgrp.blk.feetxt feetxt:"", // Additional Details to Code for Charges CHATO .ltdgrp.blk.feetxt
lcrgod:"", // Description of Goods .ltdgrp.blk.lcrgod
lcrgodame:"", // Description of Goods Amendment .ltdgrp.blk.lcrgodame lcrgodame:"", // Description of Goods Amendment .ltdgrp.blk.lcrgodame
lcrdoc:"", // Documents Required .ltdgrp.blk.lcrdoc
lcrdocame:"", // Documents Required Amendment .ltdgrp.blk.lcrdocame lcrdocame:"", // Documents Required Amendment .ltdgrp.blk.lcrdocame
adlcnd:"", // Additional Conditions .ltdgrp.blk.adlcnd
adlcndame:"", // Additional Conditions Amendment .ltdgrp.blk.adlcndame adlcndame:"", // Additional Conditions Amendment .ltdgrp.blk.adlcndame
spcben:"", // Special Payment Conditions for Beneficiary .ltdgrp.blk.spcben
spcbename:"", // Special payment Conditions for beneficiary History .ltdgrp.blk.spcbename
spcrcb:"", // Special Payment Conditions for Bank Only .ltdgrp.blk.spcrcb
spcrcbame:"", // Special Payment Conditions for Bank Only History .ltdgrp.blk.spcrcbame
}, },
a2t:{ a2t:{
pts:new Pts().data, pts:new Pts().data,
...@@ -276,6 +283,31 @@ export default class Lttame{ ...@@ -276,6 +283,31 @@ export default class Lttame{
maxamt:"", // New Maximum Amount .lttamep.maxamt maxamt:"", // New Maximum Amount .lttamep.maxamt
ramrol:"", // Send Request to .lttamep.ramrol ramrol:"", // Send Request to .lttamep.ramrol
benconflg:"", // Beneficiary's Confirmation Required .lttamep.benconflg benconflg:"", // Beneficiary's Confirmation Required .lttamep.benconflg
lcrgodamep:{
modflg:"", // Modify Text to Replace .lttamep.lcrgodamep.modflg
modmanflg:"", // Modify field for manual update .lttamep.lcrgodamep.modmanflg
usrblk:"", // Block to enter additional info for Add/Delete .lttamep.lcrgodamep.usrblk
},
lcrdocamep:{
modflg:"", // Modify Text to Replace .lttamep.lcrdocamep.modflg
modmanflg:"", // Modify field for manual update .lttamep.lcrdocamep.modmanflg
usrblk:"", // Block to enter additional info for Add/Delete .lttamep.lcrdocamep.usrblk
},
adlcndamep:{
usrblk:"", // Block to enter additional info for Add/Delete .lttamep.adlcndamep.usrblk
modflg:"", // Modify Text to Replace .lttamep.adlcndamep.modflg
modmanflg:"", // Modify field for manual update .lttamep.adlcndamep.modmanflg
},
spcbenamep:{
modflg:"", // Modify Text to Replace .lttamep.spcbenamep.modflg
modmanflg:"", // Modify field for manual update .lttamep.spcbenamep.modmanflg
usrblk:"", // Block to enter additional info for Add/Delete .lttamep.spcbenamep.usrblk
},
spcrcbamep:{
usrblk:"", // Block to enter additional info for Add/Delete .lttamep.spcrcbamep.usrblk
modflg:"", // Modify Text to Replace .lttamep.spcrcbamep.modflg
modmanflg:"", // Modify field for manual update .lttamep.spcrcbamep.modmanflg
},
}, },
trnmod:{ trnmod:{
swiadd:{ swiadd:{
......
...@@ -2,17 +2,18 @@ import Api from "~/service/Api" ...@@ -2,17 +2,18 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onCanletButtxmsel(){ onSeainf() {
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} },
else async onCanletButtxmsel() {
{ let rtnmsg = await this.executeRule("canlet.buttxmsel")
this.$notify.error({title: '错误',message: '服务请求失败!'}); if (rtnmsg.respCode == SUCCESS) {
} //TODO 处理数据逻辑
},
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
} }
\ No newline at end of file
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Available with" placeholder="请选择Available with"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
v-model="model.ltdgrp.cbs.max2.cur" v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -32,7 +31,6 @@ ...@@ -32,7 +31,6 @@
v-model="model.ltdgrp.cbs.opn2.cur" v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-model="model.ltdgrp.rec.avbwth" v-model="model.ltdgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择Available with" placeholder="请选择Available with"
:code="codes.avbwth"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -20,12 +21,12 @@ ...@@ -20,12 +21,12 @@
:argadr="{ :argadr="{
title: '指定银行', title: '指定银行',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'avb', rol: 'avt',
}" }"
:noRef="true" :noRef="true"
:onlySearch="true" :onlySearch="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAvbpDet" @onAplpDet="onAvtpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -274,7 +275,7 @@ import Api from "~/service/Api"; ...@@ -274,7 +275,7 @@ 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 Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event"; import Event from "~/model/Lttame/Event";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -286,14 +287,7 @@ export default { ...@@ -286,14 +287,7 @@ export default {
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
watch: { watch: {},
"model.ltdgrp.avb.pts.adrblk": {
handler(val, oldVal) {
this.model.ltdgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
}; };
</script> </script>
<style> <style>
......
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -130,7 +129,6 @@ ...@@ -130,7 +129,6 @@
v-model="model.ltdgrp.cbs.max.cur" v-model="model.ltdgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
...@@ -51,23 +51,77 @@ ...@@ -51,23 +51,77 @@
<!--PD000328 --> <!--PD000328 -->
<el-tab-pane label="dogpame" name="dogpame"> <el-tab-pane label="dogpame" name="dogpame">
<m-dogpame :model="model" :codes="codes" /> <!-- <m-dogpame :model="model" :codes="codes" /> -->
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'lcrgod'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000324 --> <!--PD000324 -->
<el-tab-pane label="dorpame" name="dorpame"> <el-tab-pane label="dorpame" name="dorpame">
<m-dorpame :model="model" :codes="codes" /> <c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'lcrdoc'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000332 --> <!--PD000332 -->
<el-tab-pane label="adcpame" name="adcpame"> <el-tab-pane label="adcpame" name="adcpame">
<m-adcpame :model="model" :codes="codes" /> <c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'adlcnd'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000169 --> <!--PD000169 -->
<el-tab-pane label="lttinf" name="lttinf"> <el-tab-pane label="lttinf" name="lttinf">
<m-lttinf :model="model" :codes="codes" /> <m-lttinf :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000400 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcrcbflg"
label="Spc.Pay Conditions for Ban"
name="sprpame"
>
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'spcrcb'"
/>
</c-content>
</el-tab-pane>
<!--PD000396 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcbenflg"
label="Spc.Pay Conditions for Ben"
name="spbpame"
>
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'spcben'"
/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -90,6 +144,7 @@ import Dogpame from "./Dogpame"; ...@@ -90,6 +144,7 @@ import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame"; import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame"; import Adcpame from "./Adcpame";
import Lttinf from "./Lttinf"; import Lttinf from "./Lttinf";
import Doxpame from "~/views/Public/Doxpame";
export default { export default {
name: "Lttame", name: "Lttame",
...@@ -103,6 +158,7 @@ export default { ...@@ -103,6 +158,7 @@ export default {
"m-dorpame": Dorpame, "m-dorpame": Dorpame,
"m-adcpame": Adcpame, "m-adcpame": Adcpame,
"m-lttinf": Lttinf, "m-lttinf": Lttinf,
"m-doxpame": Doxpame,
}, },
provide() { provide() {
return { return {
...@@ -123,14 +179,17 @@ export default { ...@@ -123,14 +179,17 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, tabClick() {},
}, },
created: async function () { created: async function () {
console.log("进入lttame交易"); console.log("进入lttame交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -71,7 +71,6 @@ ...@@ -71,7 +71,6 @@
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
...@@ -72,19 +72,13 @@ ...@@ -72,19 +72,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="票面金额" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="ltdgrp.cbs.nom1.cur">
<c-select <c-select
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange" :code="codes.cur"
> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -129,13 +123,8 @@ ...@@ -129,13 +123,8 @@
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange" @change="onNom1CurChange"
:code="codes.cur"
> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -214,16 +203,14 @@ ...@@ -214,16 +203,14 @@
v-model="model.ltdgrp.rec.apprul" v-model="model.ltdgrp.rec.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择适用规则" placeholder="请选择适用规则"
:code="codes.apprul"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="其他适用规则" prop="ltdgrp.rec.apprultxt">
label="其他适用规则"
prop="ltdgrp.rec.apprultxt"
>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ltdgrp.rec.apprultxt" v-model="model.ltdgrp.rec.apprultxt"
...@@ -239,6 +226,7 @@ ...@@ -239,6 +226,7 @@
v-model="model.ltdgrp.rec.cnfins" v-model="model.ltdgrp.rec.cnfins"
style="width: 100%" style="width: 100%"
placeholder="请选择Confirmation Instruct." placeholder="请选择Confirmation Instruct."
:code="codes.cnfins"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -260,19 +248,19 @@ ...@@ -260,19 +248,19 @@
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '通知行', title: '通知行',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'adt', rol: 'adt',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAdtpDet" @onAplpDet="onAdtpDet"
> >
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -287,19 +275,21 @@ ...@@ -287,19 +275,21 @@
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.ltdgrp.rec.rmbflg" class="centerLable marginLable" <c-checkbox
v-model="model.ltdgrp.rec.rmbflg"
class="centerLable marginLable"
>偿付信息</c-checkbox >偿付信息</c-checkbox
> >
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="lttp.ledget.sdamod.dadsnd"> <el-form-item label="Drag Drop Sender" prop="lttp.ledget.sdamod.dadsnd">
<c-input v-model="model.lttp.ledget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-input v-model="model.lttp.ledget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="lttp.recget.sdamod.dadsnd"> <el-form-item label="Drag Drop Sender" prop="lttp.recget.sdamod.dadsnd">
<c-input v-model="model.lttp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-input v-model="model.lttp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> </el-form-item>
...@@ -311,7 +301,7 @@ ...@@ -311,7 +301,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="" prop="lttp.recget.sdamod.seainf"> <el-form-item label="" prop="lttp.recget.sdamod.seainf">
<c-input v-model="model.lttp.recget.sdamod.seainf" placeholder="请输入"></c-input> <c-input v-model="model.lttp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
...@@ -324,7 +314,7 @@ ...@@ -324,7 +314,7 @@
<c-input v-model="model.ltdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input v-model="model.ltdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="8"> <!-- <c-col :span="8">
<el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select <c-select
disabled disabled
...@@ -356,12 +346,12 @@ ...@@ -356,12 +346,12 @@
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Amount Tolerance - Negative" prop="ltdgrp.rec.nomton"> <el-form-item label="Amount Tolerance - Negative" prop="ltdgrp.rec.nomton">
<c-input v-model="model.ltdgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input> <c-input v-model="model.ltdgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Maximum Amount" prop="ltdgrp.cbs.max.amt"> <el-form-item label="Maximum Amount" prop="ltdgrp.cbs.max.amt">
<c-input <c-input
v-model="model.ltdgrp.cbs.max.amt" v-model="model.ltdgrp.cbs.max.amt"
...@@ -369,7 +359,7 @@ ...@@ -369,7 +359,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="1st Beneficiary Ref." prop="ltdgrp.be1.pts.ref"> <el-form-item label="1st Beneficiary Ref." prop="ltdgrp.be1.pts.ref">
<c-input v-model="model.ltdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary Ref."></c-input> <c-input v-model="model.ltdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary Ref."></c-input>
</el-form-item> </el-form-item>
...@@ -420,7 +410,7 @@ ...@@ -420,7 +410,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="Advising Bank Ref." prop="ltdgrp.adt.pts.ref"> <el-form-item label="Advising Bank Ref." prop="ltdgrp.adt.pts.ref">
<c-input <c-input
v-model="model.ltdgrp.adt.pts.ref" v-model="model.ltdgrp.adt.pts.ref"
...@@ -556,7 +546,7 @@ ...@@ -556,7 +546,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select v-model="model.ltdgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount Cur"> <c-select v-model="model.ltdgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount Cur">
</c-select> </c-select>
...@@ -682,7 +672,7 @@ export default { ...@@ -682,7 +672,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event, onNom1CurChange() {} },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="货物说明" name="dogp"> <el-tab-pane label="货物说明" name="dogp">
<!-- <m-dogp :model="model" :codes="codes" /> --> <!-- <m-dogp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" /> <m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'ltd'" />
</el-tab-pane> </el-tab-pane>
<!--PD000394 --> <!--PD000394 -->
<el-tab-pane <el-tab-pane
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
label="收款银行特殊付款条款" label="收款银行特殊付款条款"
name="spcrcvp" name="spcrcvp"
> >
<m-spcrcvp :model="model" :codes="codes" /> <m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000065 --> <!--PD000065 -->
<el-tab-pane label="Rbip" name="rbip"> <el-tab-pane label="Rbip" name="rbip">
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<!--PD000073 --> <!--PD000073 -->
<el-tab-pane label="附加条款" name="adcp"> <el-tab-pane label="附加条款" name="adcp">
<!-- <m-adcp :model="model" :codes="codes" /> --> <!-- <m-adcp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" /> <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'ltd'"/>
</el-tab-pane> </el-tab-pane>
<!--PD000169 --> <!--PD000169 -->
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="单据要求" name="dorp"> <el-tab-pane label="单据要求" name="dorp">
<!-- <m-dorp :model="model" :codes="codes" /> --> <!-- <m-dorp :model="model" :codes="codes" /> -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" /> <m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'ltd'" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
......
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