Commit 3325ebe5 by chenzhaole
parents e4e37b70 4b878b2a
...@@ -6,12 +6,12 @@ import Utils from "~/utils" ...@@ -6,12 +6,12 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"ledgrp.apb.pts.extkey" :null, "ledgrp.apb.pts.extkey" :null,
"liaall.misamt" :null, "liaall.misamt" :null,
"letp.rmbp.ptsget.sdamod.dadsnd" :null, "letamep.lcrgodamep.usrblk" :null,
"ledgrp.rec.opndat" :null, "ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null, "ledgrp.adv.namelc" :null,
"oldledgrp.rec.expdat" :null, "oldledgrp.rec.expdat" :null,
"ledgrp.rmb.pts.extkey" :null, "ledgrp.rmb.pts.extkey" :null,
"letp.avbp.ptsget.sdamod.dadsnd" :null, "letamep.adlcndamep.usrblk" :null,
"ledgrp.iss.pts.adrblk" :null, "ledgrp.iss.pts.adrblk" :null,
"ledgrp.avb.adrelc" :null, "ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null, "ledgrp.rec.tenmaxday" :null,
...@@ -30,50 +30,51 @@ let checkObj = { ...@@ -30,50 +30,51 @@ let checkObj = {
"ledgrp.rec.prepers18" :null, "ledgrp.rec.prepers18" :null,
"trnmod.swiadd.amedat" :null, "trnmod.swiadd.amedat" :null,
"ledgrp.iss.adrelc" :null, "ledgrp.iss.adrelc" :null,
"letamep.lcrdocamep.usrblk" :null,
"ledgrp.apb.namelc" :null, "ledgrp.apb.namelc" :null,
"trnmod.swiadd.insbnk" :null, "trnmod.swiadd.insbnk" :null,
"ledgrp.apl.namelc" :null, "ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null, "ledgrp.cbs.max2.amt" :null,
"trnmod.swiadd.newshpdat" :null, "trnmod.swiadd.newshpdat" :null,
"ledgrp.rec.stacty" :null, "ledgrp.rec.stacty" :null,
"letp.apbp.ptsget.sdamod.dadsnd" :null, "ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.dftat" :null, "ledgrp.blk.dftat" :null,
"trnmod.swiadd.newexpdat" :null, "trnmod.swiadd.newexpdat" :null,
"ledgrp.blk.insbnk" :null, "ledgrp.blk.insbnk" :null,
"ledgrp.iss.pts.extkey" :null, "ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.rec.expplc" :null, "ledgrp.rec.expplc" :null,
"ledgrp.a2b.pts.extkey" :null, "ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null, "ledgrp.iss.pts.ref" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"ledgrp.apl.pts.adrblk" :null, "ledgrp.apl.pts.adrblk" :null,
"letamep.spcbenamep.usrblk" :null,
"letp.chkmsg" :null,
"ledgrp.rmb.adrelc" :null, "ledgrp.rmb.adrelc" :null,
"ledgrp.drw.pts.adrblk" :null, "ledgrp.drw.pts.adrblk" :null,
"ledgrp.blk.spcben" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"ledgrp.a2b.pts.adrblk" :null, "ledgrp.a2b.pts.adrblk" :null,
"trnmod.swiadd.newamt" :null, "trnmod.swiadd.newamt" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"letp.conp.ptsget.sdamod.dadsnd" :null,
"letp.issp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.revdat" :null, "ledgrp.rec.revdat" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null, "ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null, "ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null, "ledgrp.ben.adrelc" :null,
"letamep.recget.sdamod.dadsnd" :null,
"ledgrp.adv.pts.extkey" :null, "ledgrp.adv.pts.extkey" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.pts.adrblk" :null, "ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"ledgrp.a2b.adrelc" :null, "ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null, "ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null, "ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null, "ledgrp.apb.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null, "trnmod.swiadd.addamt" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null, "letamep.spcrcbamep.usrblk" :null,
"ledgrp.con.pts.nam" :null, "ledgrp.con.pts.nam" :null,
"trnmod.swiadd.newnomtop" :null, "trnmod.swiadd.newnomtop" :null,
"trnmod.swiadd.newnomton" :null, "trnmod.swiadd.newnomton" :null,
"ledgrp.rec.avbwth" :null, "ledgrp.rec.avbwth" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null, "ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null, "ledgrp.blk.feetxt" :null,
"ledgrp.blk.revcls" :null, "ledgrp.blk.revcls" :null,
...@@ -81,24 +82,20 @@ let checkObj = { ...@@ -81,24 +82,20 @@ let checkObj = {
"ledgrp.adv.pts.adrblk" :null, "ledgrp.adv.pts.adrblk" :null,
"ledgrp.blk.defdet" :null, "ledgrp.blk.defdet" :null,
"trnmod.swiadd.ameamt" :null, "trnmod.swiadd.ameamt" :null,
"letp.benp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.lcrtyp" :null, "ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null, "ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null, "ledgrp.apl.adrelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"ledgrp.iss.namelc" :null, "ledgrp.iss.namelc" :null,
"letp.advp.ptsget.sdamod.dadsnd" :null,
"ledgrp.drw.pts.extkey" :null, "ledgrp.drw.pts.extkey" :null,
"ledgrp.ben.namelc" :null, "ledgrp.ben.namelc" :null,
"letp.recget.sdamod.dadsnd" :null,
"ledgrp.ben.pts.adrblk" :null, "ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null, "ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"ledgrp.apb.adrelc" :null, "ledgrp.apb.adrelc" :null,
"ledgrp.drw.namelc" :null, "ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null, "ledgrp.apl.pts.extkey" :null,
"letp.aplp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.extkey" :null, "ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null, "ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null, "ledgrp.rec.apprultxt" :null,
......
...@@ -17,6 +17,9 @@ export default { ...@@ -17,6 +17,9 @@ export default {
"ledgrp.rec.avbby" :Utils.defaultFunction, "ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.avb.pts.extkey" :Utils.defaultFunction, "ledgrp.avb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rec.revflg" :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, "trnmod.swiadd.nomspc" :Utils.defaultFunction,
"oldledgrp.cbs.max.amt" :Utils.defaultFunction, "oldledgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction, "trnmod.swiadd.newamt" :Utils.defaultFunction,
...@@ -26,6 +29,11 @@ export default { ...@@ -26,6 +29,11 @@ export default {
"ledgrp.blk.shpper" :Utils.defaultFunction, "ledgrp.blk.shpper" :Utils.defaultFunction,
"trnmod.swiadd.shpper" :Utils.defaultFunction, "trnmod.swiadd.shpper" :Utils.defaultFunction,
"trnmod.swiadd.newshpdat" :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.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
...@@ -44,6 +52,9 @@ export default { ...@@ -44,6 +52,9 @@ export default {
"ledgrp.avb.adrelc" :Utils.defaultFunction, "ledgrp.avb.adrelc" :Utils.defaultFunction,
"ledgrp.avb.namelc" :Utils.defaultFunction, "ledgrp.avb.namelc" :Utils.defaultFunction,
"ledgrp.avb.dbfadrblkcn" :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.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction, "ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction, "ledgrp.apl.namelc" :Utils.defaultFunction,
...@@ -59,6 +70,8 @@ export default { ...@@ -59,6 +70,8 @@ export default {
"ledgrp.cbs.max.amt" :Utils.defaultFunction, "ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction, "ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction, "ledgrp.rec.shppar" :Utils.defaultFunction,
"letamep.spcrcbamep.modflg" :Utils.defaultFunction,
"letamep.spcrcbamep.modmanflg" :Utils.defaultFunction,
"ledgrp.cbs.max2.cur" :Utils.defaultFunction, "ledgrp.cbs.max2.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
...@@ -67,12 +80,17 @@ export default { ...@@ -67,12 +80,17 @@ export default {
"ledgrp.rmb.adrelc" :Utils.defaultFunction, "ledgrp.rmb.adrelc" :Utils.defaultFunction,
"ledgrp.rmb.namelc" :Utils.defaultFunction, "ledgrp.rmb.namelc" :Utils.defaultFunction,
"ledgrp.rmb.dbfadrblkcn" :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.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.adrelc" :Utils.defaultFunction, "ledgrp.ben.adrelc" :Utils.defaultFunction,
"ledgrp.ben.namelc" :Utils.defaultFunction, "ledgrp.ben.namelc" :Utils.defaultFunction,
"ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction, "ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.adv.pts.adrblk" :Utils.defaultFunction, "ledgrp.adv.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.apprul" :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.ownref" :Utils.defaultFunction,
"ledgrp.rec.spcrcbflg" :Utils.defaultFunction, "ledgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction, "ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
...@@ -89,9 +107,16 @@ export default { ...@@ -89,9 +107,16 @@ export default {
"ledgrp.rec.shptrss18" :Utils.defaultFunction, "ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction, "ledgrp.rec.shptrs" :Utils.defaultFunction,
"trnmod.swiadd.amedat" :Utils.defaultFunction, "trnmod.swiadd.amedat" :Utils.defaultFunction,
"letamep.adlcndamep.usrblk" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction, "trnmod.swiadd.addamt" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction, "trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"oldledgrp.rec.expdat" :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, "oldledgrp.rec.prepertxts18" :Utils.defaultFunction,
"ledgrp.rec.spcbenflg" :Utils.defaultFunction, "ledgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.blk.addamtcov" :Utils.defaultFunction, "ledgrp.blk.addamtcov" :Utils.defaultFunction,
...@@ -104,6 +129,7 @@ export default { ...@@ -104,6 +129,7 @@ export default {
"ledgrp.apb.namelc" :Utils.defaultFunction, "ledgrp.apb.namelc" :Utils.defaultFunction,
"ledgrp.apb.dbfadrblkcn" :Utils.defaultFunction, "ledgrp.apb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.swiadd.shpto" :Utils.defaultFunction, "trnmod.swiadd.shpto" :Utils.defaultFunction,
"letamep.lcrgodamep.usrblk" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction, "letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"letamep.maxcur" :Utils.defaultFunction, "letamep.maxcur" :Utils.defaultFunction,
"ledgrp.rec.opndat" :Utils.defaultFunction, "ledgrp.rec.opndat" :Utils.defaultFunction,
...@@ -117,6 +143,7 @@ export default { ...@@ -117,6 +143,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction, "ledgrp.rec.nonban" :Utils.defaultFunction,
"ledgrp.blk.avbwthtxt" :Utils.defaultFunction, "ledgrp.blk.avbwthtxt" :Utils.defaultFunction,
"letamep.spcrcbamep.usrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "liaall.misamt" :Utils.defaultFunction,
"letamep.ramrol" :Utils.defaultFunction, "letamep.ramrol" :Utils.defaultFunction,
......
...@@ -634,22 +634,58 @@ export default { ...@@ -634,22 +634,58 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {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":[ "letamep.lcrgodame.buttxmsel":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.blk.lcrdocame":[ "ledgrp.blk.lcrdocame":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {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":[ "letamep.lcrdocame.buttxmsel":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.blk.adlcndame":[ "ledgrp.blk.adlcndame":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {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 { ...@@ -657,6 +693,9 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.blk.insbnk":[ "ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -878,8 +917,62 @@ export default { ...@@ -878,8 +917,62 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {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":[ "ledgrp.blk.spcbename":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {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" ...@@ -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: '服务请求失败!'});
} }
}, },
......
export default class Trnmod { export default class Trnmod {
constructor() { constructor() {
this.data = { 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: { trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
......
...@@ -8,6 +8,12 @@ ...@@ -8,6 +8,12 @@
</c-col> </c-col>
<c-col :span="12"> <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-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col> </c-col>
...@@ -16,14 +22,46 @@ ...@@ -16,14 +22,46 @@
</c-col> </c-col>
<c-col :span="12"> <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-checkbox v-model="model.ledgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <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"> <el-form-item label="..." prop="letamep.adlcndame.buttxmsel">
<c-input v-model="model.letamep.adlcndame.buttxmsel" placeholder="请输入..."></c-input> <c-input v-model="model.letamep.adlcndame.buttxmsel" placeholder="请输入..."></c-input>
</el-form-item> </el-form-item>
</c-col> </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> </div>
</template> </template>
<script> <script>
......
...@@ -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>
......
<template> <template>
<div class="eibs-tab"> <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="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"> <c-col :span="12">
<el-form-item label="Description of Goods History" prop="ledgrp.blk.lcrgodame"> <el-form-item
<c-input type="textarea" v-model="model.ledgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods History" ></c-input> 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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="..." prop="letamep.lcrgodame.buttxmsel"> <el-form-item label="..." prop="letamep.lcrgodame.buttxmsel">
<c-input v-model="model.letamep.lcrgodame.buttxmsel" placeholder="请输入..."></c-input> <c-input
v-model="model.letamep.lcrgodame.buttxmsel"
placeholder="请输入..."
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</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/Letame/Event" import Event from "~/model/Letame/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>
<template> <template>
<div class="eibs-tab"> <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="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"> <c-col :span="12">
<el-form-item label="Documents Required History" prop="ledgrp.blk.lcrdocame"> <el-form-item
<c-input type="textarea" v-model="model.ledgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入Documents Required History" ></c-input> 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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <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"> <el-form-item label="..." prop="letamep.lcrdocame.buttxmsel">
<c-input v-model="model.letamep.lcrdocame.buttxmsel" placeholder="请输入..."></c-input> <c-input
v-model="model.letamep.lcrdocame.buttxmsel"
placeholder="请输入..."
></c-input>
</el-form-item> </el-form-item>
</c-col> </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> </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/Letame/Event" import Event from "~/model/Letame/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>
<template> <template>
<div class="eibs-tab"> <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"
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"> <c-col :span="12">
<el-form-item label="Special payment Conditions for beneficiary History" prop="ledgrp.blk.spcbename"> <el-form-item
<c-input type="textarea" v-model="model.ledgrp.blk.spcbename" maxlength="50" show-word-limit placeholder="请输入Special payment Conditions for beneficiary History" ></c-input> 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> </el-form-item>
</c-col> </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> </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/Letame/Event" import Event from "~/model/Letame/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>
...@@ -6,6 +6,44 @@ ...@@ -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> <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> </el-form-item>
</c-col> </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> </div>
</template> </template>
<script> <script>
......
...@@ -92,17 +92,24 @@ ...@@ -92,17 +92,24 @@
<!--PD000094 --> <!--PD000094 -->
<el-tab-pane label="货物描述修改" name="dogpame"> <el-tab-pane label="货物描述修改" name="dogpame">
<m-dogpame :model="model" :codes="codes" /> <!-- <m-dogpame :model="model" :codes="codes" /> -->
</el-tab-pane> <c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'lcrgod'"/>
<!--PD000098 --> </c-content>
<el-tab-pane label="单据要求修改" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000102 --> <!--PD000102 -->
<el-tab-pane label="附加条款修改" name="adcpame"> <el-tab-pane label="附加条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" /> <c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'adlcnd'"/>
</c-content>
</el-tab-pane>
<!--PD000098 -->
<el-tab-pane label="单据要求修改" name="dorpame">
<c-content>
<m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'lcrdoc'"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
...@@ -121,14 +128,18 @@ ...@@ -121,14 +128,18 @@
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000400 --> <!--PD000400 -->
<!-- <el-tab-pane label="PD000400" name="sprpame"> <el-tab-pane v-if="model.ledgrp.rec.spcrcbflg" label="Spc.Pay Conditions for Ban" name="sprpame">
<m-sprpame :model="model" :codes="codes" /> <c-content>
</el-tab-pane> --> <m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'spcrcb'"/>
</c-content>
</el-tab-pane>
<!--PD000396 --> <!--PD000396 -->
<!-- <el-tab-pane label="PD000396" name="spbpame"> <el-tab-pane v-if="model.ledgrp.rec.spcbenflg" label="Spc.Pay Conditions for Ben" name="spbpame">
<m-spbpame :model="model" :codes="codes" /> <c-content>
</el-tab-pane> --> <m-doxpame :model="model" :codes="codes" :recgrp="'ledgrp'" :ametyp="'spcben'"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</c-page> </c-page>
...@@ -138,6 +149,7 @@ import Api from "~/service/Api"; ...@@ -138,6 +149,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Letame from "~/model/Letame"; import Letame from "~/model/Letame";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Letame/Check"; import Check from "~/model/Letame/Check";
import Default from "~/model/Letame/Default"; import Default from "~/model/Letame/Default";
import Pattern from "~/model/Letame/Pattern"; import Pattern from "~/model/Letame/Pattern";
...@@ -146,9 +158,9 @@ import Ovwp from "./Ovwp"; ...@@ -146,9 +158,9 @@ import Ovwp from "./Ovwp";
import Detp from "./Detp"; import Detp from "./Detp";
import Aamp from "./Aamp"; import Aamp from "./Aamp";
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp";
import Dogpame from "./Dogpame"; //import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame"; //import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame"; //import Adcpame from "./Adcpame";
import Inspame from "./Inspame"; import Inspame from "./Inspame";
import Revp from "./Revp"; import Revp from "./Revp";
//import Engp from "./Engp"; //import Engp from "./Engp";
...@@ -158,13 +170,14 @@ import Setpan from "./Setpan"; ...@@ -158,13 +170,14 @@ import Setpan from "./Setpan";
//import Docpan from "./Docpan"; //import Docpan from "./Docpan";
import Doctre from "./Doctre"; import Doctre from "./Doctre";
import Limitbody from "./Limitbody"; import Limitbody from "./Limitbody";
import Sprpame from "./Sprpame"; //import Sprpame from "./Sprpame";
import Spbpame from "./Spbpame"; //import Spbpame from "./Spbpame";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Doxpame from "~/views/Public/Doxpame";
export default { export default {
components: { components: {
...@@ -173,9 +186,9 @@ export default { ...@@ -173,9 +186,9 @@ export default {
"m-detp": Detp, "m-detp": Detp,
"m-aamp": Aamp, "m-aamp": Aamp,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
"m-dogpame": Dogpame, //"m-dogpame": Dogpame,
"m-dorpame": Dorpame, //"m-dorpame": Dorpame,
"m-adcpame": Adcpame, //"m-adcpame": Adcpame,
"m-inspame": Inspame, "m-inspame": Inspame,
"m-revp": Revp, "m-revp": Revp,
"m-engp": Engp, "m-engp": Engp,
...@@ -185,15 +198,16 @@ export default { ...@@ -185,15 +198,16 @@ export default {
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-sprpame": Sprpame, //"m-sprpame": Sprpame,
"m-spbpame": Spbpame, //"m-spbpame": Spbpame,
"m-doxpame": Doxpame,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "amep", tabVal: "amep",
......
...@@ -224,6 +224,7 @@ export default { ...@@ -224,6 +224,7 @@ export default {
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//更新数据 //更新数据
this.updateModel(rtnmsg.data)
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
v-model="model.ltdgrp.cbs.max2.cur" v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -32,7 +31,6 @@ ...@@ -32,7 +31,6 @@
v-model="model.ltdgrp.cbs.opn2.cur" v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-model="model.ltdgrp.rec.avbwth" v-model="model.ltdgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择Available with" placeholder="请选择Available with"
:code="codes.avbwth"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -20,12 +21,12 @@ ...@@ -20,12 +21,12 @@
:argadr="{ :argadr="{
title: '指定银行', title: '指定银行',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'avb', rol: 'avt',
}" }"
:noRef="true" :noRef="true"
:onlySearch="true" :onlySearch="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAvbpDet" @onAplpDet="onAvtpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -274,7 +275,7 @@ import Api from "~/service/Api"; ...@@ -274,7 +275,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event"; import Event from "~/model/Lttame/Event";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -286,14 +287,7 @@ export default { ...@@ -286,14 +287,7 @@ export default {
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
watch: { watch: {},
"model.ltdgrp.avb.pts.adrblk": {
handler(val, oldVal) {
this.model.ltdgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
}; };
</script> </script>
<style> <style>
......
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -130,7 +129,6 @@ ...@@ -130,7 +129,6 @@
v-model="model.ltdgrp.cbs.max.cur" v-model="model.ltdgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
...@@ -51,23 +51,77 @@ ...@@ -51,23 +51,77 @@
<!--PD000328 --> <!--PD000328 -->
<el-tab-pane label="dogpame" name="dogpame"> <el-tab-pane label="dogpame" name="dogpame">
<m-dogpame :model="model" :codes="codes" /> <!-- <m-dogpame :model="model" :codes="codes" /> -->
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'lcrgod'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000324 --> <!--PD000324 -->
<el-tab-pane label="dorpame" name="dorpame"> <el-tab-pane label="dorpame" name="dorpame">
<m-dorpame :model="model" :codes="codes" /> <c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'lcrdoc'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000332 --> <!--PD000332 -->
<el-tab-pane label="adcpame" name="adcpame"> <el-tab-pane label="adcpame" name="adcpame">
<m-adcpame :model="model" :codes="codes" /> <c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'adlcnd'"
/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000169 --> <!--PD000169 -->
<el-tab-pane label="lttinf" name="lttinf"> <el-tab-pane label="lttinf" name="lttinf">
<m-lttinf :model="model" :codes="codes" /> <m-lttinf :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000400 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcrcbflg"
label="Spc.Pay Conditions for Ban"
name="sprpame"
>
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'spcrcb'"
/>
</c-content>
</el-tab-pane>
<!--PD000396 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcbenflg"
label="Spc.Pay Conditions for Ben"
name="spbpame"
>
<c-content>
<m-doxpame
:model="model"
:codes="codes"
:recgrp="'ltdgrp'"
:ametyp="'spcben'"
/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -90,6 +144,7 @@ import Dogpame from "./Dogpame"; ...@@ -90,6 +144,7 @@ import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame"; import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame"; import Adcpame from "./Adcpame";
import Lttinf from "./Lttinf"; import Lttinf from "./Lttinf";
import Doxpame from "~/views/Public/Doxpame";
export default { export default {
name: "Lttame", name: "Lttame",
...@@ -103,6 +158,7 @@ export default { ...@@ -103,6 +158,7 @@ export default {
"m-dorpame": Dorpame, "m-dorpame": Dorpame,
"m-adcpame": Adcpame, "m-adcpame": Adcpame,
"m-lttinf": Lttinf, "m-lttinf": Lttinf,
"m-doxpame": Doxpame,
}, },
provide() { provide() {
return { return {
...@@ -123,14 +179,17 @@ export default { ...@@ -123,14 +179,17 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, tabClick() {},
}, },
created: async function () { created: async function () {
console.log("进入lttame交易"); console.log("进入lttame交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
...@@ -71,7 +71,6 @@ ...@@ -71,7 +71,6 @@
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
......
<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>
......
...@@ -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>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<template v-if="dtyp === 'adcp'"> <template v-else-if="dtyp === 'adcp'">
<c-col :span="20" class="letopn_adcp_cheak"> <c-col :span="20" class="letopn_adcp_cheak">
<c-checkbox v-model="model[`${rec}grp`].rec.spcbenflg" <c-checkbox v-model="model[`${rec}grp`].rec.spcbenflg"
>Special payment conditions for beneficiary</c-checkbox >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