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,16 +2,17 @@ import Api from "~/service/Api" ...@@ -2,16 +2,17 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onCanletButtxmsel(){ onSeainf() {
},
async onCanletButtxmsel() {
let rtnmsg = await this.executeRule("canlet.buttxmsel") let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -2,184 +2,157 @@ import Api from "~/service/Api" ...@@ -2,184 +2,157 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onLttpButgetref(){ async onLttpButgetref() {
let rtnmsg = await this.executeRule("lttp.butgetref") let rtnmsg = await this.executeRule("lttp.butgetref")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBe1pDet(){ async onBe1pDet() {
let rtnmsg = await this.executeRule("be1p.det") let rtnmsg = await this.executeRule("be1p.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAdtpDet(){ async onAdtpDet() {
let rtnmsg = await this.executeRule("adtp.det") let rtnmsg = await this.executeRule("adtp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBe2pDet(){ async onBe2pDet() {
let rtnmsg = await this.executeRule("be2p.det") let rtnmsg = await this.executeRule("be2p.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAvtpDet(){ async onAvtpDet() {
let rtnmsg = await this.executeRule("avtp.det") let rtnmsg = await this.executeRule("avtp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onPreperButtxmsel(){ async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel") let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChariaButtxmsel(){ async onChariaButtxmsel() {
let rtnmsg = await this.executeRule("charia.buttxmsel") let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDrwpDet(){ async onDrwpDet() {
let rtnmsg = await this.executeRule("drwp.det") let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onA2tpDet(){ async onA2tpDet() {
let rtnmsg = await this.executeRule("a2tp.det") let rtnmsg = await this.executeRule("a2tp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmtpDet(){ async onRmtpDet() {
let rtnmsg = await this.executeRule("rmtp.det") let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onConpDet(){ async onConpDet() {
let rtnmsg = await this.executeRule("conp.det") let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLcrgodButtxmsel(){ async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAdlcndButtxmsel(){ async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInsbnkButtxmsel(){ onSeainf() {
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLcrdocButtxmsel(){ async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -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>
......
...@@ -3,17 +3,25 @@ ...@@ -3,17 +3,25 @@
<c-row> <c-row>
<!-- ====================顶部======================= --> <!-- ====================顶部======================= -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="11" > <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference" prop="ledgrp.rec.ownref"> <el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input> <c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam"> <el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -26,7 +34,6 @@ ...@@ -26,7 +34,6 @@
v-model="model.ledgrp.cbs.nom1.cur" v-model="model.ledgrp.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"
...@@ -38,11 +45,7 @@ ...@@ -38,11 +45,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item label="" label-width="15px" prop="ledgrp.cbs.nom1.amt">
label=""
label-width="15px"
prop="ledgrp.cbs.nom1.amt"
>
<c-input <c-input
v-model="model.ledgrp.cbs.nom1.amt" v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -50,7 +53,9 @@ ...@@ -50,7 +53,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.lttp.letp0.aammod.addamtflg">Add. Amount</c-checkbox> <c-checkbox v-model="model.lttp.letp0.aammod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
...@@ -58,7 +63,6 @@ ...@@ -58,7 +63,6 @@
v-model="model.ledgrp.cbs.opn1.cur" v-model="model.ledgrp.cbs.opn1.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"
...@@ -70,11 +74,7 @@ ...@@ -70,11 +74,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item label="" label-width="15px" prop="ledgrp.cbs.opn1.amt">
label=""
label-width="15px"
prop="ledgrp.cbs.opn1.amt"
>
<c-input <c-input
v-model="model.ledgrp.cbs.opn1.amt" v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -82,46 +82,74 @@ ...@@ -82,46 +82,74 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam"> <el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入Available with"></c-input> <c-input
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入Available with"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="18">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby"> <el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]"> <c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat"> <el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Date Issued"></c-date-picker> <c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat"> <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Date/Place of Expiry"></c-date-picker> <c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date/Place of Expiry"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc"> <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入Date/Place of Expiry"></c-input> <c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"> <c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -130,60 +158,100 @@ ...@@ -130,60 +158,100 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref"> <el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input> <c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref"> <el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Iss. Bank"></c-input> <c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Iss. Bank"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref"> <el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input> <c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirmation text" prop="lttp.letp0.cnftxt"> <el-form-item label="Confirmation text" prop="lttp.letp0.cnftxt">
<c-input v-model="model.lttp.letp0.cnftxt" maxlength="40" placeholder="请输入Confirmation text"></c-input> <c-input
v-model="model.lttp.letp0.cnftxt"
maxlength="40"
placeholder="请输入Confirmation text"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================底部======================= --> <!-- ====================底部======================= -->
<c-col :span="23"> <c-col :span="23">
<el-form-item label="Streamgrid of other L/Cs backed by B2B LE" prop="lttp.leltb2b.litb2bstm"> <el-form-item
label="Streamgrid of other L/Cs backed by B2B LE"
prop="lttp.leltb2b.litb2bstm"
>
<c-input <c-input
v-model="model.lttp.leltb2b.litb2bstm" v-model="model.lttp.leltb2b.litb2bstm"
type="textarea" type="textarea"
:rows="5" :rows="5"
placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"></c-input> placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat"> <el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker> <c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Total Amount" prop="lttp.totamt"> <el-form-item label="Total Amount" prop="lttp.totamt">
<c-input v-model="model.lttp.totamt" placeholder="请输入Total Amount"></c-input> <c-input
v-model="model.lttp.totamt"
placeholder="请输入Total Amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -208,26 +276,21 @@ ...@@ -208,26 +276,21 @@
</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/Lttame/Event" import Event from "~/model/Lttame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], 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>
...@@ -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"
......
<template> <template>
<c-row> <c-row>
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="11"> <c-col :span="11">
...@@ -10,6 +9,7 @@ ...@@ -10,6 +9,7 @@
v-model="model.ltdgrp.rec.avbwth" v-model="model.ltdgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择指定银行" placeholder="请选择指定银行"
:code="codes.avbwth"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
:noRef="true" :noRef="true"
:onlySearch="true" :onlySearch="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAvbpDet" @onAplpDet="onAvtpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
v-model="model.ltdgrp.rec.avbby" v-model="model.ltdgrp.rec.avbby"
style="width: 100%" style="width: 100%"
placeholder="请选择兑付方式" placeholder="请选择兑付方式"
:code="codes.avbby"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -336,6 +337,7 @@ ...@@ -336,6 +337,7 @@
v-model="model.ltdgrp.rec.chato" v-model="model.ltdgrp.rec.chato"
style="width: 100%" style="width: 100%"
placeholder="请选择Own Charges Borne by" placeholder="请选择Own Charges Borne by"
:code="codes.chato"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -346,6 +348,7 @@ ...@@ -346,6 +348,7 @@
v-model="model.ltdgrp.rec.stacty" v-model="model.ltdgrp.rec.stacty"
style="width: 100%" style="width: 100%"
placeholder="请选择Country Code Risk Country" placeholder="请选择Country Code Risk Country"
:code="codes.ctytxt"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -372,10 +375,7 @@ ...@@ -372,10 +375,7 @@
</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="Air-/Port of Destination" prop="ltdgrp.rec.pordis">
label="Air-/Port of Destination"
prop="ltdgrp.rec.pordis"
>
<c-input <c-input
v-model="model.ltdgrp.rec.pordis" v-model="model.ltdgrp.rec.pordis"
maxlength="65" maxlength="65"
...@@ -497,7 +497,6 @@ ...@@ -497,7 +497,6 @@
<c-input type="textarea" v-model="model.ltdgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.ltdgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -516,14 +515,7 @@ export default { ...@@ -516,14 +515,7 @@ export default {
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
watch: { watch: {},
"model.ledgrp.avb.pts.adrblk": {
handler(val, oldVal) {
this.model.ledgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
}; };
</script> </script>
<style> <style>
......
...@@ -3,17 +3,25 @@ ...@@ -3,17 +3,25 @@
<c-row> <c-row>
<!-- ====================顶部======================= --> <!-- ====================顶部======================= -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="11" > <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference" prop="ledgrp.rec.ownref"> <el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input> <c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam"> <el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input> <c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -26,7 +34,6 @@ ...@@ -26,7 +34,6 @@
v-model="model.ledgrp.cbs.nom1.cur" v-model="model.ledgrp.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"
...@@ -38,11 +45,7 @@ ...@@ -38,11 +45,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item label="" label-width="15px" prop="ledgrp.cbs.nom1.amt">
label=""
label-width="15px"
prop="ledgrp.cbs.nom1.amt"
>
<c-input <c-input
v-model="model.ledgrp.cbs.nom1.amt" v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -50,15 +53,17 @@ ...@@ -50,15 +53,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.lttp.letp0.aammod.addamtflg">Add. Amount</c-checkbox> <c-checkbox v-model="model.lttp.letp0.aammod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col> </c-col>
<!-- @change="onNom1CurChange" -->
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.opn1.cur" v-model="model.ledgrp.cbs.opn1.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"
...@@ -70,11 +75,7 @@ ...@@ -70,11 +75,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item <el-form-item label="" label-width="15px" prop="ledgrp.cbs.opn1.amt">
label=""
label-width="15px"
prop="ledgrp.cbs.opn1.amt"
>
<c-input <c-input
v-model="model.ledgrp.cbs.opn1.amt" v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -82,46 +83,74 @@ ...@@ -82,46 +83,74 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam"> <el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入Available with"></c-input> <c-input
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入Available with"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="18">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby"> <el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]"> <c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox> <c-checkbox v-model="model.ledgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat"> <el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Date Issued"></c-date-picker> <c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat"> <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Date/Place of Expiry"></c-date-picker> <c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date/Place of Expiry"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc"> <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入Date/Place of Expiry"></c-input> <c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"> <c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -130,47 +159,81 @@ ...@@ -130,47 +159,81 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref"> <el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input> <c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref"> <el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Iss. Bank"></c-input> <c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Iss. Bank"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref"> <el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input> <c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam"> <el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirmation text" prop="lttp.letp0.cnftxt"> <el-form-item label="Confirmation text" prop="lttp.letp0.cnftxt">
<c-input v-model="model.lttp.letp0.cnftxt" maxlength="40" placeholder="请输入Confirmation text"></c-input> <c-input
v-model="model.lttp.letp0.cnftxt"
maxlength="40"
placeholder="请输入Confirmation text"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================底部======================= --> <!-- ====================底部======================= -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Streamgrid of other L/Cs backed by B2B LE" prop="lttp.leltb2b.litb2bstm"> <el-form-item
<c-input v-model="model.lttp.leltb2b.litb2bstm" placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"></c-input> label="Streamgrid of other L/Cs backed by B2B LE"
prop="lttp.leltb2b.litb2bstm"
>
<c-input
v-model="model.lttp.leltb2b.litb2bstm"
placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -205,26 +268,21 @@ ...@@ -205,26 +268,21 @@
</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/Lttopn/Event" import Event from "~/model/Lttopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], 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>
...@@ -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>
...@@ -287,7 +275,9 @@ ...@@ -287,7 +275,9 @@
</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>
...@@ -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
...@@ -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