Commit 3325ebe5 by chenzhaole
parents e4e37b70 4b878b2a
......@@ -6,12 +6,12 @@ import Utils from "~/utils"
let checkObj = {
"ledgrp.apb.pts.extkey" :null,
"liaall.misamt" :null,
"letp.rmbp.ptsget.sdamod.dadsnd" :null,
"letamep.lcrgodamep.usrblk" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"oldledgrp.rec.expdat" :null,
"ledgrp.rmb.pts.extkey" :null,
"letp.avbp.ptsget.sdamod.dadsnd" :null,
"letamep.adlcndamep.usrblk" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
......@@ -30,50 +30,51 @@ let checkObj = {
"ledgrp.rec.prepers18" :null,
"trnmod.swiadd.amedat" :null,
"ledgrp.iss.adrelc" :null,
"letamep.lcrdocamep.usrblk" :null,
"ledgrp.apb.namelc" :null,
"trnmod.swiadd.insbnk" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"trnmod.swiadd.newshpdat" :null,
"ledgrp.rec.stacty" :null,
"letp.apbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.dftat" :null,
"trnmod.swiadd.newexpdat" :null,
"ledgrp.blk.insbnk" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"ledgrp.apl.pts.adrblk" :null,
"letamep.spcbenamep.usrblk" :null,
"letp.chkmsg" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.blk.spcben" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"ledgrp.a2b.pts.adrblk" :null,
"trnmod.swiadd.newamt" :null,
"liaall.limmod.ecifno" :null,
"letp.conp.ptsget.sdamod.dadsnd" :null,
"letp.issp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.revdat" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"letamep.recget.sdamod.dadsnd" :null,
"ledgrp.adv.pts.extkey" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null,
"letamep.spcrcbamep.usrblk" :null,
"ledgrp.con.pts.nam" :null,
"trnmod.swiadd.newnomtop" :null,
"trnmod.swiadd.newnomton" :null,
"ledgrp.rec.avbwth" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.blk.revcls" :null,
......@@ -81,24 +82,20 @@ let checkObj = {
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.blk.defdet" :null,
"trnmod.swiadd.ameamt" :null,
"letp.benp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"ledgrp.iss.namelc" :null,
"letp.advp.ptsget.sdamod.dadsnd" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.ben.namelc" :null,
"letp.recget.sdamod.dadsnd" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"letp.aplp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null,
......
......@@ -17,6 +17,9 @@ export default {
"ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.avb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"letamep.spcbenamep.modflg" :Utils.defaultFunction,
"letamep.spcbenamep.modmanflg" :Utils.defaultFunction,
"ledgrp.blk.spcben" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction,
"oldledgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
......@@ -26,6 +29,11 @@ export default {
"ledgrp.blk.shpper" :Utils.defaultFunction,
"trnmod.swiadd.shpper" :Utils.defaultFunction,
"trnmod.swiadd.newshpdat" :Utils.defaultFunction,
"ledgrp.blk.spcrcb" :Utils.defaultFunction,
"letamep.spcbenamep.usrblk" :Utils.defaultFunction,
"letamep.lcrdocamep.modflg" :Utils.defaultFunction,
"letamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"ledgrp.blk.lcrdoc" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
......@@ -44,6 +52,9 @@ export default {
"ledgrp.avb.adrelc" :Utils.defaultFunction,
"ledgrp.avb.namelc" :Utils.defaultFunction,
"ledgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"letamep.adlcndamep.modflg" :Utils.defaultFunction,
"letamep.adlcndamep.modmanflg" :Utils.defaultFunction,
"ledgrp.blk.adlcnd" :Utils.defaultFunction,
"ledgrp.apl.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction,
......@@ -59,6 +70,8 @@ export default {
"ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction,
"letamep.spcrcbamep.modflg" :Utils.defaultFunction,
"letamep.spcrcbamep.modmanflg" :Utils.defaultFunction,
"ledgrp.cbs.max2.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
......@@ -67,12 +80,17 @@ export default {
"ledgrp.rmb.adrelc" :Utils.defaultFunction,
"ledgrp.rmb.namelc" :Utils.defaultFunction,
"ledgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"letp.leltb2b.litb2bstm" :Utils.defaultFunction,
"letamep.lcrdocamep.usrblk" :Utils.defaultFunction,
"ledgrp.ben.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.adrelc" :Utils.defaultFunction,
"ledgrp.ben.namelc" :Utils.defaultFunction,
"ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.adv.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.apprul" :Utils.defaultFunction,
"letamep.lcrgodamep.modflg" :Utils.defaultFunction,
"letamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
"ledgrp.blk.lcrgod" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
......@@ -89,9 +107,16 @@ export default {
"ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction,
"trnmod.swiadd.amedat" :Utils.defaultFunction,
"letamep.adlcndamep.usrblk" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"oldledgrp.rec.expdat" :Utils.defaultFunction,
"letp.chkmsg" :Utils.defaultFunction,
"ledgrp.cbs.opn1.cur" :Utils.defaultFunction,
"letp.trnexpdat" :Utils.defaultFunction,
"letp.trnopnamt" :Utils.defaultFunction,
"letp.totamt" :Utils.defaultFunction,
"letp.trnshpdat" :Utils.defaultFunction,
"oldledgrp.rec.prepertxts18" :Utils.defaultFunction,
"ledgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.blk.addamtcov" :Utils.defaultFunction,
......@@ -104,6 +129,7 @@ export default {
"ledgrp.apb.namelc" :Utils.defaultFunction,
"ledgrp.apb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.swiadd.shpto" :Utils.defaultFunction,
"letamep.lcrgodamep.usrblk" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"letamep.maxcur" :Utils.defaultFunction,
"ledgrp.rec.opndat" :Utils.defaultFunction,
......@@ -117,6 +143,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction,
"ledgrp.blk.avbwthtxt" :Utils.defaultFunction,
"letamep.spcrcbamep.usrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"letamep.ramrol" :Utils.defaultFunction,
......
......@@ -634,22 +634,58 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.lcrgodamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.lcrgodame.buttxmsel":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.lcrdocame":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ledgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.lcrdocamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.lcrdocame.buttxmsel":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.adlcndame":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ledgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.adlcndamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -657,6 +693,9 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -878,8 +917,62 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.spcrcbamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.spcbename":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letamep.spcbenamep.usrblk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"letp.leltb2b.litb2bstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"ledgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"letp.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"letp.trnopnamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"letp.trnshpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"letp.trnexpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"letp.chkmsg":[
{type: "string", required: true, message: "必输项"},
{max: 114,message:"长度不能超过114"}
],
}
\ No newline at end of file
......@@ -6,22 +6,27 @@ import Utils from "~/utils"
let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null,
"ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null,
"ltdgrp.rec.opndat" :null,
"ltdgrp.be2.pts.extkey" :null,
"lttamep.spcbenamep.usrblk" :null,
"ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null,
"trnmod.swiadd.amenbr" :null,
"ltdgrp.rmt.pts.extkey" :null,
"lttamep.adlcndamep.usrblk" :null,
"ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.adlcnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null,
"trnmod.swiadd.newshpdat" :null,
"ltdgrp.blk.spcben" :null,
"trnmod.swiadd.newexpdat" :null,
"ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.a2t.pts.adrblk" :null,
......@@ -30,9 +35,11 @@ let checkObj = {
"ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null,
"lttamep.spcrcbamep.usrblk" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null,
"lttamep.lcrdocamep.usrblk" :null,
"ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null,
......@@ -41,6 +48,7 @@ let checkObj = {
"lttp.be1p.ptsget.sdamod.dadsnd" :null,
"lttamep.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.spcrcb" :null,
"ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null,
"trnmod.swiadd.addamt" :null,
......@@ -53,12 +61,14 @@ let checkObj = {
"trnmod.swiadd.newnomtop" :null,
"ltdgrp.rec.prepers18" :null,
"trnmod.swiadd.newnomton" :null,
"ltdgrp.blk.lcrgod" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null,
"lttamep.lcrgodamep.usrblk" :null,
"ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null,
......
......@@ -40,10 +40,19 @@ export default {
"ltdgrp.con.adrelc" :Utils.defaultFunction,
"ltdgrp.con.namelc" :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,
"lttamep.lcrgodamep.modflg" :Utils.defaultFunction,
"lttamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
"ltdgrp.blk.lcrgod" :Utils.defaultFunction,
"oldltdgrp.rec.expdat" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :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.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction,
......@@ -51,6 +60,7 @@ export default {
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.spcrcb" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction,
......@@ -58,8 +68,12 @@ export default {
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction,
"lttamep.lcrgodamep.usrblk" :Utils.defaultFunction,
"lttamep.adlcndamep.usrblk" :Utils.defaultFunction,
"ltdgrp.cbs.max2.cur" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction,
"lttamep.spcrcbamep.modflg" :Utils.defaultFunction,
"lttamep.spcrcbamep.modmanflg" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
......@@ -67,12 +81,15 @@ export default {
"trnmod.swiadd.prepers18" :Utils.defaultFunction,
"oldltdgrp.rec.prepers18" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"lttamep.lcrdocamep.usrblk" :Utils.defaultFunction,
"trnmod.swiadd.newnomtop" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction,
"lttp.leltb2b.litb2bstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"lttamep.spcrcbamep.usrblk" :Utils.defaultFunction,
"lttamep.spcbenamep.usrblk" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnmod.swiadd.purpos" :Utils.defaultFunction,
......@@ -80,6 +97,8 @@ export default {
"oldltdgrp.cbs.max.amt" :Utils.defaultFunction,
"lttamep.maxamt" :Utils.defaultFunction,
"trnmod.swiadd.newnomton" :Utils.defaultFunction,
"lttamep.spcbenamep.modflg" :Utils.defaultFunction,
"lttamep.spcbenamep.modmanflg" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction,
"ltdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.blk.addamtcov" :Utils.defaultFunction,
......@@ -89,6 +108,7 @@ export default {
"ltdgrp.rec.spcbenflg" :Utils.defaultFunction,
"trnmod.swiadd.amedat" :Utils.defaultFunction,
"ltdgrp.blk.adlcndame" :Utils.defaultFunction,
"ltdgrp.blk.spcben" :Utils.defaultFunction,
"ltdgrp.blk.lcrdocame" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction,
......
......@@ -115,5 +115,155 @@ export default {
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 {
{type: "string", required: true, message: "必输项"},
{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":[
{type: "string", required: true, message: "必输项"},
{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":[
{type: "string", required: true, message: "必输项"},
{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 {
{max: 18,message:"整数位不能超过14位"},
{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{
preper:"", // Presentation Period .ltdgrp.blk.preper
preperflg:"", // Presentation Period modified .ltdgrp.blk.preperflg
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
lcrdoc:"", // Documents Required .ltdgrp.blk.lcrdoc
lcrdocame:"", // Documents Required Amendment .ltdgrp.blk.lcrdocame
adlcnd:"", // Additional Conditions .ltdgrp.blk.adlcnd
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:{
pts:new Pts().data,
......@@ -276,6 +283,31 @@ export default class Lttame{
maxamt:"", // New Maximum Amount .lttamep.maxamt
ramrol:"", // Send Request to .lttamep.ramrol
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:{
swiadd:{
......
......@@ -2,17 +2,18 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCanletButtxmsel(){
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
onSeainf() {
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
},
async onCanletButtxmsel() {
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default class Trnmod {
constructor() {
this.data = {
swiadd: {
amedat: "", // Amendment Date .trnmod.swiadd.amedat
amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
amecur: "", // Amended .trnmod.swiadd.amecur
ameamt: "", // Amended .trnmod.swiadd.ameamt
newcur: "", // New Data .trnmod.swiadd.newcur
newamt: "", // New Data .trnmod.swiadd.newamt
newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
shpper: "", // Shipment Period .trnmod.swiadd.shpper
shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
porloa: "", // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: "", // Air-/Port of Discharge .trnmod.swiadd.pordis
shpto: "", // Final Destination .trnmod.swiadd.shpto
addamtcov: "", // Amounts Covered .trnmod.swiadd.addamtcov
addamt: "", // Amounts Covered .trnmod.swiadd.addamt
insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
},
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
......
......@@ -8,6 +8,12 @@
</c-col>
<c-col :span="12">
<el-form-item label="Additional Conditions" prop="ledgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.ledgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
......@@ -16,14 +22,46 @@
</c-col>
<c-col :span="12">
<el-form-item label="Block to enter additional info for Add/Delete" prop="letamep.adlcndamep.usrblk">
<c-input type="textarea" v-model="model.letamep.adlcndamep.usrblk" maxlength="65" show-word-limit placeholder="请输入Block to enter additional info for Add/Delete" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.adlcndamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.adlcndamep.modmanflg">Modify field for manual update</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="..." prop="letamep.adlcndame.buttxmsel">
<c-input v-model="model.letamep.adlcndame.buttxmsel" placeholder="请输入..."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAdlcndamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAdlcndamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onAdlcndamepButdel">
Delete text
</c-button>
</c-col>
</div>
</template>
<script>
......
......@@ -10,6 +10,9 @@
style="width: 100%"
placeholder="请选择Available with"
>
</c-select>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Description of Goods History" prop="ledgrp.blk.lcrgodame">
<c-input type="textarea" v-model="model.ledgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="..." prop="letamep.lcrgodame.buttxmsel">
<c-input v-model="model.letamep.lcrgodame.buttxmsel" placeholder="请输入..."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Description of Goods History"
prop="ledgrp.blk.lcrgodame"
>
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="ledgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Block to enter additional info for Add/Delete"
prop="letamep.lcrgodamep.usrblk"
>
<c-input
type="textarea"
v-model="model.letamep.lcrgodamep.usrblk"
maxlength="65"
show-word-limit
placeholder="请输入Block to enter additional info for Add/Delete"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="..." prop="letamep.lcrgodame.buttxmsel">
<c-input
v-model="model.letamep.lcrgodame.buttxmsel"
placeholder="请输入..."
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Documents Required History" prop="ledgrp.blk.lcrdocame">
<c-input type="textarea" v-model="model.ledgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入Documents Required History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="..." prop="letamep.lcrdocame.buttxmsel">
<c-input v-model="model.letamep.lcrdocame.buttxmsel" placeholder="请输入..."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Documents Required History"
prop="ledgrp.blk.lcrdocame"
>
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Documents Required" prop="ledgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Block to enter additional info for Add/Delete"
prop="letamep.lcrdocamep.usrblk"
>
<c-input
type="textarea"
v-model="model.letamep.lcrdocamep.usrblk"
maxlength="65"
show-word-limit
placeholder="请输入Block to enter additional info for Add/Delete"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.lcrdocamep.modflg"
>Modify Text to Replace</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.lcrdocamep.modmanflg"
>Modify field for manual update</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="..." prop="letamep.lcrdocame.buttxmsel">
<c-input
v-model="model.letamep.lcrdocame.buttxmsel"
placeholder="请输入..."
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLcrdocamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLcrdocamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLcrdocamepButdel">
Delete text
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Special payment Conditions for beneficiary History" prop="ledgrp.blk.spcbename">
<c-input type="textarea" v-model="model.ledgrp.blk.spcbename" maxlength="50" show-word-limit placeholder="请输入Special payment Conditions for beneficiary History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Special payment Conditions for beneficiary History"
prop="ledgrp.blk.spcbename"
>
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcbename"
maxlength="50"
show-word-limit
placeholder="请输入Special payment Conditions for beneficiary History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Special Payment Conditions for Beneficiary"
prop="ledgrp.blk.spcben"
>
<c-input
type="textarea"
v-model="model.ledgrp.blk.spcben"
maxlength="65"
show-word-limit
placeholder="请输入Special Payment Conditions for Beneficiary"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Block to enter additional info for Add/Delete"
prop="letamep.spcbenamep.usrblk"
>
<c-input
type="textarea"
v-model="model.letamep.spcbenamep.usrblk"
maxlength="65"
show-word-limit
placeholder="请输入Block to enter additional info for Add/Delete"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.spcbenamep.modflg"
>Modify Text to Replace</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.spcbenamep.modmanflg"
>Modify field for manual update</c-checkbox
>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcbenamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcbenamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onSpcbenamepButdel">
Delete text
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -6,6 +6,44 @@
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcbame" maxlength="50" show-word-limit placeholder="请输入Special Payment Conditions for Bank Only History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Special Payment Conditions for Bank Only" prop="ledgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcb" maxlength="65" show-word-limit placeholder="请输入Special Payment Conditions for Bank Only" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Block to enter additional info for Add/Delete" prop="letamep.spcrcbamep.usrblk">
<c-input type="textarea" v-model="model.letamep.spcrcbamep.usrblk" maxlength="65" show-word-limit placeholder="请输入Block to enter additional info for Add/Delete" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.spcrcbamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letamep.spcrcbamep.modmanflg">Modify field for manual update</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcrcbamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcrcbamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onSpcrcbamepButdel">
Delete text
</c-button>
</c-col>
</div>
</template>
<script>
......
......@@ -92,17 +92,24 @@
<!--PD000094 -->
<el-tab-pane label="货物描述修改" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
<!-- <m-dogpame :model="model" :codes="codes" /> -->
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'lcrgod'"/>
</c-content>
</el-tab-pane>
<!--PD000098 -->
<el-tab-pane label="单据要求修改" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
<!--PD000102 -->
<el-tab-pane label="附加条款修改" name="adcpame">
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'adlcnd'"/>
</c-content>
</el-tab-pane>
<!--PD000102 -->
<el-tab-pane label="附加条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
<!--PD000098 -->
<el-tab-pane label="单据要求修改" name="dorpame">
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'lcrdoc'"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
......@@ -121,14 +128,18 @@
</el-tab-pane> -->
<!--PD000400 -->
<!-- <el-tab-pane label="PD000400" name="sprpame">
<m-sprpame :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane v-if="model.ledgrp.rec.spcrcbflg" label="Spc.Pay Conditions for Ban" name="sprpame">
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'spcrcb'"/>
</c-content>
</el-tab-pane>
<!--PD000396 -->
<!-- <el-tab-pane label="PD000396" name="spbpame">
<m-spbpame :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane v-if="model.ledgrp.rec.spcbenflg" label="Spc.Pay Conditions for Ben" name="spbpame">
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'spcben'"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
......@@ -138,6 +149,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Letame from "~/model/Letame";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Letame/Check";
import Default from "~/model/Letame/Default";
import Pattern from "~/model/Letame/Pattern";
......@@ -146,9 +158,9 @@ import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Aamp from "./Aamp";
import Ptyp from "./Ptyp";
import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
//import Dogpame from "./Dogpame";
//import Dorpame from "./Dorpame";
//import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Revp from "./Revp";
//import Engp from "./Engp";
......@@ -158,13 +170,14 @@ import Setpan from "./Setpan";
//import Docpan from "./Docpan";
import Doctre from "./Doctre";
import Limitbody from "./Limitbody";
import Sprpame from "./Sprpame";
import Spbpame from "./Spbpame";
//import Sprpame from "./Sprpame";
//import Spbpame from "./Spbpame";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Doxpame from "~/views/Public/Doxpame";
export default {
components: {
......@@ -173,9 +186,9 @@ export default {
"m-detp": Detp,
"m-aamp": Aamp,
"m-ptyp": Ptyp,
"m-dogpame": Dogpame,
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
//"m-dogpame": Dogpame,
//"m-dorpame": Dorpame,
//"m-adcpame": Adcpame,
"m-inspame": Inspame,
"m-revp": Revp,
"m-engp": Engp,
......@@ -185,15 +198,16 @@ export default {
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-sprpame": Sprpame,
"m-spbpame": Spbpame,
//"m-sprpame": Sprpame,
//"m-spbpame": Spbpame,
"m-doxpame": Doxpame,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "amep",
......
......@@ -224,6 +224,7 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//更新数据
this.updateModel(rtnmsg.data)
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
......
......@@ -7,7 +7,6 @@
v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......@@ -32,7 +31,6 @@
v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......
......@@ -9,6 +9,7 @@
v-model="model.ltdgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择Available with"
:code="codes.avbwth"
>
</c-select>
</el-form-item>
......@@ -20,12 +21,12 @@
:argadr="{
title: '指定银行',
grp: 'ltdgrp',
rol: 'avb',
rol: 'avt',
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
@onAplpDet="onAvtpDet"
>
</c-ptap>
</c-col>
......@@ -274,7 +275,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
import Event from "~/model/Lttame/Event";
export default {
inject: ["root"],
......@@ -286,14 +287,7 @@ export default {
},
methods: { ...Event },
created: function () {},
watch: {
"model.ltdgrp.avb.pts.adrblk": {
handler(val, oldVal) {
this.model.ltdgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
watch: {},
};
</script>
<style>
......
......@@ -76,7 +76,6 @@
v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......@@ -130,7 +129,6 @@
v-model="model.ltdgrp.cbs.max.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......
......@@ -51,23 +51,77 @@
<!--PD000328 -->
<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>
<!--PD000324 -->
<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>
<!--PD000332 -->
<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>
<!--PD000169 -->
<el-tab-pane label="lttinf" name="lttinf">
<m-lttinf :model="model" :codes="codes" />
</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>
</el-form>
</div>
......@@ -90,6 +144,7 @@ import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Lttinf from "./Lttinf";
import Doxpame from "~/views/Public/Doxpame";
export default {
name: "Lttame",
......@@ -103,6 +158,7 @@ export default {
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
"m-lttinf": Lttinf,
"m-doxpame": Doxpame,
},
provide() {
return {
......@@ -123,14 +179,17 @@ export default {
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入lttame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -71,7 +71,6 @@
v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
......
......@@ -72,19 +72,13 @@
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="票面金额" prop="ltdgrp.cbs.nom1.cur">
<el-form-item label="信用证金额" prop="ltdgrp.cbs.nom1.cur">
<c-select
v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%"
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>
</el-form-item>
</c-col>
......@@ -129,13 +123,8 @@
style="width: 100%"
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>
</el-form-item>
</c-col>
......@@ -214,16 +203,14 @@
v-model="model.ltdgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="其他适用规则"
prop="ltdgrp.rec.apprultxt"
>
<el-form-item label="其他适用规则" prop="ltdgrp.rec.apprultxt">
<c-input
type="textarea"
v-model="model.ltdgrp.rec.apprultxt"
......@@ -239,6 +226,7 @@
v-model="model.ltdgrp.rec.cnfins"
style="width: 100%"
placeholder="请选择Confirmation Instruct."
:code="codes.cnfins"
>
</c-select>
</el-form-item>
......@@ -260,19 +248,19 @@
>
</c-ptap>
</c-col>
<c-ptap
:model="model"
:argadr="{
title: '通知行',
grp: 'ltdgrp',
rol: 'adt',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAdtpDet"
>
</c-ptap>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '通知行',
grp: 'ltdgrp',
rol: 'adt',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAdtpDet"
>
</c-ptap>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
......@@ -287,19 +275,21 @@
</c-ptap>
</c-col>
<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-col>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<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>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<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>
</el-form-item>
......@@ -311,7 +301,7 @@
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="" prop="lttp.recget.sdamod.seainf">
<c-input v-model="model.lttp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
......@@ -324,7 +314,7 @@
<c-input v-model="model.ltdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="8">
<!-- <c-col :span="8">
<el-form-item label="Nominal Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select
disabled
......@@ -356,12 +346,12 @@
></c-input-currency>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<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>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Maximum Amount" prop="ltdgrp.cbs.max.amt">
<c-input
v-model="model.ltdgrp.cbs.max.amt"
......@@ -369,7 +359,7 @@
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<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>
</el-form-item>
......@@ -420,7 +410,7 @@
></c-input>
</el-form-item>
</c-col>-->
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Advising Bank Ref." prop="ltdgrp.adt.pts.ref">
<c-input
v-model="model.ltdgrp.adt.pts.ref"
......@@ -556,7 +546,7 @@
></c-input>
</el-form-item>
</c-col>-->
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<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>
......@@ -682,7 +672,7 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: { ...Event, onNom1CurChange() {} },
created: function () {},
};
</script>
......
......@@ -29,7 +29,7 @@
<!--PD000057 -->
<el-tab-pane label="货物说明" name="dogp">
<!-- <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>
<!--PD000394 -->
<el-tab-pane
......@@ -46,7 +46,7 @@
label="收款银行特殊付款条款"
name="spcrcvp"
>
<m-spcrcvp :model="model" :codes="codes" />
<m-spcrcvp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000065 -->
<el-tab-pane label="Rbip" name="rbip">
......@@ -56,7 +56,7 @@
<!--PD000073 -->
<el-tab-pane label="附加条款" name="adcp">
<!-- <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>
<!--PD000169 -->
......@@ -67,7 +67,7 @@
<!--PD000060 -->
<el-tab-pane label="单据要求" name="dorp">
<!-- <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>
</c-tabs>
......
......@@ -13,7 +13,7 @@
</c-select>
</el-form-item>
</c-col>
<template v-if="dtyp === 'adcp'">
<template v-else-if="dtyp === 'adcp'">
<c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcbenflg"
>Special payment conditions for beneficiary</c-checkbox
......
<template>
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24" class="doxpame_top_Description">
<span>{{ getTitle }}</span>
</c-col>
<c-col>
<el-form-item
label=""
label-width="0px"
:prop="`${recgrp}.blk.${ametyp}`"
>
<c-input
type="textarea"
v-model="model[recgrp].blk[ametyp]"
maxlength="52000"
show-word-limit
:rows="20"
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24" class="doxpame_top_Description">
<span>History Overview</span>
</c-col>
<c-col :span="24">
<el-form-item
label=""
label-width="0px"
:prop="`${recgrp}.blk.${ametyp}ame`"
>
<c-input
type="textarea"
v-model="model[recgrp].blk[`${ametyp}ame`]"
maxlength="52000"
show-word-limit
:rows="ametyp === 'adlcnd' ? 14 : 17"
placeholder="请输入Description of Goods History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="ametyp === 'adlcnd'">
<c-col :span="8">
<c-checkbox v-model="model[recgrp].rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-col :span="16">
<c-checkbox v-model="model[recgrp].rec.spcbenflg"
>Special payment conditions for beneficiary exists</c-checkbox
>
</c-col>
<c-col :span="16" :offset="8">
<c-checkbox v-model="model[recgrp].rec.spcrcbflg"
>Special Payment Conditions for specified Bank only</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model[amep][`${ametyp}amep`].modflg"
>Modify Text to Replace</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model[amep][`${ametyp}amep`].modmanflg"
>Modify field for manual update</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24" class="doxpame_top_Description">
<span>Add/Delete Text in current Amendment</span>
</c-col>
<c-col :span="24">
<el-form-item
label=""
label-width="0px"
:prop="`${amep}.${ametyp}amep.usrblk`"
>
<c-input
type="textarea"
v-model="model[amep][`${ametyp}amep`].usrblk"
maxlength="2000"
show-word-limit
:rows="8"
placeholder="请输入Block to enter additional info for Add/Delete"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1" class="ame_button">
<c-col :span="24" class="ame_BlkTextarea_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letamep.lcrgodame.buttxmsel')"
>
...
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" @click="onLcrgodamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" @click="onLcrgodamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="24">
<c-button
size="small"
icon="el-icon-delete"
@click="onLcrgodamepButdel"
>
Delete text
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
export default {
inject: ["root"],
props: {
model: {
type: Object,
default: undefined,
},
codes: {
type: Object,
default: undefined,
},
recgrp: {
type: String,
default: "",
},
//修改字段:如货物lcrgod
ametyp: {
type: String,
default: "",
},
},
mixins: [CommonProcess],
data() {
return {
amep: `${this.recgrp.substring(0, 2)}tamep`,
};
},
methods: {
onLcrgodamepButadd() {},
onLcrgodamepButdif() {},
onLcrgodamepButdel() {},
},
computed: {
getTitle() {
switch (this.ametyp) {
case "lcrgod":
return "DESCRIPTION OF GOODS";
case "lcrdoc":
return "ADDITIONAL CONDITIONS";
case "adlcnd":
return "DOCUMENTS REQUIRED";
case "spcben":
return "Special Payment Conditions for Beneficiary";
case "spcrcb":
return "Special Payment Conditions for Bank Only";
default:
return "title 错误";
}
},
},
created: function () {},
};
</script>
<style>
.doxpame_top_Description {
height: 16px;
color: #606266;
line-height: 16px;
font-size: 12px;
}
.ame_BlkTextarea_button {
margin-top: 20px;
}
.ame_button button {
margin-bottom: 10px;
}
.ame_button button:nth-last-child(1) {
margin-left: 10px;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment