diff --git a/src/config/CodeTable/index.js b/src/config/CodeTable/index.js index 51470b2..a7d4b9b 100644 --- a/src/config/CodeTable/index.js +++ b/src/config/CodeTable/index.js @@ -676,6 +676,10 @@ const CodeTable = { { label: "不适用", value: "N" }, { label: "是", value: "Y" }, ], + bccls8:[ + { label: "公司要求全新文本,原保函正本已退回", value: "A" }, + { label: "保函正本未退回,请出具简要修改格式", value: "B" }, + ], bcdselflg: [ { label: "单据展期", value: "9" }, { label: "单据注销", value: "3" }, @@ -6785,6 +6789,15 @@ const CodeTable = { gtxinr3: [ { label: "blank text", value: "" }, ], + gtxinr4:[ + { label: "Performance Guaratee2", value: "00000008" }, + { label: "Refund Guarantee", value: "00000006" }, + { label: "Advance/Down Payment Guarantee", value: "00000203" }, + { label: "performance Gua for Project contracting", value: "00000202" }, + { label: "LMTEST01", value: "00000215" }, + { label: "LMTEST02", value: "00000216" }, + { label: "blank text", value: "" }, + ], docstabot: [ { label: "Collection pre-opened", value: "A" }, { label: "Collection opened", value: "B" }, @@ -6881,6 +6894,12 @@ const CodeTable = { { label: "ISPR The undertaking is subject to International Standby Practices ISP", value: "ISPR" }, { label: "NONE The undertaking is not subject to any set of rule", value: "NONE" }, ], + apprulc1: [ + { label: "UCPR The undertaking is subject to the UCP Rules for Documentary Credi", value: "UCPR" }, + { label: "OTHR The undertaking is subject to another set of rules, see Narrative", value: "OTHR" }, + { label: "URDG The undertaking is subject to the ICC Rules for Demand Guarantees", value: "URDG" }, + { label: "NONE The undertaking is not subject to any set of rule", value: "NONE" }, + ], ptydbt_setpan: [ { label: "OWN Ourselves", value: "OWN" }, { label: "Advising Bank", value: "ADV" }, @@ -6993,6 +7012,7 @@ const CodeTable = { ramrol:[ {label:"Applicant",value:"APL"}, {label:"Beneficiary",value:"BEN"}, + {label:"Issuing Bank",value:"ISS"}, ], redrea:[ {label:"Beneficiary",value:"BUFI"}, diff --git a/src/model/Betsnd/Check.js b/src/model/Betsnd/Check.js new file mode 100644 index 0000000..c0978f5 --- /dev/null +++ b/src/model/Betsnd/Check.js @@ -0,0 +1,88 @@ +import Utils from "~/utils" + +/** +* Betsnd Check规则 +*/ +let checkObj = { + "liaall.misamt" :null, + "rmbclm.acwacw.pts.extkey" :null, + "bedgrp.oth.namelc" :null, + "cnybop.cnylib.doccurdate" :null, + "bedgrp.prb.pts.nam" :null, + "bedgrp.doc.namelc" :null, + "cnybop.outflg" :null, + "cnybop.cnylib.sbankorgcode" :null, + "bedgrp.blk.comcon" :null, + "liaall.limmod.limpts.oth.pts.nam" :null, + "setmod.dspflg" :null, + "cnybop.cnylib.stermtype" :null, + "bedgrp.doc.pts.extkey" :null, + "bedgrp.prb.adrelc" :null, + "cnybop.cnylib.currencycode" :null, + "liaall.limmod.limpts.wrk.pts.nam" :null, + "cnybop.cnyflg" :null, + "rmbclm.bebbeb.adrelc" :null, + "cnybop.cnylib.dcreditenddate" :null, + "rmbclm.acwacw.namelc" :null, + "bedgrp.prb.pts.extkey" :null, + "bedgrp.oth.pts.adrblk" :null, + "bedgrp.rec.rcvdat" :null, + "rmbclm.rmbrmb.pts.adrblk" :null, + "cnybop.cnylib.famt" :null, + "cnybop.saddwordlib" :null, + "cnybop.cnylib.stransattr" :null, + "bedgrp.rec.disdat" :null, + "cnybop.sforeignorgname" :null, + "rmbclm.rmbrmb.namelc" :null, + "rmbclm.bebbeb.pts.extkey" :null, + "liaall.limmod.limpts.oth.pts.extkey" :null, + "rmbclm.rmbrmb.pts.extkey" :null, + "liaall.limmod.ownref" :null, + "bedgrp.apl.pts.nam" :null, + "liaall.limmod.ecifno" :null, + "bedgrp.oth.adrelc" :null, + "bedgrp.blk.benref" :null, + "bedgrp.prb.namelc" :null, + "bedgrp.doc.pts.adrblk" :null, + "cnybop.traflg" :null, + "cnybop.sbankname" :null, + "rmbclm.acwacw.pts.adrblk" :null, + "bedgrp.blk.setinsbe" :null, + "bedsnd.addphr" :null, + "bedgrp.blk.docdis" :null, + "cnybop.cnylib.stranstype" :null, + "cnybop.cnylib.sbanktrano" :null, + "bedgrp.doc.adrelc" :null, + "bedsnd.usadet" :null, + "cnybop.cnylib.sforbankswiftbic" :null, + "bedgrp.rec.predat" :null, + "cnybop.cnylib.denddate" :null, + "liaall.limmod.limpts.wrk.pts.extkey" :null, + "bedgrp.blk.intdis" :null, + "bedgrp.rec.docrol" :null, + "cnybop.sorgname" :null, + "mtabut.coninf.conexedat" :null, + "liaall.limmod.limpts.nonrevflg1" :null, + "rmbclm.bebbeb.namelc" :null, + "bedgrp.prb.pts.adrblk" :null, + "cnybop.libflg" :null, + "cnybop.cnylib.sorgcode" :null, + "bedgrp.oth.pts.extkey" :null, + "cnybop.fexchangeamt" :null, + "setmod.docamt" :null, + "rmbclm.rmbrmb.adrelc" :null, + "rmbclm.bebbeb.pts.adrblk" :null, + "betp.furide" :null, + "rmbclm.acwacw.adrelc" :null, + "cnybop.cnylib.sforeigncountrycode" :null, + "bedgrp.iss.pts.nam" :null, + "cnybop.vouflg" :null, +} + +for (const key in checkObj) { + if (Object.hasOwnProperty.call(checkObj, key)) { + checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) + } +} +export default checkObj + diff --git a/src/model/Betsnd/Default.js b/src/model/Betsnd/Default.js new file mode 100644 index 0000000..9524fb7 --- /dev/null +++ b/src/model/Betsnd/Default.js @@ -0,0 +1,95 @@ + +/** +* Betsnd Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, + "cnybop.libflg" :Utils.defaultFunction, + "setmod.doccur" :Utils.defaultFunction, + "setmod.dspflg" :Utils.defaultFunction, + "setmod.docamt" :Utils.defaultFunction, + "bedgrp.prb.pts.extkey" :Utils.defaultFunction, + "rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction, + "rmbclm.rmbrmb.adrelc" :Utils.defaultFunction, + "rmbclm.rmbrmb.namelc" :Utils.defaultFunction, + "rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction, + "trnmod.trndoc.condocstm" :Utils.defaultFunction, + "trnmod.trndoc.shwinc" :Utils.defaultFunction, + "trnmod.trndoc.shwout" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, + "bedgrp.cbs.max.cur" :Utils.defaultFunction, + "rmbclm.acwacw.pts.extkey" :Utils.defaultFunction, + "rmbclm.acwacw.adrelc" :Utils.defaultFunction, + "rmbclm.acwacw.namelc" :Utils.defaultFunction, + "rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction, + "rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction, + "bedgrp.rec.ownref" :Utils.defaultFunction, + "cnybop.vouflg" :Utils.defaultFunction, + "bedgrp.blk.docdis" :Utils.defaultFunction, + "bedgrp.blk.docdisflg" :Utils.defaultFunction, + "bedgrp.doc.pts.adrblk" :Utils.defaultFunction, + "bedgrp.rec.docprbrol" :Utils.defaultFunction, + "bedgrp.oth.pts.extkey" :Utils.defaultFunction, + "bedgrp.oth.adrelc" :Utils.defaultFunction, + "bedgrp.oth.namelc" :Utils.defaultFunction, + "bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction, + "bedgrp.oth.pts.adrblk" :Utils.defaultFunction, + "rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction, + "rmbclm.bebbeb.adrelc" :Utils.defaultFunction, + "rmbclm.bebbeb.namelc" :Utils.defaultFunction, + "rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction, + "cnybop.traflg" :Utils.defaultFunction, + "rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction, + "bedgrp.blk.benref" :Utils.defaultFunction, + "bedgrp.doc.pts.extkey" :Utils.defaultFunction, + "bedgrp.doc.adrelc" :Utils.defaultFunction, + "bedgrp.doc.namelc" :Utils.defaultFunction, + "bedgrp.doc.dbfadrblkcn" :Utils.defaultFunction, + "bedgrp.prb.adrelc" :Utils.defaultFunction, + "bedgrp.prb.namelc" :Utils.defaultFunction, + "bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction, + "bedgrp.prb.pts.adrblk" :Utils.defaultFunction, + "betp.cre752flg" :Utils.defaultFunction, + "liaall.limmod.comamt" :Utils.defaultFunction, + "liaall.limmod.ccvamt" :Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, + "rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction, + "bedgrp.rec.docrolflg" :Utils.defaultFunction, + "bedgrp.iss.pts.nam" :Utils.defaultFunction, + "bedgrp.blk.matper" :Utils.defaultFunction, + "bedgrp.rec.doctypcod" :Utils.defaultFunction, + "bedgrp.rec.matdat" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, + "bedgrp.prb.pts.nam" :Utils.defaultFunction, + "betp.folwupopt" :Utils.defaultFunction, + "mtabut.coninf.usr.extkey" :Utils.defaultFunction, + "bedgrp.rec.payrol" :Utils.defaultFunction, + "ameadrflg" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, + "bedgrp.apl.pts.nam" :Utils.defaultFunction, + "cnybop.cnyflg" :Utils.defaultFunction, + "bedgrp.cbs.max.amt" :Utils.defaultFunction, + "cnybop.cnylib.sforeigncountrycode" :Utils.defaultFunction, + "bedgrp.rec.rcvdat" :Utils.defaultFunction, + "bedgrp.rec.docsta" :Utils.defaultFunction, + "bedgrp.rec.disdat" :Utils.defaultFunction, + "ledgrp.rec.ownref" :Utils.defaultFunction, + "rmbclmlate" :Utils.defaultFunction, + "rmbclmnow" :Utils.defaultFunction, + "bedgrp.rec.shpdat" :Utils.defaultFunction, + "ledgrp.cbs.opn1.amt" :Utils.defaultFunction, + "bedgrp.cbs.opn1.amt" :Utils.defaultFunction, + "liaall.misamt" :Utils.defaultFunction, + "rmbclm.rmbrol" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, + "mtabut.coninf.conexedat" :Utils.defaultFunction, + "cnybop.outflg" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Betsnd/Event.js b/src/model/Betsnd/Event.js new file mode 100644 index 0000000..b8583c8 --- /dev/null +++ b/src/model/Betsnd/Event.js @@ -0,0 +1,330 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onOthpDet(){ + let rtnmsg = await this.executeRule("othp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onPrbpDet(){ + let rtnmsg = await this.executeRule("prbp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onIntdisButtxmsel(){ + let rtnmsg = await this.executeRule("intdis.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onComconButtxmsel(){ + let rtnmsg = await this.executeRule("comcon.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onSetinstxmButtxmsel(){ + let rtnmsg = await this.executeRule("setinstxm.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDocdisButtxmsel(){ + let rtnmsg = await this.executeRule("docdis.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDocpDet(){ + let rtnmsg = await this.executeRule("docp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onUsatxtButtxmsel(){ + let rtnmsg = await this.executeRule("usatxt.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onRgfphrButtxmsel(){ + let rtnmsg = await this.executeRule("rgfphr.buttxmsel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLiaallButmisamt(){ + let rtnmsg = await this.executeRule("liaall.butmisamt") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLiaallButmissig(){ + let rtnmsg = await this.executeRule("liaall.butmissig") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onSetmodDet(){ + let rtnmsg = await this.executeRule("setmod.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButshw(){ + let rtnmsg = await this.executeRule("trndoc.butshw") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButadd(){ + let rtnmsg = await this.executeRule("trndoc.butadd") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButnew(){ + let rtnmsg = await this.executeRule("trndoc.butnew") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButattto(){ + let rtnmsg = await this.executeRule("trndoc.butattto") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButdel(){ + let rtnmsg = await this.executeRule("trndoc.butdel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onTrndocButatt(){ + let rtnmsg = await this.executeRule("trndoc.butatt") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onRmbpDet(){ + let rtnmsg = await this.executeRule("rmbp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onAcwpDet(){ + let rtnmsg = await this.executeRule("acwp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBebpDet(){ + let rtnmsg = await this.executeRule("bebp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLibctySelbut1(){ + let rtnmsg = await this.executeRule("libcty.selbut1") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onWrkpDet(){ + let rtnmsg = await this.executeRule("wrkp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onOthp1Det(){ + let rtnmsg = await this.executeRule("othp1.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLimptsGet1(){ + let rtnmsg = await this.executeRule("limpts.get1") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLimptsGet2(){ + let rtnmsg = await this.executeRule("limpts.get2") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onLimmodTrycal(){ + let rtnmsg = await this.executeRule("limmod.trycal") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + +} \ No newline at end of file diff --git a/src/model/Betsnd/Pattern.js b/src/model/Betsnd/Pattern.js new file mode 100644 index 0000000..855827b --- /dev/null +++ b/src/model/Betsnd/Pattern.js @@ -0,0 +1,612 @@ +export default { + "betp.ledget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "ledgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "betp.ledget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "ledgrp.cbs.opn1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "ledgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "betp.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bedgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "betp.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bedgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + "bedgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bedgrp.prb.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bedgrp.cbs.opn1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "bedgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "bedgrp.prb.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bedgrp.iss.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "bedgrp.iss.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bedgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.rec.predat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.apl.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bedgrp.rec.docsta":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "bedgrp.apl.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + + "betp.othp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bedgrp.oth.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "betp.othp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bedgrp.oth.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.oth.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.oth.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.oth.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "betp.prbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bedgrp.prb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "betp.prbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bedgrp.prb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.prb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.prb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.rec.rcvdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.rec.shpdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.prb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.rec.predat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.rec.matdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.blk.matper":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "bedgrp.blk.intdis":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + + "bedgrp.blk.comcon":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "bedgrp.rec.disdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "bedgrp.rec.lescom":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "bedgrp.blk.setinsbe":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + "bedgrp.blk.docdis":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "betp.docp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bedgrp.doc.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "betp.docp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "bedgrp.doc.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.doc.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.doc.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.doc.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedsnd.usadet":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "bedsnd.addphr":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + "bedsnd.newbenadr":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "bedgrp.blk.benref":[ + {type: "string", required: true, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.outamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.outpct":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + "liaall.concur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "liaall.misamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + "liaall.exttotoldamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.exttotamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "setmod.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + "setmod.docamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + "setmod.zmqacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + + + "mtabut.coninf.oitinf.oit.inftxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + + + "mtabut.coninf.oitset.oit.inftxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + + "mtabut.coninf.conexedat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "mtabut.coninf.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + + "trnmod.trndoc.advnam":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "trnmod.trndoc.amdapl":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "trnmod.trndoc.advdoc":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.filrecv":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "trnmod.trndoc.doctrestm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + + + + + + + + + + "trnmod.trndoc.condocstm":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "trnmod.trndoc.rcvatt.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "rmbclm.rmbrmb.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.rmbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.rmbrmb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.rmbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "rmbclm.rmbrmb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.rmbrmb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.rmbrmb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.rmbrmb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.acwacw.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.acwp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.acwacw.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.acwp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "rmbclm.acwacw.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.acwacw.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.acwacw.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.acwacw.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.bebbeb.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.bebp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.bebbeb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "rmbclm.bebp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "rmbclm.bebbeb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.bebbeb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.bebbeb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.bebbeb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "rmbclm.valdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + + + + + "cnybop.cnylib.spk":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "cnybop.cnylib.sbanktrano":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + "cnybop.cnylib.sbankorgcode":[ + {type: "string", required: false, message: "必输项"}, + {max: 12,message:"长度不能超过12"} + ], + "cnybop.sbankname":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + + + "cnybop.cnylib.sforbankswiftbic":[ + {type: "string", required: false, message: "必输项"}, + {max: 11,message:"长度不能超过11"} + ], + "cnybop.sorgname":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + "cnybop.cnylib.sorgcode":[ + {type: "string", required: false, message: "必输项"}, + {max: 18,message:"长度不能超过18"} + ], + "cnybop.sforeignorgname":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + "cnybop.cnylib.sforeigncountrycode":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "cnybop.cnylib.doccurdate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "cnybop.cnylib.denddate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "cnybop.cnylib.dcreditenddate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "cnybop.cnylib.famt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "cnybop.cnylib.dexchangedate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "cnybop.fexchangeamt":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "cnybop.cnylib.dexchangeenddate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "cnybop.saddwordlib":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + "liaall.limmod.ecifno":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + + + + "liaall.limmod.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.limpts.wrk.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.wrkp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.limpts.oth.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "liaall.limmod.othp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "liaall.limmod.comamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "liaall.limmod.limpts.wrk.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.limpts.oth.pts.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + "liaall.limmod.ccvamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + + + + + "liaall.limmod.limpts.pfcod1":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + "liaall.limmod.limpts.pfcod2":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + +} \ No newline at end of file diff --git a/src/model/Betsnd/index.js b/src/model/Betsnd/index.js new file mode 100644 index 0000000..9a84100 --- /dev/null +++ b/src/model/Betsnd/index.js @@ -0,0 +1,325 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" +import Pub from "../Public" //引入公共面板 + +export default class Betsnd{ + constructor () { + this.data = { + + setmod: new Pub().data.Setmod, //帐务、分录 加入公共面板账务字段 + mtabut: new Pub().data.Mtabut, //附言 + trnmod: new Pub().data.Trnmod, //面函 加入公共面板面函的字段 + liaall: new Pub().data.Liaall,//表外 + betapll3blk:"", + betapll1blk:"", + betapll2blk:"", + betprbl4blk:"", + + betp:{ + ledget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .betp.ledget.sdamod.dadsnd + seainf:"", // .betp.ledget.sdamod.seainf + }, + }, + recget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .betp.recget.sdamod.dadsnd + seainf:"", // .betp.recget.sdamod.seainf + }, + }, + adaflg:"", // Add. amount .betp.adaflg + docgrdm:{ + docdsclab:"", // Label of document description .betp.docgrdm.docdsclab + }, + othp:{ + ptsget:{ + sdamod:{ + seainf:"", // .betp.othp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .betp.othp.ptsget.sdamod.dadsnd + }, + }, + }, + prbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .betp.prbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .betp.prbp.ptsget.sdamod.dadsnd + }, + }, + }, + folwupopt:"", // Processing Options .betp.folwupopt + cre752flg:"", // Create 752 .betp.cre752flg + furide:"", // 进一步的确认 .betp.furide + docp:{ + ptsget:{ + sdamod:{ + seainf:"", // .betp.docp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .betp.docp.ptsget.sdamod.dadsnd + }, + }, + }, + }, + ledgrp:{ + rec:{ + ownref:"", // 参考号 .ledgrp.rec.ownref + }, + cbs:{ + opn1:{ + cur:"", // Currency .ledgrp.cbs.opn1.cur + amt:"", // Balance .ledgrp.cbs.opn1.amt + }, + }, + }, + bedgrp:{ + rec:{ + ownref:"", // 单据参考号 .bedgrp.rec.ownref + doctypcod:"", // 单据类型 .bedgrp.rec.doctypcod + matdat:"", // Maturity Date .bedgrp.rec.matdat + rcvdat:"", // Received on .bedgrp.rec.rcvdat + predat:"", // Presentation Date .bedgrp.rec.predat + docsta:"", // 单据状态 .bedgrp.rec.docsta + nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam + payrol:"", // Payer .bedgrp.rec.payrol + docprbrol:"", // Presented by .bedgrp.rec.docprbrol + shpdat:"", // Date of Shipment .bedgrp.rec.shpdat + docrolflg:"", // Send Documents to Another Address .bedgrp.rec.docrolflg + docrol:"", // Receiver of Documents .bedgrp.rec.docrol + approvcod:"", // Documents on Approval Basis .bedgrp.rec.approvcod + disdat:"", // Date of Advice .bedgrp.rec.disdat + lescom:"", // Less comm. .bedgrp.rec.lescom + }, + cbs:{ + max:{ + cur:"", // 单据金额 .bedgrp.cbs.max.cur + amt:"", // 单据金额 .bedgrp.cbs.max.amt + }, + opn1:{ + cur:"", // 单据余额 .bedgrp.cbs.opn1.cur + amt:"", // Balance .bedgrp.cbs.opn1.amt + }, + }, + prb:{ + pts:new Pts().data, + namelc:"", // 名称 .bedgrp.prb.namelc + adrelc:"", // 地址 .bedgrp.prb.adrelc + dbfadrblkcn:"", // Chinese address .bedgrp.prb.dbfadrblkcn + }, + iss:{ + pts:new Pts().data, + }, + apl:{ + pts:new Pts().data, + }, + oth:{ + pts:new Pts().data, + namelc:"", // 名称 .bedgrp.oth.namelc + adrelc:"", // 地址 .bedgrp.oth.adrelc + dbfadrblkcn:"", // Chinese address .bedgrp.oth.dbfadrblkcn + }, + blk:{ + matper:"", // Maturity Period .bedgrp.blk.matper + intdis:"", // Internal Discrepancies .bedgrp.blk.intdis + comcon:"", // Comments and Conclusions .bedgrp.blk.comcon + setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe + docdis:"", // Discrepancies .bedgrp.blk.docdis + docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg + benref:"", // 新受益人编号 .bedgrp.blk.benref + }, + doc:{ + pts:new Pts().data, + namelc:"", // 名称 .bedgrp.doc.namelc + adrelc:"", // 地址 .bedgrp.doc.adrelc + dbfadrblkcn:"", // Chinese address .bedgrp.doc.dbfadrblkcn + }, + }, + ameadrflg:"", // Ammendment Ben. or Iss. Address .ameadrflg + bedsnd:{ + snd732:"", // Create MT 732 .bedsnd.snd732 + ingdsc:"", // Ignore Discrepancies .bedsnd.ingdsc + usadet:"", // 远期单据指示 .bedsnd.usadet + addphr:"", // 偿付条款 .bedsnd.addphr + newbenadr:"", // 新受益人地址 .bedsnd.newbenadr + }, + rmbclmnow:"", // Claim Reimbursement now .rmbclmnow + rmbclmlate:"", // Claim Reimbursement late .rmbclmlate + // liaall:{ + // misamt:"", // Amount not yet assigned .liaall.misamt + // concur:"", // External Booking Amount .liaall.concur + // outpct:"", // Sight Amount Percentage .liaall.outpct + // outamt:"", // Sight Amount .liaall.outamt + // exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt + // exttotamt:"", // Total booking amount external assinged .liaall.exttotamt + // limmod:{ + // limpts:{ + // wrklab:"", // Label .liaall.limmod.limpts.wrklab + // othlab:"", // Label .liaall.limmod.limpts.othlab + // othlabss:"", // Label .liaall.limmod.limpts.othlabss + // wrk:{ + // pts:new Pts().data, + // }, + // oth:{ + // pts:new Pts().data, + // }, + // lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh + // nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1 + // pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1 + // nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2 + // pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2 + // }, + // wrkp:{ + // ptsget:{ + // sdamod:{ + // dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd + // seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf + // }, + // }, + // }, + // othp:{ + // ptsget:{ + // sdamod:{ + // dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd + // seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf + // }, + // }, + // }, + // ownref:"", // 国结业务编号 .liaall.limmod.ownref + // comamt:"", // 业务余额 .liaall.limmod.comamt + // ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt + // ecifno:"", // ECIFNO .liaall.limmod.ecifno + // }, + // }, + // setmod:{ + // docamttyplab:"", // settled amount description as label .setmod.docamttyplab + // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg + // ref:"", // our reference .setmod.ref + // doccur:"", // document currency .setmod.doccur + // docamt:"", // document amount .setmod.docamt + // dspflg:"", // Type of settlement .setmod.dspflg + // xreflg:"", // Recalculate Rates .setmod.xreflg + // setglg:{ + // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg + // }, + // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab + // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc + // }, + // mtabut:{ + // coninf:{ + // oitinf:{ + // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt + // oit:{ + // inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt + // inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev + // }, + // }, + // oitset:{ + // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt + // oit:{ + // inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt + // inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev + // }, + // }, + // conexedat:"", // 执行日期 .mtabut.coninf.conexedat + // usr:{ + // extkey:"", // User ID .mtabut.coninf.usr.extkey + // }, + // }, + // }, + // trnmod:{ + // trndoc:{ + // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel + // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam + // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc + // advnam:"", // 国内证落款 .trnmod.trndoc.advnam + // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl + // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl + // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm + // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc + // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout + // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm + // rcvatt:{ + // seainf:"", // .trnmod.trndoc.rcvatt.seainf + // }, + // filrecv:"", // File Receiver .trnmod.trndoc.filrecv + // }, + // }, + rmbclm:{ + rmbrmb:{ + pts:new Pts().data, + namelc:"", // 名称 .rmbclm.rmbrmb.namelc + adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc + dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn + }, + rmbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd + }, + }, + }, + acwacw:{ + pts:new Pts().data, + namelc:"", // 名称 .rmbclm.acwacw.namelc + adrelc:"", // 地址 .rmbclm.acwacw.adrelc + dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn + }, + acwp:{ + ptsget:{ + sdamod:{ + seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd + }, + }, + }, + bebbeb:{ + pts:new Pts().data, + namelc:"", // 名称 .rmbclm.bebbeb.namelc + adrelc:"", // 地址 .rmbclm.bebbeb.adrelc + dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn + }, + bebp:{ + ptsget:{ + sdamod:{ + seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd + }, + }, + }, + rmbrol:"", // 偿付行 .rmbclm.rmbrol + valdat:"", // value date .rmbclm.valdat + }, + cnybop:{ + cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg + traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg + outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg + libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg + vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg + cnylib:{ + spk:"", // 业务主键 .cnybop.cnylib.spk + sbankorgcode:"", // 银行机构代码 .cnybop.cnylib.sbankorgcode + stransattr:"", // 业务属性 .cnybop.cnylib.stransattr + stranstype:"", // 业务类型 .cnybop.cnylib.stranstype + sforbankswiftbic:"", // 境外对手行代码 .cnybop.cnylib.sforbankswiftbic + sorgcode:"", // 境内企业机构代码 .cnybop.cnylib.sorgcode + sforeigncountrycode:"", // 境外企业国别地区代码 .cnybop.cnylib.sforeigncountrycode + doccurdate:"", // 业务发生日期 .cnybop.cnylib.doccurdate + denddate:"", // 业务到期日 .cnybop.cnylib.denddate + dcreditenddate:"", // 信用证到期日 .cnybop.cnylib.dcreditenddate + famt:"", // 金额 .cnybop.cnylib.famt + dexchangedate:"", // 承兑日期 .cnybop.cnylib.dexchangedate + dexchangeenddate:"", // 承兑到期日 .cnybop.cnylib.dexchangeenddate + sbanktrano:"", // 银行业务编号 .cnybop.cnylib.sbanktrano + stermtype:"", // 期限条件 .cnybop.cnylib.stermtype + currencycode:"", // 币种 .cnybop.cnylib.currencycode + }, + sorgname:"", // 境内企业名称 .cnybop.sorgname + sforeignorgname:"", // 境外企业名称 .cnybop.sforeignorgname + saddwordlib:"", // 交易附言 .cnybop.saddwordlib + sbankname:"", // 银行机构名称 .cnybop.sbankname + fexchangeamt:"", // 承兑金额 .cnybop.fexchangeamt + }, + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Botdav/Event.js b/src/model/Botdav/Event.js index 0fd5b3c..f910f0e 100644 --- a/src/model/Botdav/Event.js +++ b/src/model/Botdav/Event.js @@ -6,7 +6,7 @@ export default { let rtnmsg = await this.executeRule("botp.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.bodgrp.rec.ownref = rtnmsg.data.bodgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Botdav/Pattern.js b/src/model/Botdav/Pattern.js index a85a5dc..12b149a 100644 --- a/src/model/Botdav/Pattern.js +++ b/src/model/Botdav/Pattern.js @@ -360,4 +360,7 @@ export default { {type: "string", required: false, message: "必输项"}, {max: 40,message:"长度不能超过40"} ], + "bodgrp.rec.dircolflg":[ + {type: "string", required: false,message:"???"} + ] } \ No newline at end of file diff --git a/src/model/Bptame/Event.js b/src/model/Bptame/Event.js index c959ca9..4344ea4 100644 --- a/src/model/Bptame/Event.js +++ b/src/model/Bptame/Event.js @@ -423,7 +423,7 @@ export default { let rtnmsg = await this.executeRule("bptmod.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Bptopn/Event.js b/src/model/Bptopn/Event.js index 453ca3b..d995dbe 100644 --- a/src/model/Bptopn/Event.js +++ b/src/model/Bptopn/Event.js @@ -7,7 +7,7 @@ export default { let rtnmsg = await this.executeRule("bptmod.finmod.dinmod.dget") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.bptmod.finmod.dinmod.dinjdm = rtnmsg.data.bptmod_finmod_dinmod_dinjdm + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' @@ -23,7 +23,7 @@ export default { let rtnmsg = await this.executeRule("bptmod.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.bpdgrp.rec.ownref = rtnmsg.data.bpdgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Brtacp/Pattern.js b/src/model/Brtacp/Pattern.js index 989563f..42f778e 100644 --- a/src/model/Brtacp/Pattern.js +++ b/src/model/Brtacp/Pattern.js @@ -215,18 +215,18 @@ export default { "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: false, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: false, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.oitset.oit.inftxt":[ - {type: "string", required: false, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: false, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.conexedat":[ - {type: "date", required: false, message: "输入正确的日期"} + //{type: "date", required: false, message: "输入正确的日期"} ], "mtabut.coninf.usr.extkey":[ {type: "string", required: false, message: "必输项"}, diff --git a/src/model/Brtame/Pattern.js b/src/model/Brtame/Pattern.js index a6d14f9..7677289 100644 --- a/src/model/Brtame/Pattern.js +++ b/src/model/Brtame/Pattern.js @@ -135,8 +135,8 @@ export default { {type: "date", required: false, message: "输入正确的日期"} ], "brdgrp.blk.relstoadr":[ - {type: "string", required: true, message: "必输项"}, - {max: 180,message:"长度不能超过180"} + //{type: "string", required: true, message: "必输项"}, + //{max: 180,message:"长度不能超过180"} ], "brdgrp.blk.vesnam":[ @@ -169,12 +169,12 @@ export default { {max: 35,message:"长度不能超过35"} ], "brdgrp.blk.roggod":[ - {type: "string", required: true, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + //{type: "string", required: true, message: "必输项"}, + //{max: 40,message:"长度不能超过40"} ], "brdgrp.shp.pts.adrblk":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + //{type: "string", required: true, message: "必输项"}, + //{max: 35,message:"长度不能超过35"} ], "brdgrp.shp.dbfadrblkcn":[ {type: "string", required: true, message: "必输项"}, @@ -185,8 +185,8 @@ export default { {max: 35,message:"长度不能超过35"} ], "brdgrp.blk.notpty":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + //{type: "string", required: true, message: "必输项"}, + //{max: 35,message:"长度不能超过35"} ], "brdgrp.blk.porlod":[ {type: "string", required: false, message: "必输项"}, @@ -250,18 +250,18 @@ export default { "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.oitset.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.conexedat":[ - {type: "date", required: false, message: "输入正确的日期"} + //{type: "date", required: false, message: "输入正确的日期"} ], "mtabut.coninf.usr.extkey":[ {type: "string", required: false, message: "必输项"}, diff --git a/src/model/Brtcsg/Pattern.js b/src/model/Brtcsg/Pattern.js index d4f1d4a..cdb4649 100644 --- a/src/model/Brtcsg/Pattern.js +++ b/src/model/Brtcsg/Pattern.js @@ -151,18 +151,18 @@ export default { ], "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.oitset.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.conexedat":[ - {type: "date", required: false, message: "输入正确的日期"} + //{type: "date", required: false, message: "输入正确的日期"} ], "mtabut.coninf.usr.extkey":[ {type: "string", required: false, message: "必输项"}, diff --git a/src/model/Brtcsg/index.js b/src/model/Brtcsg/index.js index 36df5c8..73c1043 100644 --- a/src/model/Brtcsg/index.js +++ b/src/model/Brtcsg/index.js @@ -67,10 +67,10 @@ export default class Brtcsg{ mattxtlab:"", // Label for MATTXT .brtp0.matp.mattxtlab }, }, - liaall:pub.Liaall, - setmod:pub.Setmod, - mtabut:pub.Mtabut, - trnmod:pub.Trnmod, + liaall: new Pub().data.Liaall, + setmod: new Pub().data.Setmod, + mtabut: new Pub().data.Mtabut, + trnmod: new Pub().data.Trnmod, pageId: "" // ctx的key } } diff --git a/src/model/Brtdck/Pattern.js b/src/model/Brtdck/Pattern.js index 3f779bf..360bf44 100644 --- a/src/model/Brtdck/Pattern.js +++ b/src/model/Brtdck/Pattern.js @@ -124,7 +124,7 @@ export default { ], "oldbrdgrp.cbs.max.amt":[ - {type: "number", required: false, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 18,message:"整数位不能超过14位"}, {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], @@ -148,7 +148,7 @@ export default { ], "oldbrdgrp.cbs.max2.amt":[ - {type: "number", required: false, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 18,message:"整数位不能超过14位"}, {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], @@ -217,7 +217,7 @@ export default { "brdgrp.blk.docdis":[ {type: "string", required: true, message: "必输项"}, - {max: 50,message:"长度不能超过50"} + {max: 3500,message:"长度不能超过3500"} ], @@ -271,7 +271,7 @@ export default { {type: "date", required: false, message: "输入正确的日期"} ], "brdgrp.blk.relstoadr":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 140,message:"长度不能超过140"} ], diff --git a/src/model/Brtdcr/Pattern.js b/src/model/Brtdcr/Pattern.js index d119061..dec78cd 100644 --- a/src/model/Brtdcr/Pattern.js +++ b/src/model/Brtdcr/Pattern.js @@ -239,18 +239,18 @@ export default { "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.oitset.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + //{type: "string", required: true, message: "必输项"}, + //{max: 60,message:"长度不能超过60"} ], "mtabut.coninf.conexedat":[ - {type: "date", required: false, message: "输入正确的日期"} + //{type: "date", required: false, message: "输入正确的日期"} ], "mtabut.coninf.usr.extkey":[ {type: "string", required: false, message: "必输项"}, diff --git a/src/model/Cptato/Event.js b/src/model/Cptato/Event.js index 5b5ccce..b975bb2 100644 --- a/src/model/Cptato/Event.js +++ b/src/model/Cptato/Event.js @@ -7,7 +7,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.cpdgrp.rec.ownref = rtnmsg.data.cpdgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Detame/Event.js b/src/model/Detame/Event.js index b0e508f..4d2ef52 100644 --- a/src/model/Detame/Event.js +++ b/src/model/Detame/Event.js @@ -6,7 +6,7 @@ export default { let rtnmsg = await this.executeRule("detp.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref; + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Detopn/Event.js b/src/model/Detopn/Event.js index 503e34d..9748788 100644 --- a/src/model/Detopn/Event.js +++ b/src/model/Detopn/Event.js @@ -6,7 +6,7 @@ export default { let rtnmsg = await this.executeRule("detp.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref; + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Detopn/Pattern.js b/src/model/Detopn/Pattern.js index 4e99565..33c22aa 100644 --- a/src/model/Detopn/Pattern.js +++ b/src/model/Detopn/Pattern.js @@ -1,397 +1,401 @@ export default { - "detp.recget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "detp.recget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.rec.ownref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.rec.ownref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.recget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "detp.recget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "dedgrp.rec.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "dedgrp.rec.nam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "dedgrp.ben.pts.ref":[ - {type: "string", required: true, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.ben.pts.ref": [ + { type: "string", required: true, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.benp.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "detp.benp.ptsget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.usr.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 8,message:"长度不能超过8"} + "detp.usr.extkey": [ + { type: "string", required: false, message: "必输项" }, + { max: 8, message: "长度不能超过8" } ], - "detp.usrget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "detp.usrget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "dedgrp.ben.pts.extkey":[ - {type: "string", required: true, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.ben.pts.extkey": [ + { type: "string", required: true, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.benp.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "detp.benp.ptsget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "dedgrp.ben.namelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.ben.namelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.cbs.nom1.amt":[ - {type: "string", required: true, message: "必输项"}, - {max: 18,message:"整数位不能超过15位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "dedgrp.cbs.nom1.amt": [ + { type: "string", required: true, message: "必输项" }, + { max: 18, message: "整数位不能超过15位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "dedgrp.ben.pts.adrblk":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.ben.pts.adrblk": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.ben.dbfadrblkcn":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.ben.dbfadrblkcn": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "detp.upamt":[ - {type: "string", required: false, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + "detp.upamt": [ + { type: "string", required: false, message: "必输项" }, + { max: 60, message: "长度不能超过60" } ], - "dedgrp.ben.adrelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.ben.adrelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.nomtop":[ - {type: "string", required: false, message: "必输项"}, - {max: 8,message:"长度不能超过8"} + "dedgrp.rec.nomtop": [ + // { type: "string", required: false, message: "必输项" }, + // { max: 8, message: "长度不能超过8" }, + { type: "string", required: false}, + { pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"}, ], - "dedgrp.rec.nomton":[ - {type: "string", required: false, message: "必输项"}, - {max: 8,message:"长度不能超过8"} + "dedgrp.rec.nomton": [ + // { type: "string", required: false, message: "必输项" }, + // { max: 8, message: "长度不能超过8" } + { type: "string", required: false}, + { pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"}, ], - "dedgrp.cbs.max.cur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "dedgrp.cbs.max.cur": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "dedgrp.cbs.max.amt":[ - {type: "string", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过15位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "dedgrp.cbs.max.amt": [ + { type: "string", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过15位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "dedgrp.ben.pts.extact":[ - {type: "string", required: true, message: "必输项"}, - {max: 34,message:"长度不能超过34"} + "dedgrp.ben.pts.extact": [ + { type: "string", required: true, message: "必输项" }, + { max: 34, message: "长度不能超过34" } ], - "dedgrp.rec.opndat":[ - {type: "date", required: false, message: "输入正确的日期"} + "dedgrp.rec.opndat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "dedgrp.beb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.beb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.rec.expdat":[ - {type: "date", required: true, message: "输入正确的日期"} + "dedgrp.rec.expdat": [ + { type: "date", required: true, message: "输入正确的日期" } ], - "dedgrp.beb.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.beb.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.expplc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.expplc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.shpdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "dedgrp.rec.shpdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "dedgrp.apl.pts.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.apl.pts.ref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.aplp.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "detp.aplp.ptsget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.apl.pts.extkey":[ - {type: "string", required: true, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.apl.pts.extkey": [ + { type: "string", required: true, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "detp.aplp.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "detp.aplp.ptsget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "dedgrp.apl.namelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apl.namelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apl.pts.adrblk":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apl.pts.adrblk": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apl.dbfadrblkcn":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apl.dbfadrblkcn": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.tenmaxday":[ - {required: true, message: "必输项"}, - {type:"number", max:9999, message: "大小不超过9999" } + "dedgrp.rec.tenmaxday": [ + { required: true, message: "必输项" }, + { type: "number", max: 9999, message: "大小不超过9999" } ], - "dedgrp.blk.defdet":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.blk.defdet": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apl.adrelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apl.adrelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.blk.dftat":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.blk.dftat": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.blk.preper":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.blk.preper": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "detp.dzlhhh":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "detp.dzlhhh": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.blk.rejadvrsn":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.blk.rejadvrsn": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.blk.lcrgod":[ - {type: "string", required: false, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "dedgrp.blk.lcrgod": [ + { type: "string", required: false, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "dedgrp.blk.lcrdoc":[ - {type: "string", required: false, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "dedgrp.blk.lcrdoc": [ + { type: "string", required: false, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "dedgrp.blk.adlcnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "dedgrp.blk.adlcnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "dedgrp.blk.insbnk":[ - {type: "string", required: false, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "dedgrp.blk.insbnk": [ + { type: "string", required: false, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "dedgrp.rmb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.rmb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.rmb.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rmb.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.avb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.avb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.avb.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.avb.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rmb.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rmb.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.avb.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.avb.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.cmb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.cmb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.cmb.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.cmb.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.adv.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.adv.pts.extkey": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.cmb.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.cmb.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.adv.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.adv.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.adv.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.adv.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apc.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.apc.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.adv.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.adv.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apc.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apc.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.adv.pts.youzbm":[ - {type: "string", required: false, message: "必输项"}, - {max: 6,message:"长度不能超过6"} + "dedgrp.adv.pts.youzbm": [ + { type: "string", required: false, message: "必输项" }, + { max: 6, message: "长度不能超过6" } ], - "dedgrp.adv.pts.dihdig":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.adv.pts.dihdig": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.apc.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apc.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.kzref":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.kzref": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.iss.pts.extkey":[ - {type: "string", required: true, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.iss.pts.extkey": [ + { type: "string", required: true, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.apc.pts.youzbm":[ - {type: "string", required: false, message: "必输项"}, - {max: 6,message:"长度不能超过6"} + "dedgrp.apc.pts.youzbm": [ + { type: "string", required: false, message: "必输项" }, + { max: 6, message: "长度不能超过6" } ], - "dedgrp.apc.pts.dihdig":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.apc.pts.dihdig": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.iss.pts.bankno":[ - {type: "string", required: true, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.iss.pts.bankno": [ + { type: "string", required: true, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.apl.pts.extact":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} + "dedgrp.apl.pts.extact": [ + { type: "string", required: false, message: "必输项" }, + { max: 34, message: "长度不能超过34" } ], - "dedgrp.iss.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.iss.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "dedgrp.apb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "dedgrp.iss.pts.dizhii":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.iss.pts.dizhii": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.apb.pts.jigomc":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.apb.pts.jigomc": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.iss.pts.youzbm":[ - {type: "string", required: false, message: "必输项"}, - {max: 6,message:"长度不能超过6"} + "dedgrp.iss.pts.youzbm": [ + { type: "string", required: false, message: "必输项" }, + { max: 6, message: "长度不能超过6" } ], - "dedgrp.iss.pts.dihdig":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "dedgrp.iss.pts.dihdig": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "dedgrp.rec.idcode":[ - {type: "string", required: false, message: "必输项"}, - {max: 18,message:"长度不能超过18"} + "dedgrp.rec.idcode": [ + { type: "string", required: false, message: "必输项" }, + { max: 18, message: "长度不能超过18" } ], - "dedgrp.rec.shpfro":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.shpfro": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.fqtime":[ - {type: "string", required: false, message: "必输项"}, - {max: 140,message:"长度不能超过140"} + "dedgrp.rec.fqtime": [ + { type: "string", required: false, message: "必输项" }, + { max: 140, message: "长度不能超过140" } ], - "dedgrp.rec.shpto":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.shpto": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.sdsrfs":[ - {type: "string", required: false, message: "必输项"}, - {max: 140,message:"长度不能超过140"} + "dedgrp.rec.sdsrfs": [ + { type: "string", required: false, message: "必输项" }, + { max: 140, message: "长度不能超过140" } ], - "dedgrp.rec.shppro":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.shppro": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.conno":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.conno": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.conamt":[ - {type: "string", required: false, message: "必输项"}, - {max: 17,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } + "dedgrp.rec.conamt": [ + { type: "string", required: false, message: "必输项" }, + { max: 17, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } ], - "dedgrp.blk.stamet":[ - {type: "string", required: true, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "dedgrp.blk.stamet": [ + { type: "string", required: true, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "dedgrp.cbs.max2.amt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "dedgrp.cbs.max2.amt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "dedgrp.cbs.opn2.amt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "dedgrp.cbs.opn2.amt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "dedgrp.blk.addamtcov":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.blk.addamtcov": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.avbby":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.avbby": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.rec.lcrtyp":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.rec.lcrtyp": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "dedgrp.cbs.nom1.cur":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "dedgrp.cbs.nom1.cur": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], } \ No newline at end of file diff --git a/src/model/Ditopn/Event.js b/src/model/Ditopn/Event.js index efdf4d6..4101cda 100644 --- a/src/model/Ditopn/Event.js +++ b/src/model/Ditopn/Event.js @@ -5,7 +5,7 @@ export default { let rtnmsg = await this.executeRule("ditp.butgetref") if (rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Getopn/Check.js b/src/model/Getopn/Check.js new file mode 100644 index 0000000..731b4f1 --- /dev/null +++ b/src/model/Getopn/Check.js @@ -0,0 +1,111 @@ +import Utils from "~/utils" + +/** +* Getopn Check规则 +*/ +let checkObj = { + "gidgrp.blk.gidtxt" :null, + "gidgrp.rec.tenref" :null, + "gidgrp.rec.giduil" :null, + "gidgrp.rec.gartyp" :null, + "gidgrp.rec.jurlaws20" :null, + "gitp.aamp.aammod.addamtflg" :null, + "gidgrp.ben.pts.adrblk" :null, + "gidgrp.blk.atxexptxt" :null, + "gidgrp.atb.pts.adrblk" :null, + "gidgrp.con.pts.adrblk" :null, + "gitp.liatxtcmodflg" :null, + "gidgrp.rec.orcamt" :null, + "gidgrp.ben.adrelc" :null, + "gitp.usr.extkey" :null, + "gidgrp.rec.exptyp" :null, + "gidgrp.ctr.pts.extkey" :null, + "gidgrp.cnr.pts.extkey" :null, + "gidgrp.rec.liadat" :null, + "gidgrp.con.adrelc" :null, + "gidgrp.blk.liatxtc" :null, + "gitp.exptxtmodflg" :null, + "gidgrp.rec.gtxinr" :null, + "gidgrp.rec.vrfdat" :null, + "gidgrp.rec.tendat" :null, + "gidgrp.rec.purpos" :null, + "gidgrp.gidcxm.cxmflg" :null, + "gidgrp.rec.autrnwflg" :null, + "gidgrp.rec.legfrm" :null, + "gidgrp.apl.pts.extkey" :null, + "gidgrp.apl.namelc" :null, + "gidgrp.rec.liatypc" :null, + "gidgrp.blk.orcplc" :null, + "gidgrp.atb.adrelc" :null, + "gidgrp.rec.revflg" :null, + "gidgrp.blk.addinf" :null, + "gidgrp.cnr.namelc" :null, + "gidgrp.rec.opndat" :null, + "gidgrp.iss.adrelc" :null, + "gidgrp.rec.hndtyp" :null, + "gidgrp.adv.namelc" :null, + "gidgrp.rec.partcon" :null, + "gitp.swiftflg" :null, + "gidgrp.bdb.pts.extkey" :null, + "gidgrp.iss.pts.adrblk" :null, + "gidgrp.adv.pts.adrblk" :null, + "gidgrp.rec.orcref" :null, + "gidgrp.ctr.namelc" :null, + "gidgrp.con.pts.extkey" :null, + "gidgrp.rec.tenclsdat" :null, + "gidgrp.cbs.cnf.amt" :null, + "gidgrp.blk.gtxgidtxt" :null, + "gidgrp.rec.cnfdet" :null, + "gidgrp.bdb.adrelc" :null, + "gidgrp.ctr.adrelc" :null, + "gidgrp.blk.covgodsrv" :null, + "gidgrp.blk.atxcovgodsrv" :null, + "gidgrp.cnr.adrelc" :null, + "gidgrp.con.namelc" :null, + "gitp.covgodsrvmodflg" :null, + "gidgrp.rec.orcrat" :null, + "gidgrp.ben.namelc" :null, + "gidgrp.cbs.max.cur" :null, + "gidgrp.ghd.aplnam" :null, + "gidgrp.rec.expflg" :null, + "gidgrp.cnr.pts.adrblk" :null, + "gidgrp.apl.pts.ref" :null, + "gidgrp.ctr.pts.adrblk" :null, + "gidgrp.atb.namelc" :null, + "gidgrp.rec.orddat" :null, + "gidgrp.rec.orcdat" :null, + "gidgrp.rec.stacty" :null, + "gidgrp.blk.exptxt" :null, + "gidgrp.atb.pts.extkey" :null, + "gidgrp.blk.atxliatxtc" :null, + "gidgrp.rec.jurplc" :null, + "gidgrp.rec.mannum" :null, + "gidgrp.blk.apprul" :null, + "gidgrp.apl.pts.adrblk" :null, + "gidgrp.rec.jurlaw" :null, + "gidgrp.rec.acc" :null, + "gidgrp.rec.inudat" :null, + "gidgrp.iss.pts.ref" :null, + "gitp.gidtxtmodflg" :null, + "gidgrp.bdb.namelc" :null, + "gidgrp.rec.expdat" :null, + "gidgrp.rec.trmdat" :null, + "gidgrp.rec.ownref" :null, + "gidgrp.apl.adrelc" :null, + "gidgrp.adv.adrelc" :null, + "gidgrp.blk.apprultxt" :null, + "gidgrp.iss.namelc" :null, + "gidgrp.adv.pts.extkey" :null, + "gidgrp.cbs.max.amt" :null, + "gidgrp.iss.pts.extkey" :null, + "gidgrp.ben.pts.extkey" :null, + "gidgrp.bdb.pts.adrblk" :null, +} + +for (const key in checkObj) { + if (Object.hasOwnProperty.call(checkObj, key)) { + checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key) + } +} +export default checkObj + diff --git a/src/model/Getopn/Default.js b/src/model/Getopn/Default.js new file mode 100644 index 0000000..5e44fb8 --- /dev/null +++ b/src/model/Getopn/Default.js @@ -0,0 +1,122 @@ + +/** +* Getopn Default规则 +*/ +import Api from "~/service/Api"; +import Utils from "~/utils/index" + +export default { + "gidgrp.blk.atxexptxt" :Utils.defaultFunction, + "gidgrp.blk.exptxt" :Utils.defaultFunction, + "gidgrp.rec.purpos" :Utils.defaultFunction, + "gidgrp.rec.atxinr" :Utils.defaultFunction, + "gidgrp.rec.secuilflg" :Utils.defaultFunction, + "gidgrp.cbs.max.cur" :Utils.defaultFunction, + "gidgrp.rec.fingua" :Utils.defaultFunction, + "gidgrp.con.pts.extkey" :Utils.defaultFunction, + "gidgrp.con.adrelc" :Utils.defaultFunction, + "gidgrp.con.namelc" :Utils.defaultFunction, + "gidgrp.con.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.con.pts.adrblk" :Utils.defaultFunction, + "gidgrp.rec.purposin" :Utils.defaultFunction, + "gidgrp.rec.liatypc" :Utils.defaultFunction, + "gidgrp.rec.expdat" :Utils.defaultFunction, + "gidgrp.rec.expflg" :Utils.defaultFunction, + "gidgrp.adv.pts.extkey" :Utils.defaultFunction, + "gidgrp.adv.adrelc" :Utils.defaultFunction, + "gidgrp.adv.namelc" :Utils.defaultFunction, + "gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.rec.ownref" :Utils.defaultFunction, + "gidgrp.rec.exptyp" :Utils.defaultFunction, + "gidgrp.ghd.segtyp" :Utils.defaultFunction, + "gidgrp.rec.tendat" :Utils.defaultFunction, + "gidgrp.rec.giduil" :Utils.defaultFunction, + "gidgrp.rec.gartyp" :Utils.defaultFunction, + "gidgrp.cbs.max.amt" :Utils.defaultFunction, + "gitp.gidtxtmodflg" :Utils.defaultFunction, + "gidgrp.rec.revflg" :Utils.defaultFunction, + "gidgrp.rec.gtxinr" :Utils.defaultFunction, + "gidgrp.blk.gtxgidtxt" :Utils.defaultFunction, + "gidgrp.blk.gidtxt" :Utils.defaultFunction, + "gitp.swiftflg" :Utils.defaultFunction, + "gidgrp.cnr.pts.extkey" :Utils.defaultFunction, + "gidgrp.cnr.adrelc" :Utils.defaultFunction, + "gidgrp.cnr.namelc" :Utils.defaultFunction, + "gidgrp.cnr.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.cnr.pts.adrblk" :Utils.defaultFunction, + "gidgrp.apl.pts.extkey" :Utils.defaultFunction, + "gidgrp.apl.adrelc" :Utils.defaultFunction, + "gidgrp.apl.namelc" :Utils.defaultFunction, + "gidgrp.apl.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.atb.pts.extkey" :Utils.defaultFunction, + "gidgrp.ben.pts.extkey" :Utils.defaultFunction, + "gidgrp.rec.orcdat" :Utils.defaultFunction, + "gidgrp.rec.hndtyp" :Utils.defaultFunction, + "gidgrp.ghd.bustyp" :Utils.defaultFunction, + "gidgrp.apl.pts.adrblk" :Utils.defaultFunction, + "gidgrp.rec.mannum" :Utils.defaultFunction, + "gidgrp.bdb.pts.extkey" :Utils.defaultFunction, + "gidgrp.rec.orccur" :Utils.defaultFunction, + "gitp.exptxtmodflg" :Utils.defaultFunction, + "gidgrp.blk.liatxtc" :Utils.defaultFunction, + "gidgrp.blk.atxliatxtc" :Utils.defaultFunction, + "gidgrp.atb.adrelc" :Utils.defaultFunction, + "gidgrp.atb.namelc" :Utils.defaultFunction, + "gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.atb.pts.adrblk" :Utils.defaultFunction, + "gitp.usr.extkey" :Utils.defaultFunction, + "gidgrp.rec.liadat" :Utils.defaultFunction, + "gidgrp.rec.legfrm" :Utils.defaultFunction, + "gidgrp.iss.pts.extkey" :Utils.defaultFunction, + "gidgrp.iss.adrelc" :Utils.defaultFunction, + "gidgrp.iss.namelc" :Utils.defaultFunction, + "gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction, + "gitp.inc760" :Utils.defaultFunction, + "gidgrp.blk.covgodsrv" :Utils.defaultFunction, + "gidgrp.blk.atxcovgodsrv" :Utils.defaultFunction, + "gidgrp.adv.pts.adrblk" :Utils.defaultFunction, + "gidgrp.rec.cnfsta" :Utils.defaultFunction, + "gidgrp.cbs.cnf.amt" :Utils.defaultFunction, + "gidgrp.rec.partcon" :Utils.defaultFunction, + "gidgrp.cbs.cnf.cur" :Utils.defaultFunction, + "gidgrp.rec.opndat" :Utils.defaultFunction, + "gidgrp.ctr.pts.adrblk" :Utils.defaultFunction, + "gitp.aamp.aammod.addamtflg" :Utils.defaultFunction, + "gidgrp.rec.rmbflg" :Utils.defaultFunction, + "gidgrp.rec.reccnfdet" :Utils.defaultFunction, + "gidgrp.ctr.pts.extkey" :Utils.defaultFunction, + "gidgrp.ctr.adrelc" :Utils.defaultFunction, + "gidgrp.ctr.namelc" :Utils.defaultFunction, + "gidgrp.ctr.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.cbs.opn1.amt" :Utils.defaultFunction, + "gidgrp.rec.trmdat" :Utils.defaultFunction, + "gidgrp.bdb.adrelc" :Utils.defaultFunction, + "gidgrp.bdb.namelc" :Utils.defaultFunction, + "gidgrp.bdb.dbfadrblkcn" :Utils.defaultFunction, + "gidgrp.bdb.pts.adrblk" :Utils.defaultFunction, + "gitp.inccormsgflg" :Utils.defaultFunction, + "gidgrp.ben.pts.adrblk" :Utils.defaultFunction, + "gidgrp.rec.jurlaws20" :Utils.defaultFunction, + "gidgrp.rec.cnfdat" :Utils.defaultFunction, + "gidgrp.ben.adrelc" :Utils.defaultFunction, + "gidgrp.ben.namelc" :Utils.defaultFunction, + "gidgrp.ben.dbfadrblkcn" :Utils.defaultFunction, + "gitp.covgodsrvmodflg" :Utils.defaultFunction, + "gidgrp.rec.liaflg" :Utils.defaultFunction, + "gitp.liatxtcmodflg" :Utils.defaultFunction, + "gitp.aplsupflg" :Utils.defaultFunction, + "gidgrp.rec.stacty" :Utils.defaultFunction, + "gidgrp.blk.apprul" :Utils.defaultFunction, + "gitp.drpreflg" :Utils.defaultFunction, + "gidgrp.rec.tenclsdat" :Utils.defaultFunction, + "gidgrp.rec.orcamt" :Utils.defaultFunction, + "gidgrp.rec.cnfdet" :Utils.defaultFunction, + "gidgrp.rec.orcrat" :Utils.defaultFunction, + "gidgrp.iss.pts.adrblk" :Utils.defaultFunction, + "gidgrp.ghd.aplnam" :Utils.defaultFunction, + "gidgrp.rec.vrfdat" :Utils.defaultFunction, + "gidgrp.rec.orddat" :Utils.defaultFunction, + "gidgrp.rec.inudat" :Utils.defaultFunction, + "gidgrp.rec.autrnwflg" :Utils.defaultFunction, +} +//你可以添加自动default处理 diff --git a/src/model/Getopn/Event.js b/src/model/Getopn/Event.js new file mode 100644 index 0000000..2e5d60d --- /dev/null +++ b/src/model/Getopn/Event.js @@ -0,0 +1,270 @@ +import Api from "~/service/Api" +import Utils from "~/utils" + +export default { + async onGitpButgetref(){ + let rtnmsg = await this.executeRule("gitp.butgetref") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onAplpDet(){ + let rtnmsg = await this.executeRule("aplp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onIsspDet(){ + let rtnmsg = await this.executeRule("issp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onAdvpDet(){ + let rtnmsg = await this.executeRule("advp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpWbxs(){ + let rtnmsg = await this.executeRule("gitp.wbxs") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpYptxy(){ + let rtnmsg = await this.executeRule("gitp.yptxy") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifexptxt(){ + let rtnmsg = await this.executeRule("gitp.butdifexptxt") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBenpDet(){ + let rtnmsg = await this.executeRule("benp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifhisexptxt(){ + let rtnmsg = await this.executeRule("gitp.butdifhisexptxt") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifliatxtc(){ + let rtnmsg = await this.executeRule("gitp.butdifliatxtc") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifhisliatxtc(){ + let rtnmsg = await this.executeRule("gitp.butdifhisliatxtc") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onConpDet(){ + let rtnmsg = await this.executeRule("conp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBdbpDet(){ + let rtnmsg = await this.executeRule("bdbp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCtrpDet(){ + let rtnmsg = await this.executeRule("ctrp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onAtbpDet(){ + let rtnmsg = await this.executeRule("atbp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifcovgodsrv(){ + let rtnmsg = await this.executeRule("gitp.butdifcovgodsrv") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifhiscovgodsrv(){ + let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrv") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdif(){ + let rtnmsg = await this.executeRule("gitp.butdif") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifhis(){ + let rtnmsg = await this.executeRule("gitp.butdifhis") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpShwgidtxt(){ + let rtnmsg = await this.executeRule("gitp.shwgidtxt") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpGidtxtmod(){ + let rtnmsg = await this.executeRule("gitp.gidtxtmod") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCnrpDet(){ + let rtnmsg = await this.executeRule("cnrp.det") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + +} \ No newline at end of file diff --git a/src/model/Getopn/Pattern.js b/src/model/Getopn/Pattern.js new file mode 100644 index 0000000..df2c428 --- /dev/null +++ b/src/model/Getopn/Pattern.js @@ -0,0 +1,591 @@ +export default { + + + + + "gitp.recget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.rec.ownref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.recget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gidgrp.rec.nam":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + + "gidgrp.cbs.max.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "gidgrp.apl.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "gidgrp.cbs.opn1.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "gidgrp.cbs.opn1.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + + "gidgrp.rec.oldref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "gitp.aplp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.apl.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.aplp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + + "gidgrp.apl.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.apl.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.apl.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "gitp.usr.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "gitp.usrget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + + "gidgrp.apl.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + + + "gidgrp.rec.gartypin":[ + {type: "string", required: false, message: "必输项"}, + {max: 4,message:"长度不能超过4"} + ], + "gitp.lettername":[ + {type: "string", required: false, message: "必输项"}, + {max: 60,message:"长度不能超过60"} + ], + "gidgrp.blk.gartyptxtin":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + + + "gidgrp.adv.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.iss.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.rec.vrfdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "gidgrp.rec.orddat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "gitp.issp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.advp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.iss.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.issp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gidgrp.adv.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.advp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + + "gidgrp.iss.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.adv.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.iss.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.iss.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.adv.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.adv.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + + "gidgrp.rec.opndat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.iss.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.adv.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "gidgrp.blk.apprultxt":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + + "gidgrp.rec.expdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "gidgrp.ben.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.blk.exptxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "gidgrp.blk.atxexptxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "gidgrp.rec.inudat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gitp.benp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.ben.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.benp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + + + + "gidgrp.rec.liadat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + "gidgrp.ben.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ben.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ben.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.blk.liatxtc":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "gidgrp.blk.atxliatxtc":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + "gidgrp.ben.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.gidcxm.warran":[ + {type: "string", required: false, message: "必输项"}, + {max: 40,message:"长度不能超过40"} + ], + + + + + + "gidgrp.con.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.ctr.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + + "gidgrp.atb.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.conp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.bdbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.con.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.conp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gitp.ctrp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + "gidgrp.bdb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.bdbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gidgrp.ctr.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.ctrp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gitp.atbp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.atb.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.atbp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gidgrp.con.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.bdb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ctr.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.con.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.con.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.bdb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.bdb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ctr.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ctr.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.atb.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.atb.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.atb.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.con.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.bdb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ctr.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.atb.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + "gidgrp.rec.orcref":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ghd.aplnam":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "gidgrp.rec.orcdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.bngcod":[ + {type: "string", required: false, message: "必输项"}, + {max: 10,message:"长度不能超过10"} + ], + "gidgrp.rec.tenclsdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.juscod":[ + {type: "string", required: false, message: "必输项"}, + {max: 10,message:"长度不能超过10"} + ], + "gidgrp.blk.covgodsrv":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.blk.atxcovgodsrv":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + "gidgrp.rec.bilvvv":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "gitp.indirectswiadd":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "gidgrp.rec.orcrat":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + + "gidgrp.rec.orcamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "gidgrp.blk.orcplc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.acc":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "gidgrp.rec.jurlaw":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.jurplc":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.tenref":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.tendat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.trmdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.ghd.remark":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.mannum":[ + {type: "string", required: false, message: "必输项"}, + {max: 12,message:"长度不能超过12"} + ], + "gidgrp.blk.addinf":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + "gidgrp.ghd.wahnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "gidgrp.gidcxm.benefi":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + + "gidgrp.blk.gidtxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "gidgrp.blk.gtxgidtxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + + + "gidgrp.cbs.cnf.cur":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + "gidgrp.cbs.cnf.amt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "gidgrp.rec.partcon":[ + {type: "string", required: false, message: "必输项"}, + {max: 5,message:"长度不能超过5"} + ], + + "gidgrp.rec.cnfdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.cnr.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.con.pts.ref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.cnrp.ptsget.sdamod.dadsnd":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gidgrp.cnr.pts.extkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "gitp.cnrp.ptsget.sdamod.seainf":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + "gidgrp.cnr.namelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.cnr.pts.adrblk":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.cnr.dbfadrblkcn":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.cnr.adrelc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], +} \ No newline at end of file diff --git a/src/model/Getopn/index.js b/src/model/Getopn/index.js new file mode 100644 index 0000000..5d34eff --- /dev/null +++ b/src/model/Getopn/index.js @@ -0,0 +1,293 @@ +import Api from "~/service/Api" +import Pts from "../Common/Pts" + +export default class Getopn{ + constructor () { + this.data = { + gitp:{ + swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg + recget:{ + sdamod:{ + seainf:"", // Reference .gitp.recget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.recget.sdamod.dadsnd + }, + }, + aamp:{ + aammod:{ + addamtflg:"", // Add. Amount .gitp.aamp.aammod.addamtflg + }, + }, + exptxtmodflg:"", // Modify Expiry Condition/Event .gitp.exptxtmodflg + liatxtcmodflg:"", // Modify Liability Condition/Event - Counter Undertaking .gitp.liatxtcmodflg + usr:{ + extkey:"", // Responsible User .gitp.usr.extkey + }, + usrget:{ + sdamod:{ + seainf:"", // .gitp.usrget.sdamod.seainf + }, + }, + inccormsgflg:"", // Incoming Corporate Message Flag .gitp.inccormsgflg + drpreflglab1:"", // Label for Type of Request .gitp.drpreflglab1 + inc760:"", // incoming lose .gitp.inc760 + morapllab:"", // Label set if nore than one applicant .gitp.morapllab + drpreflglab:"", // Label for Type of Request .gitp.drpreflglab + bantyp:"", // bank typ .gitp.bantyp + letterlabel:"", // LETTERLABEL .gitp.letterlabel + oppbnkl:"", // 对手行代码 .gitp.oppbnkl + drpreflg:"", // Type of Request .gitp.drpreflg + aplp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.aplp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.aplp.ptsget.sdamod.dadsnd + }, + }, + }, + benp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.benp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.benp.ptsget.sdamod.dadsnd + }, + }, + }, + issp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.issp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.issp.ptsget.sdamod.dadsnd + }, + }, + }, + advp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.advp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.advp.ptsget.sdamod.dadsnd + }, + }, + }, + lettername:"", // 面函标题 .gitp.lettername + dzbhflg:"", // 电子保函标志 .gitp.dzbhflg + ctrp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.ctrp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.ctrp.ptsget.sdamod.dadsnd + }, + }, + }, + aplsupflg:"", // Suppress Applicant in 760 Seqence B Flag .gitp.aplsupflg + atbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.atbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.atbp.ptsget.sdamod.dadsnd + }, + }, + }, + labapl:"", // Label of apl .gitp.labapl + labctr:"", // Label of CTR .gitp.labctr + labaplref:"", // Label of APL's ref .gitp.labaplref + labctrref:"", // Label of CTR's ref .gitp.labctrref + labissbak:"", // Label of issue bank .gitp.labissbak + labissref:"", // Label of issue bank's ref .gitp.labissref + conp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.conp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.conp.ptsget.sdamod.dadsnd + }, + }, + }, + bdbp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.bdbp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.bdbp.ptsget.sdamod.dadsnd + }, + }, + }, + laborcdat:"", // Label for Contract Date .gitp.laborcdat + labaddinf:"", // Label for Additional Info .gitp.labaddinf + covgodsrvmodflg:"", // Modify Object of Contract .gitp.covgodsrvmodflg + covgod:{ + chkast:"", // Allow * .gitp.covgod.chkast + }, + aplnamtxt:"", // 申请人名称 .gitp.aplnamtxt + indirectswiadd:"", // InDirect Swift Add .gitp.indirectswiadd + gidtxtmodflg:"", // Modify Guarantee Text .gitp.gidtxtmodflg + chkgidtxt:"", // Allow * .gitp.chkgidtxt + cnrp:{ + ptsget:{ + sdamod:{ + seainf:"", // .gitp.cnrp.ptsget.sdamod.seainf + dadsnd:"", // Drag Drop Sender .gitp.cnrp.ptsget.sdamod.dadsnd + }, + }, + }, + }, + gidgrp:{ + rec:{ + fingua:"", // 是否对外担保 .gidgrp.rec.fingua + cfaguatyp:"", // 对外担保类型 .gidgrp.rec.cfaguatyp + cmtflg:"", // 跨境人民币保函 .gidgrp.rec.cmtflg + ownref:"", // Reference .gidgrp.rec.ownref + resflg:"", // Reserved Contract .gidgrp.rec.resflg + rejflg:"", // Direct rejection .gidgrp.rec.rejflg + drpreflg:"", // Type of Request .gidgrp.rec.drpreflg + purposin:"", // Incoming Purpose .gidgrp.rec.purposin + purpos:"", // Outgoing Purpose .gidgrp.rec.purpos + hndtyp:"", // Handling Type .gidgrp.rec.hndtyp + gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp + gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin + legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm + demand:"", // Demand Indicator .gidgrp.rec.demand + giduil:"", // Language of Undertak. .gidgrp.rec.giduil + secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg + gtxinr:"", // Choice of Text .gidgrp.rec.gtxinr + atxinr:"", // Choice of Text .gidgrp.rec.atxinr + exptyp:"", // Expiry Type .gidgrp.rec.exptyp + expdat:"", // Validity until .gidgrp.rec.expdat + liatypc:"", // Liability Type .gidgrp.rec.liatypc + liadat:"", // Our Liability until .gidgrp.rec.liadat + oldref:"", // Old Reference .gidgrp.rec.oldref + revflg:"", // Declaration of Indemnity .gidgrp.rec.revflg + autrnwflg:"", // Auto-Renewal .gidgrp.rec.autrnwflg + rmbflg:"", // Reimbursement Information .gidgrp.rec.rmbflg + orddat:"", // Order Date .gidgrp.rec.orddat + opndat:"", // Valid from .gidgrp.rec.opndat + expflg:"", // Unlimited Guarantee .gidgrp.rec.expflg + liaflg:"", // Unlimited Liability .gidgrp.rec.liaflg + nam:"", // Name .gidgrp.rec.nam + inudat:"", // Inure Date .gidgrp.rec.inudat + teskeyunc:"", // Test Key Unconfirmity .gidgrp.rec.teskeyunc + guaflg:"", // Mortgage Flag .gidgrp.rec.guaflg + vrfdat:"", // 核销日期 .gidgrp.rec.vrfdat + fenlishi:"", // 是否分离式保函 .gidgrp.rec.fenlishi + stacty:"", // Risk Country .gidgrp.rec.stacty + orcref:"", // Contract Reference .gidgrp.rec.orcref + orcdat:"", // Date from Original Contract .gidgrp.rec.orcdat + tenclsdat:"", // Closing Date .gidgrp.rec.tenclsdat + orcrat:"", // Original Perc./ Rate .gidgrp.rec.orcrat + orccur:"", // Contract Amount .gidgrp.rec.orccur + orcamt:"", // Contract Amount .gidgrp.rec.orcamt + acc:"", // A/c for Adv. Paym. Guar. .gidgrp.rec.acc + jurlaws20:"", // Governing Law .gidgrp.rec.jurlaws20 + jurlaw:"", // Law of Jurisdiction .gidgrp.rec.jurlaw + jurplc:"", // Place of Jurisdiction .gidgrp.rec.jurplc + tenref:"", // Tender Reference .gidgrp.rec.tenref + tendat:"", // Tender Date .gidgrp.rec.tendat + trmdat:"", // Latest Transmiss. Date .gidgrp.rec.trmdat + juscod:"", // 组织机构代码 .gidgrp.rec.juscod + cunqii:"", // 流动资金贷款利率档次 .gidgrp.rec.cunqii + bilvvv:"", // 上浮比率 .gidgrp.rec.bilvvv + bngcod:"", // 企业海关编码 .gidgrp.rec.bngcod + mannum:"", // 手册号码 .gidgrp.rec.mannum + cnfsta:"", // Confirmation Status .gidgrp.rec.cnfsta + partcon:"", // Partial Confirmation .gidgrp.rec.partcon + cnfdat:"", // Confirmation Date .gidgrp.rec.cnfdat + reccnfdet:"", // Confirm. Instr. .gidgrp.rec.reccnfdet + cnfdet:"", // Confirm. Instr. .gidgrp.rec.cnfdet + }, + cbs:{ + max:{ + cur:"", // Guarantee Amount .gidgrp.cbs.max.cur + amt:"", // Guarantee Amount .gidgrp.cbs.max.amt + }, + opn1:{ + cur:"", // Open Amount .gidgrp.cbs.opn1.cur + amt:"", // Balance .gidgrp.cbs.opn1.amt + }, + cnf:{ + cur:"", // Confirmation Amount .gidgrp.cbs.cnf.cur + amt:"", // Balance .gidgrp.cbs.cnf.amt + }, + }, + blk:{ + gartyptxtin:"", // Specification of Type of Undertaking - Counter Undertaking .gidgrp.blk.gartyptxtin + apprul:"", // Applicable Rules .gidgrp.blk.apprul + apprultxt:"", // Applicable Rules .gidgrp.blk.apprultxt + exptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.exptxt + atxexptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt + liatxtc:"", // Liability Condition .gidgrp.blk.liatxtc + atxliatxtc:"", // Liability Condition .gidgrp.blk.atxliatxtc + covgodsrv:"", // Object of Contract .gidgrp.blk.covgodsrv + orcplc:"", // Original Contract Place .gidgrp.blk.orcplc + addinf:"", // Additional Info .gidgrp.blk.addinf + atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv + gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt + gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt + }, + apl:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.apl.namelc + adrelc:"", // 地址 .gidgrp.apl.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.apl.dbfadrblkcn + }, + ben:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.ben.namelc + adrelc:"", // 地址 .gidgrp.ben.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.ben.dbfadrblkcn + }, + iss:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.iss.namelc + adrelc:"", // 地址 .gidgrp.iss.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.iss.dbfadrblkcn + }, + adv:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.adv.namelc + adrelc:"", // 地址 .gidgrp.adv.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.adv.dbfadrblkcn + }, + ghd:{ + segtyp:"", // 特殊保函类型 .gidgrp.ghd.segtyp + bustyp:"", // 业务类型 .gidgrp.ghd.bustyp + wahnum:"", // 仓库号 .gidgrp.ghd.wahnum + remark:"", // 备注 .gidgrp.ghd.remark + aplnam:"", // 申请人名称关税保函专用 .gidgrp.ghd.aplnam + }, + gidcxm:{ + warran:"", // 被保证人 .gidgrp.gidcxm.warran + cxmflg:"", // 是否显示查询码 .gidgrp.gidcxm.cxmflg + benefi:"", // 受益人名称 .gidgrp.gidcxm.benefi + }, + ctr:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.ctr.namelc + adrelc:"", // 地址 .gidgrp.ctr.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.ctr.dbfadrblkcn + }, + atb:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.atb.namelc + adrelc:"", // 地址 .gidgrp.atb.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.atb.dbfadrblkcn + }, + con:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.con.namelc + adrelc:"", // 地址 .gidgrp.con.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.con.dbfadrblkcn + }, + bdb:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.bdb.namelc + adrelc:"", // 地址 .gidgrp.bdb.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.bdb.dbfadrblkcn + }, + cnr:{ + pts:new Pts().data, + namelc:"", // 名称 .gidgrp.cnr.namelc + adrelc:"", // 地址 .gidgrp.cnr.adrelc + dbfadrblkcn:"", // Chinese address .gidgrp.cnr.dbfadrblkcn + }, + }, + pageId: "" // ctx的key + } + } +} \ No newline at end of file diff --git a/src/model/Gitame/Check.js b/src/model/Gitame/Check.js index ec8650e..9f0a92b 100644 --- a/src/model/Gitame/Check.js +++ b/src/model/Gitame/Check.js @@ -7,7 +7,9 @@ let checkObj = { "gidgrp.bec.pts.extkey" :null, "gidgrp.avc.pts.extkey" :null, "gidgrp.blk.gidtxt" :null, + "gidgrp.rec.tenref" :null, "gidgrp.rec.giduil" :null, + "gidgrp.rec.jurlaws20" :null, "trnmod.swiadd.addamtcovc" :null, "gitp.aamp.aammod.addamtflg" :null, "gidgrp.ben.pts.adrblk" :null, @@ -16,9 +18,9 @@ let checkObj = { "gidgrp.con.pts.adrblk" :null, "gitp.liatxtcmodflg" :null, "trnmod.swiadd.exptxt" :null, + "gidgrp.rec.orcamt" :null, "addbcb.gitamecho" :null, "gidgrp.apc.namelc" :null, - "setmod.dspflg" :null, "gidgrp.ben.adrelc" :null, "gitp.usr.extkey" :null, "trnmod.swiadd.amenbr" :null, @@ -43,6 +45,7 @@ let checkObj = { "trnmod.swiadd.amedat" :null, "gidgrp.rec.gtxinr" :null, "gidgrp.rec.vrfdat" :null, + "gidgrp.rec.tendat" :null, "gidgrp.rec.purpos" :null, "gidgrp.gidcxm.cxmflg" :null, "gitamep.amenumjmg" :null, @@ -58,8 +61,10 @@ let checkObj = { "gidgrp.rec.accc" :null, "gidgrp.rec.liatypc" :null, "gidgrp.rec.autrnwflgc" :null, + "gidgrp.blk.orcplc" :null, "gidgrp.atb.adrelc" :null, "gidgrp.rec.revflg" :null, + "gidgrp.blk.addinf" :null, "gidgrp.cnr.namelc" :null, "gidgrp.iss.adrelc" :null, "gidgrp.rec.hndtyp" :null, @@ -73,6 +78,7 @@ let checkObj = { "gidgrp.blk.atxpreperc" :null, "gidgrp.apc.pts.adrblk" :null, "gidgrp.adv.pts.adrblk" :null, + "gidgrp.rec.orcref" :null, "gidgrp.bec.pts.adrblk" :null, "gidgrp.ctr.namelc" :null, "gidgrp.blk.atxpreper" :null, @@ -80,6 +86,7 @@ let checkObj = { "gidgrp.rec.orcamtc" :null, "trnmod.swiadd.liatxtc" :null, "gidgrp.con.pts.extkey" :null, + "gidgrp.rec.tenclsdat" :null, "gidgrp.blk.gtxgidtxtc" :null, "trnmod.swiadd.newamt" :null, "gidgrp.rec.tendatc" :null, @@ -88,12 +95,17 @@ let checkObj = { "gidgrp.rec.cnfdet" :null, "gidgrp.bdb.adrelc" :null, "gidgrp.ctr.adrelc" :null, + "gidgrp.blk.covgodsrv" :null, + "gidgrp.blk.atxcovgodsrv" :null, "gidgrp.cnr.adrelc" :null, "gidgrp.con.namelc" :null, + "gitp.covgodsrvmodflg" :null, "trnmod.swiadd.addamtcov" :null, + "gidgrp.rec.orcrat" :null, "gidgrp.rec.jurlawc" :null, "gidgrp.ben.namelc" :null, "addbcb.litameadv" :null, + "gidgrp.ghd.aplnam" :null, "gidgrp.rec.expflg" :null, "gidgrp.bec.adrelc" :null, "gidgrp.cnr.pts.adrblk" :null, @@ -108,20 +120,24 @@ let checkObj = { "gidgrp.ctc.pts.adrblk" :null, "trnmod.swiadd.addamt" :null, "gidgrp.blk.covgodsrvc" :null, + "gidgrp.rec.orcdat" :null, "gidgrp.apc.adrelc" :null, "gidgrp.rec.stacty" :null, "gidgrp.blk.gidtxtc" :null, - "setmod.redamt" :null, "gidgrp.blk.exptxt" :null, "gidgrp.atb.pts.extkey" :null, "gidgrp.blk.addamtcovc" :null, "gidgrp.blk.atxliatxtc" :null, "gidgrp.blk.addinfc" :null, + "gidgrp.rec.jurplc" :null, + "gidgrp.rec.mannum" :null, "gidgrp.blk.apprul" :null, "gidgrp.apl.pts.adrblk" :null, "gidgrp.bec.namelc" :null, "gidgrp.rec.orcratc" :null, "trnmod.swiadd.purposame" :null, + "gidgrp.rec.jurlaw" :null, + "gidgrp.rec.acc" :null, "trnmod.swiadd.ameamt" :null, "addbcb.ameadvrmk" :null, "gidgrp.rec.inudat" :null, @@ -136,12 +152,12 @@ let checkObj = { "addbcb.bccls1" :null, "addbcb.bccls4" :null, "addbcb.bccls3" :null, - "setmod.docamt" :null, "gitp.prepermodflg" :null, "gidgrp.bdb.namelc" :null, "trnmod.swiadd.newamtc" :null, "gidgrp.blk.preperc" :null, "gidgrp.rec.tenrefc" :null, + "gidgrp.rec.trmdat" :null, "gidgrp.blk.preper" :null, "gidgrp.blk.atxcovgodsrvc" :null, "trnmod.swiadd.ameblkc" :null, diff --git a/src/model/Gitame/Default.js b/src/model/Gitame/Default.js index 1c376e7..d314335 100644 --- a/src/model/Gitame/Default.js +++ b/src/model/Gitame/Default.js @@ -34,10 +34,6 @@ export default { "gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction, "gidgrp.rec.ownref" :Utils.defaultFunction, "gidgrp.rec.exptyp" :Utils.defaultFunction, - "setmod.setamt" :Utils.defaultFunction, - "setmod.doccur" :Utils.defaultFunction, - "setmod.dspflg" :Utils.defaultFunction, - "setmod.docamt" :Utils.defaultFunction, "gidgrp.rec.orcdatc" :Utils.defaultFunction, "gidgrp.rec.stdwrduilc" :Utils.defaultFunction, "trnmod.swiadd.amemsgdonflg" :Utils.defaultFunction, @@ -46,6 +42,7 @@ export default { "gidgrp.ghd.segtyp" :Utils.defaultFunction, "oldgidgrp.cbs.max.amt" :Utils.defaultFunction, "oldgidgrp.cbs.max.cur" :Utils.defaultFunction, + "gidgrp.rec.tendat" :Utils.defaultFunction, "gidgrp.rec.giduil" :Utils.defaultFunction, "gidgrp.rec.gtxinrc" :Utils.defaultFunction, "gitp.prepercmodflg" :Utils.defaultFunction, @@ -86,6 +83,7 @@ export default { "gidgrp.atb.pts.extkey" :Utils.defaultFunction, "gidgrp.rec.stdwrdc" :Utils.defaultFunction, "gidgrp.ben.pts.extkey" :Utils.defaultFunction, + "gidgrp.rec.orcdat" :Utils.defaultFunction, "trnmod.swiadd.liatypc" :Utils.defaultFunction, "trnmod.swiadd.newliadat" :Utils.defaultFunction, "trnmod.swiadd.newliaflg" :Utils.defaultFunction, @@ -93,6 +91,7 @@ export default { "gidgrp.cbs.mac.cur" :Utils.defaultFunction, "gidgrp.rec.orcamtc" :Utils.defaultFunction, "gidgrp.cbs.mac.amt" :Utils.defaultFunction, + "gidgrp.ghd.bustyp" :Utils.defaultFunction, "trnmod.swiadd.ameblkc" :Utils.defaultFunction, "gitamep.prtflg" :Utils.defaultFunction, "gidgrp.blk.gidtxtc" :Utils.defaultFunction, @@ -100,8 +99,10 @@ export default { "gidgrp.apl.pts.adrblk" :Utils.defaultFunction, "oldgidgrp.rec.exptyp" :Utils.defaultFunction, "oldgidgrp.rec.expdat" :Utils.defaultFunction, + "gidgrp.rec.mannum" :Utils.defaultFunction, "trnmod.swiadd.addamt" :Utils.defaultFunction, "gidgrp.bdb.pts.extkey" :Utils.defaultFunction, + "gidgrp.rec.orccur" :Utils.defaultFunction, "trnmod.swiadd.exptxt" :Utils.defaultFunction, "gitp.exptxtmodflg" :Utils.defaultFunction, "gidgrp.blk.liatxtc" :Utils.defaultFunction, @@ -124,6 +125,8 @@ export default { "gidgrp.iss.dbfadrblkcn" :Utils.defaultFunction, "gitp.inc760" :Utils.defaultFunction, "oldgidgrp.rec.liatypc" :Utils.defaultFunction, + "gidgrp.blk.covgodsrv" :Utils.defaultFunction, + "gidgrp.blk.atxcovgodsrv" :Utils.defaultFunction, "gidgrp.blk.atxcovgodsrvc" :Utils.defaultFunction, "gidgrp.blk.covgodsrvc" :Utils.defaultFunction, "gidgrp.rec.orccurc" :Utils.defaultFunction, @@ -135,21 +138,33 @@ export default { "gidgrp.cbs.cnf.amt" :Utils.defaultFunction, "gidgrp.rec.partcon" :Utils.defaultFunction, "gidgrp.cbs.cnf.cur" :Utils.defaultFunction, + "gidgrp.rec.orcrat" :Utils.defaultFunction, + "gidgrp.rec.jurlaw" :Utils.defaultFunction, "gidgrp.blk.apprul" :Utils.defaultFunction, + "gidgrp.rec.trmdat" :Utils.defaultFunction, "trnmod.swiadd.newcur" :Utils.defaultFunction, + "gidgrp.blk.addinf" :Utils.defaultFunction, "gidgrp.blk.trfcond" :Utils.defaultFunction, + "gidgrp.rec.jurlaws20" :Utils.defaultFunction, "gidgrp.atb.pts.ref" :Utils.defaultFunction, + "gidgrp.rec.tenref" :Utils.defaultFunction, "gidgrp.rec.cnfdet" :Utils.defaultFunction, + "gidgrp.blk.orcplc" :Utils.defaultFunction, "gidgrp.rec.demand" :Utils.defaultFunction, "gitamep.ametxtflg" :Utils.defaultFunction, "gitamep.ametxt" :Utils.defaultFunction, "gidgrp.rec.transfer" :Utils.defaultFunction, + "gidgrp.rec.orcamt" :Utils.defaultFunction, "gidgrp.ctr.pts.adrblk" :Utils.defaultFunction, "trnmod.swiadd.newamt" :Utils.defaultFunction, "trnmod.swiadd.reqcan" :Utils.defaultFunction, "gidgrp.blk.apprultxt" :Utils.defaultFunction, "gidgrp.blk.feetxt" :Utils.defaultFunction, + "gidgrp.rec.orcref" :Utils.defaultFunction, "gidgrp.rec.autrnwflg" :Utils.defaultFunction, + "gidgrp.rec.tenclsdat" :Utils.defaultFunction, + "gidgrp.rec.acc" :Utils.defaultFunction, + "gidgrp.rec.jurplc" :Utils.defaultFunction, "gidgrp.rec.transferc" :Utils.defaultFunction, "gidgrp.rec.opndat" :Utils.defaultFunction, "gidgrp.ctc.pts.extkey" :Utils.defaultFunction, @@ -218,6 +233,7 @@ export default { "gidgrp.blk.apprulc" :Utils.defaultFunction, "gidgrp.blk.feetxtc" :Utils.defaultFunction, "gidgrp.rec.chato" :Utils.defaultFunction, + "gitp.covgodsrvmodflg" :Utils.defaultFunction, "gidgrp.rec.liaflg" :Utils.defaultFunction, "trnmod.swiadd.liatxtc" :Utils.defaultFunction, "gitp.liatxtcmodflg" :Utils.defaultFunction, @@ -229,6 +245,7 @@ export default { "gidgrp.rec.delto" :Utils.defaultFunction, "trnmod.swiadd.ameamtc" :Utils.defaultFunction, "gitamep.oldmacamt" :Utils.defaultFunction, + "gidgrp.ghd.aplnam" :Utils.defaultFunction, "gitamep.plateflg" :Utils.defaultFunction, "gidgrp.rec.orddat" :Utils.defaultFunction, } diff --git a/src/model/Gitame/Event.js b/src/model/Gitame/Event.js index 1e0f81f..7a64f9b 100644 --- a/src/model/Gitame/Event.js +++ b/src/model/Gitame/Event.js @@ -230,30 +230,6 @@ export default { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, - async onMtdbutButapy(){ - let rtnmsg = await this.executeRule("mtdbut.butapy") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onMtdbutButcan(){ - let rtnmsg = await this.executeRule("mtdbut.butcan") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, async onAmebutcButtxmsel(){ let rtnmsg = await this.executeRule("amebutc.buttxmsel") if(rtnmsg.respCode == SUCCESS) @@ -494,5 +470,245 @@ export default { this.$notify.error({title: '错误',message: '服务请求失败!'}); } }, + async onGitpButdifcovgodsrv(){ + let rtnmsg = await this.executeRule("gitp.butdifcovgodsrv") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onGitpButdifhiscovgodsrv(){ + let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrv") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onSav(){ + let rtnmsg = await this.executeRule("sav") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onUsrcon(){ + let rtnmsg = await this.executeRule("usrcon") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onChk(){ + let rtnmsg = await this.executeRule("chk") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onUsrchk(){ + let rtnmsg = await this.executeRule("usrchk") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onSyswrnButshw(){ + let rtnmsg = await this.executeRule("syswrn.butshw") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onDiasel(){ + let rtnmsg = await this.executeRule("diasel") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onInc(){ + let rtnmsg = await this.executeRule("inc") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onNotmap(){ + let rtnmsg = await this.executeRule("notmap") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onFrmbut(){ + let rtnmsg = await this.executeRule("frmbut") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onOrd(){ + let rtnmsg = await this.executeRule("ord") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onIncben(){ + let rtnmsg = await this.executeRule("incben") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onImgmodImage(){ + let rtnmsg = await this.executeRule("imgmod.image") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onImgmodNewimg(){ + let rtnmsg = await this.executeRule("imgmod.newimg") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onImgmodNewhisimg(){ + let rtnmsg = await this.executeRule("imgmod.newhisimg") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onImgmodElcimage(){ + let rtnmsg = await this.executeRule("imgmod.elcimage") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onEntmodEntbut(){ + let rtnmsg = await this.executeRule("entmod.entbut") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onPen(){ + let rtnmsg = await this.executeRule("pen") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCan(){ + let rtnmsg = await this.executeRule("can") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, } \ No newline at end of file diff --git a/src/model/Gitame/Pattern.js b/src/model/Gitame/Pattern.js index 6e258c7..c01fe4b 100644 --- a/src/model/Gitame/Pattern.js +++ b/src/model/Gitame/Pattern.js @@ -577,35 +577,6 @@ export default { {type: "string", required: true, message: "必输项"}, {max: 65,message:"长度不能超过65"} ], - "setmod.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - - - "setmod.docamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - - - - "setmod.redamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - "setmod.setamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - "setmod.redamttxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} - ], - "oldgidgrp.blk.gidtxtc":[ {type: "string", required: true, message: "必输项"}, {max: 65,message:"长度不能超过65"} @@ -1143,4 +1114,133 @@ export default { {type: "string", required: true, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], + + "gidgrp.rec.orcref":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.ghd.aplnam":[ + {type: "string", required: true, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "gidgrp.rec.orcdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.bngcod":[ + {type: "string", required: false, message: "必输项"}, + {max: 10,message:"长度不能超过10"} + ], + "gidgrp.rec.tenclsdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.juscod":[ + {type: "string", required: false, message: "必输项"}, + {max: 10,message:"长度不能超过10"} + ], + "gidgrp.blk.covgodsrv":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.blk.atxcovgodsrv":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + "gidgrp.rec.bilvvv":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "gitp.indirectswiadd":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + "gidgrp.rec.orcrat":[ + {type: "string", required: false, message: "必输项"}, + {max: 14,message:"长度不能超过14"} + ], + + "gidgrp.rec.orcamt":[ + {type: "number", required: false, message: "必输项"}, + {max: 18,message:"整数位不能超过14位"}, + {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + ], + "gidgrp.blk.orcplc":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.acc":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + "gidgrp.rec.jurlaw":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.jurplc":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.tenref":[ + {type: "string", required: false, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.tendat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.rec.trmdat":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + "gidgrp.ghd.remark":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + "gidgrp.rec.mannum":[ + {type: "string", required: false, message: "必输项"}, + {max: 12,message:"长度不能超过12"} + ], + "gidgrp.blk.addinf":[ + {type: "string", required: true, message: "必输项"}, + {max: 35,message:"长度不能超过35"} + ], + + + "gidgrp.ghd.wahnum":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "gidgrp.gidcxm.benefi":[ + {type: "string", required: false, message: "必输项"}, + {max: 80,message:"长度不能超过80"} + ], + + + "oldgidgrp.blk.gidtxt":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + + + + "gidgrp.blk.gidtxtame":[ + {type: "string", required: true, message: "必输项"}, + {max: 65,message:"长度不能超过65"} + ], + + + + + + + + } \ No newline at end of file diff --git a/src/model/Gitame/index.js b/src/model/Gitame/index.js index 4087add..b746594 100644 --- a/src/model/Gitame/index.js +++ b/src/model/Gitame/index.js @@ -1,5 +1,6 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" +import Pub from "../Public" export default class Gitame{ constructor () { @@ -175,6 +176,13 @@ export default class Gitame{ }, gidtxtmodflgc:"", // Modify Guarantee Text - Local Undertaking Seq. C .gitp.gidtxtmodflgc chkgidtxtc:"", // Allow * .gitp.chkgidtxtc + labaddinf:"", // Label for Additional Info .gitp.labaddinf + covgodsrvmodflg:"", // Modify Object of Contract .gitp.covgodsrvmodflg + covgod:{ + chkast:"", // Allow * .gitp.covgod.chkast + }, + aplnamtxt:"", // 申请人名称 .gitp.aplnamtxt + indirectswiadd:"", // InDirect Swift Add .gitp.indirectswiadd }, gidgrp:{ rec:{ @@ -252,6 +260,24 @@ export default class Gitame{ tenrefc:"", // Tender Reference .gidgrp.rec.tenrefc tendatc:"", // Tender Date .gidgrp.rec.tendatc trmdatc:"", // Latest Transmission .gidgrp.rec.trmdatc + orcref:"", // Contract Reference .gidgrp.rec.orcref + orcdat:"", // Date from Original Contract .gidgrp.rec.orcdat + tenclsdat:"", // Closing Date .gidgrp.rec.tenclsdat + orcrat:"", // Original Perc./ Rate .gidgrp.rec.orcrat + orccur:"", // Contract Amount .gidgrp.rec.orccur + orcamt:"", // Contract Amount .gidgrp.rec.orcamt + acc:"", // A/c for Adv. Paym. Guar. .gidgrp.rec.acc + jurlaws20:"", // Governing Law .gidgrp.rec.jurlaws20 + jurlaw:"", // Law of Jurisdiction .gidgrp.rec.jurlaw + jurplc:"", // Place of Jurisdiction .gidgrp.rec.jurplc + tenref:"", // Tender Reference .gidgrp.rec.tenref + tendat:"", // Tender Date .gidgrp.rec.tendat + trmdat:"", // Latest Transmiss. Date .gidgrp.rec.trmdat + juscod:"", // 组织机构代码 .gidgrp.rec.juscod + cunqii:"", // 流动资金贷款利率档次 .gidgrp.rec.cunqii + bilvvv:"", // 上浮比率 .gidgrp.rec.bilvvv + bngcod:"", // 企业海关编码 .gidgrp.rec.bngcod + mannum:"", // 手册号码 .gidgrp.rec.mannum }, cbs:{ max:{ @@ -312,6 +338,11 @@ export default class Gitame{ gidtxtc:"", // Guarantee Text local undertaking .gidgrp.blk.gidtxtc gtxgidtxtc:"", // Guarantee Text with Variables - Counter Undertaking .gidgrp.blk.gtxgidtxtc addamtcovc:"", // Covered .gidgrp.blk.addamtcovc + covgodsrv:"", // Object of Contract .gidgrp.blk.covgodsrv + orcplc:"", // Original Contract Place .gidgrp.blk.orcplc + addinf:"", // Additional Info .gidgrp.blk.addinf + atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv + gidtxtame:"", // Amendments so Far .gidgrp.blk.gidtxtame }, apl:{ pts:new Pts().data, @@ -339,10 +370,15 @@ export default class Gitame{ }, ghd:{ segtyp:"", // 特殊保函类型 .gidgrp.ghd.segtyp + bustyp:"", // 业务类型 .gidgrp.ghd.bustyp + wahnum:"", // 仓库号 .gidgrp.ghd.wahnum + remark:"", // 备注 .gidgrp.ghd.remark + aplnam:"", // 申请人名称关税保函专用 .gidgrp.ghd.aplnam }, gidcxm:{ warran:"", // 被保证人 .gidgrp.gidcxm.warran cxmflg:"", // 是否显示查询码 .gidgrp.gidcxm.cxmflg + benefi:"", // 受益人名称 .gidgrp.gidcxm.benefi }, ctr:{ pts:new Pts().data, @@ -435,46 +471,46 @@ export default class Gitame{ mstitle:"", // 面函标题 .gitamep.mstitle amenumjmg:"", // 变�'次数 .gitamep.amenumjmg }, - trnmod:{ - swiadd:{ - purposamein:"", // Inc. Purpose of amend. .trnmod.swiadd.purposamein - purposame:"", // Purpose of amend. .trnmod.swiadd.purposame - amedat:"", // Amendment Date .trnmod.swiadd.amedat - orddat:"", // Order from .trnmod.swiadd.orddat - amenbr:"", // Amend. No Receiv. .trnmod.swiadd.amenbr - amecur:"", // Amended .trnmod.swiadd.amecur - ameamt:"", // Amended Amount .trnmod.swiadd.ameamt - newcur:"", // Guarantee Amount .trnmod.swiadd.newcur - newamt:"", // New amount .trnmod.swiadd.newamt - ameblk:"", // Text for Amendments .trnmod.swiadd.ameblk - reqcan:"", // Cancellation Request .trnmod.swiadd.reqcan - amemsgdonflg:"", // Create Amendment Message .trnmod.swiadd.amemsgdonflg - addamtflg:"", // Add. Amount Flag .trnmod.swiadd.addamtflg - addcur:"", // Additional Currency .trnmod.swiadd.addcur - addamt:"", // Additional Amount .trnmod.swiadd.addamt - addamtcovs20:"", // Additional Amount Covered .trnmod.swiadd.addamtcovs20 - redrea:"", // Reason for Reduce / Discharge .trnmod.swiadd.redrea - exptyp:"", // New Expiry Type .trnmod.swiadd.exptyp - newexpdat:"", // New Expiry Date .trnmod.swiadd.newexpdat - exptxt:"", // New Expiry Condition .trnmod.swiadd.exptxt - liatypc:"", // New Liability Type .trnmod.swiadd.liatypc - newliadat:"", // New Liability Date .trnmod.swiadd.newliadat - liatxtc:"", // New Liability Condition .trnmod.swiadd.liatxtc - newdtaappexpdat:"", // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat - ameblkc:"", // Text for Amendments .trnmod.swiadd.ameblkc - amecurc:"", // Amended Amount .trnmod.swiadd.amecurc - ameamtc:"", // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc - newcurc:"", // Local Undertaking .trnmod.swiadd.newcurc - newamtc:"", // New Amount Local Guarantee .trnmod.swiadd.newamtc - addamtflgc:"", // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc - addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc - addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc - addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc - newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg - newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg - addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov - }, - }, + // trnmod:{ + // swiadd:{ + // purposamein:"", // Inc. Purpose of amend. .trnmod.swiadd.purposamein + // purposame:"", // Purpose of amend. .trnmod.swiadd.purposame + // amedat:"", // Amendment Date .trnmod.swiadd.amedat + // orddat:"", // Order from .trnmod.swiadd.orddat + // amenbr:"", // Amend. No Receiv. .trnmod.swiadd.amenbr + // amecur:"", // Amended .trnmod.swiadd.amecur + // ameamt:"", // Amended Amount .trnmod.swiadd.ameamt + // newcur:"", // Guarantee Amount .trnmod.swiadd.newcur + // newamt:"", // New amount .trnmod.swiadd.newamt + // ameblk:"", // Text for Amendments .trnmod.swiadd.ameblk + // reqcan:"", // Cancellation Request .trnmod.swiadd.reqcan + // amemsgdonflg:"", // Create Amendment Message .trnmod.swiadd.amemsgdonflg + // addamtflg:"", // Add. Amount Flag .trnmod.swiadd.addamtflg + // addcur:"", // Additional Currency .trnmod.swiadd.addcur + // addamt:"", // Additional Amount .trnmod.swiadd.addamt + // addamtcovs20:"", // Additional Amount Covered .trnmod.swiadd.addamtcovs20 + // redrea:"", // Reason for Reduce / Discharge .trnmod.swiadd.redrea + // exptyp:"", // New Expiry Type .trnmod.swiadd.exptyp + // newexpdat:"", // New Expiry Date .trnmod.swiadd.newexpdat + // exptxt:"", // New Expiry Condition .trnmod.swiadd.exptxt + // liatypc:"", // New Liability Type .trnmod.swiadd.liatypc + // newliadat:"", // New Liability Date .trnmod.swiadd.newliadat + // liatxtc:"", // New Liability Condition .trnmod.swiadd.liatxtc + // newdtaappexpdat:"", // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat + // ameblkc:"", // Text for Amendments .trnmod.swiadd.ameblkc + // amecurc:"", // Amended Amount .trnmod.swiadd.amecurc + // ameamtc:"", // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc + // newcurc:"", // Local Undertaking .trnmod.swiadd.newcurc + // newamtc:"", // New Amount Local Guarantee .trnmod.swiadd.newamtc + // addamtflgc:"", // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc + // addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc + // addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc + // addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc + // newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg + // newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg + // addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov + // }, + // }, oldgidgrp:{ cbs:{ max:{ @@ -494,19 +530,9 @@ export default class Gitame{ dtaappexpdat:"", // Old appr. Expiry Date .oldgidgrp.blk.dtaappexpdat gidtxtc:"", // Guarantee Text .oldgidgrp.blk.gidtxtc gidtxtamec:"", // Amendments so Far .oldgidgrp.blk.gidtxtamec + gidtxt:"", // Guarantee Text .oldgidgrp.blk.gidtxt }, }, - setmod:{ - docamttyplab:"", // settled amount description as label .setmod.docamttyplab - ref:"", // our reference .setmod.ref - doccur:"", // 减少后的结算金额 .setmod.doccur - docamt:"", // document amount .setmod.docamt - dspflg:"", // Type of settlement .setmod.dspflg - xreflg:"", // Recalculate Rates .setmod.xreflg - redamt:"", // 减少的金额 .setmod.redamt - setamt:"", // Reduced Amount to settle .setmod.setamt - redamttxt:"", // 注释 .setmod.redamttxt - }, addbcb:{ name:"", // �'�物简称及税号 .addbcb.name godnam:"", // �'�物简称 .addbcb.godnam @@ -547,6 +573,10 @@ export default class Gitame{ bccls2:"", // 合同尚未签订或生效 .addbcb.bccls2 bccls4:"", // 以下两个选项二选一 .addbcb.bccls4 }, + setmod:new Pub().data.Setmod, + mtabut:new Pub().data.Mtabut, + trnmod:new Pub().data.Trnmod, + liaall: new Pub().data.Liaall, pageId: "" // ctx的key } } diff --git a/src/model/Letdrw/Event.js b/src/model/Letdrw/Event.js index fa40c2d..f69bcc9 100644 --- a/src/model/Letdrw/Event.js +++ b/src/model/Letdrw/Event.js @@ -7,7 +7,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Letopn/Event.js b/src/model/Letopn/Event.js index 6b76f2f..26e0e1b 100644 --- a/src/model/Letopn/Event.js +++ b/src/model/Letopn/Event.js @@ -7,7 +7,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Litdck/Event.js b/src/model/Litdck/Event.js index 7a3fca7..e838477 100644 --- a/src/model/Litdck/Event.js +++ b/src/model/Litdck/Event.js @@ -19,7 +19,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.brdgrp.rec.ownref=rtnmsg.data.brdgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Litopn/Event.js b/src/model/Litopn/Event.js index fa7d5a3..86cf465 100644 --- a/src/model/Litopn/Event.js +++ b/src/model/Litopn/Event.js @@ -14,7 +14,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.lidgrp.rec.ownref=rtnmsg.data.lidgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/model/Public/Trnmod/index.js b/src/model/Public/Trnmod/index.js index d3c02a1..bb3dd4a 100644 --- a/src/model/Public/Trnmod/index.js +++ b/src/model/Public/Trnmod/index.js @@ -38,6 +38,44 @@ export default class Trnmod { lcrgod: "", // Description of Goods amendment .trnmod.swiadd.lcrgod lcrdoc: "", // Documents Required amendment .trnmod.swiadd.lcrdoc //adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd + + + purposamein:"", // Inc. Purpose of amend. .trnmod.swiadd.purposamein + purposame:"", // Purpose of amend. .trnmod.swiadd.purposame + amedat:"", // Amendment Date .trnmod.swiadd.amedat + orddat:"", // Order from .trnmod.swiadd.orddat + amenbr:"", // Amend. No Receiv. .trnmod.swiadd.amenbr + amecur:"", // Amended .trnmod.swiadd.amecur + ameamt:"", // Amended Amount .trnmod.swiadd.ameamt + newcur:"", // Guarantee Amount .trnmod.swiadd.newcur + newamt:"", // New amount .trnmod.swiadd.newamt + ameblk:"", // Text for Amendments .trnmod.swiadd.ameblk + reqcan:"", // Cancellation Request .trnmod.swiadd.reqcan + amemsgdonflg:"", // Create Amendment Message .trnmod.swiadd.amemsgdonflg + addamtflg:"", // Add. Amount Flag .trnmod.swiadd.addamtflg + addcur:"", // Additional Currency .trnmod.swiadd.addcur + addamt:"", // Additional Amount .trnmod.swiadd.addamt + addamtcovs20:"", // Additional Amount Covered .trnmod.swiadd.addamtcovs20 + redrea:"", // Reason for Reduce / Discharge .trnmod.swiadd.redrea + exptyp:"", // New Expiry Type .trnmod.swiadd.exptyp + newexpdat:"", // New Expiry Date .trnmod.swiadd.newexpdat + exptxt:"", // New Expiry Condition .trnmod.swiadd.exptxt + liatypc:"", // New Liability Type .trnmod.swiadd.liatypc + newliadat:"", // New Liability Date .trnmod.swiadd.newliadat + liatxtc:"", // New Liability Condition .trnmod.swiadd.liatxtc + newdtaappexpdat:"", // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat + ameblkc:"", // Text for Amendments .trnmod.swiadd.ameblkc + amecurc:"", // Amended Amount .trnmod.swiadd.amecurc + ameamtc:"", // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc + newcurc:"", // Local Undertaking .trnmod.swiadd.newcurc + newamtc:"", // New Amount Local Guarantee .trnmod.swiadd.newamtc + addamtflgc:"", // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc + addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc + addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc + addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc + newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg + newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg + addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov }, trndoc: { nar754: "", // Narrative :77A: .trnmod.trndoc.nar754 diff --git a/src/model/Trtopn/Event.js b/src/model/Trtopn/Event.js index 228bf8e..0091394 100644 --- a/src/model/Trtopn/Event.js +++ b/src/model/Trtopn/Event.js @@ -7,7 +7,7 @@ export default { if(rtnmsg.respCode == SUCCESS) { //TODO 处理数据逻辑 - this.model.trdgrp.rec.ownref = rtnmsg.data.trdgrp_rec_ownref + this.updateModel(rtnmsg.data) this.$message({ type: 'success', message: '获取成功!' diff --git a/src/views/Business/Betdrv/index.vue b/src/views/Business/Betdrv/index.vue index 567a328..3d3182a 100644 --- a/src/views/Business/Betdrv/index.vue +++ b/src/views/Business/Betdrv/index.vue @@ -101,6 +101,12 @@ </el-tab-pane> </c-tabs> </el-form> + <c-grid-ety-prompt-dialog + ref="etyDialog" + :promptData="promptData" + v-on:select-ety="selectEty" + > + </c-grid-ety-prompt-dialog> </div> </c-page> </template> diff --git a/src/views/Business/Betsnd/Cnyp.vue b/src/views/Business/Betsnd/Cnyp.vue new file mode 100644 index 0000000..4e1a39f --- /dev/null +++ b/src/views/Business/Betsnd/Cnyp.vue @@ -0,0 +1,82 @@ +<template> + <div class="eibs-tab"> + <!-- S0000042 : 是否报送跨境人民币2101表 --> + + <c-col :span="12"> + <el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg"> + <c-select + v-model="model.cnybop.cnyflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000042')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000045 : 是否报送跨境人民币2107表 --> + + <c-col :span="12"> + <el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg"> + <c-select + v-model="model.cnybop.traflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000045')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000077 : 是否报送跨境人民币2111表 --> + + <c-col :span="12"> + <el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg"> + <c-select + v-model="model.cnybop.outflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000077')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000113 : 是否报送跨境人民币2106表 --> + + <c-col :span="12"> + <el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg"> + <c-select + v-model="model.cnybop.libflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000113')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000142 : 是否报送跨境人民币2122表 --> + + <c-col :span="12"> + <el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg"> + <c-select + v-model="model.cnybop.vouflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000142')" + > + </c-select> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Coninfp.vue b/src/views/Business/Betsnd/Coninfp.vue new file mode 100644 index 0000000..ef057da --- /dev/null +++ b/src/views/Business/Betsnd/Coninfp.vue @@ -0,0 +1,117 @@ +<template> + <div class="eibs-tab"> + <c-col :span="12"> + <span + v-text="model.mtabut.coninf.oitinf.labinftxt" + data-path=".mtabut.coninf.oitinf.labinftxt" + > + </span> + </c-col> + <!-- S0000579 : Display Type --> + + <c-col :span="12"> + <c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt"> + <c-input + type="textarea" + v-model="model.mtabut.coninf.oitinf.oit.inftxt" + maxlength="60" + show-word-limit + :placeholder="$t('other.please_enter') + 'Infotext'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Infotext Level" + prop="mtabut.coninf.oitinf.oit.inflev" + > + <c-select + v-model="model.mtabut.coninf.oitinf.oit.inflev" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Infotext Level'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <span + v-text="model.mtabut.coninf.oitset.labinftxt" + data-path=".mtabut.coninf.oitset.labinftxt" + > + </span> + </c-col> + <!-- S0000579 : Display Type --> + + <c-col :span="12"> + <c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt"> + <c-input + type="textarea" + v-model="model.mtabut.coninf.oitset.oit.inftxt" + maxlength="60" + show-word-limit + :placeholder="$t('other.please_enter') + 'Infotext'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Infotext Level" + prop="mtabut.coninf.oitset.oit.inflev" + > + <c-select + v-model="model.mtabut.coninf.oitset.oit.inflev" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Infotext Level'" + > + </c-select> + </el-form-item> + </c-col> + <!-- SF000019 : 执行日期 --> + + <c-col :span="12"> + <el-form-item + :label="$t('coninf.SF000019')" + prop="mtabut.coninf.conexedat" + > + <c-date-picker + type="date" + v-model="model.mtabut.coninf.conexedat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('coninf.SF000019')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000020 : Send for Release to --> + + <c-col :span="12"> + <c-form-item label="User ID" prop="mtabut.coninf.usr.extkey"> + <c-input + v-model="model.mtabut.coninf.usr.extkey" + maxlength="8" + :placeholder="$t('other.please_enter') + 'User ID'" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Docpan.vue b/src/views/Business/Betsnd/Docpan.vue new file mode 100644 index 0000000..4e8e229 --- /dev/null +++ b/src/views/Business/Betsnd/Docpan.vue @@ -0,0 +1,71 @@ +<template> + <div class="eibs-tab"> + <!-- SF000545 : Correspondence --> + + <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.advlabel" + data-path=".trnmod.trndoc.advlabel" + > + </span> + </c-col> + + <c-col :span="12"> + <c-form-item label="国内证落款" prop="trnmod.trndoc.advnam"> + <c-input + v-model="model.trnmod.trndoc.advnam" + maxlength="50" + :placeholder="$t('other.please_enter') + '国内证落款'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl"> + <c-input + type="textarea" + v-model="model.trnmod.trndoc.amdapl" + maxlength="50" + show-word-limit + :placeholder="$t('other.please_enter') + '修改申请人名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.amdnam" + data-path=".trnmod.trndoc.amdnam" + > + </span> + </c-col> + + <c-col :span="12"> + <c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc"> + <c-input + v-model="model.trnmod.trndoc.advdoc" + maxlength="1" + :placeholder="$t('other.please_enter') + '国内证通知书'" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Doctre.vue b/src/views/Business/Betsnd/Doctre.vue new file mode 100644 index 0000000..4258b68 --- /dev/null +++ b/src/views/Business/Betsnd/Doctre.vue @@ -0,0 +1,115 @@ +<template> + <div class="eibs-tab"> + <!-- S0000552 : Outgoing Correspondence, Attachments and other Documents --> + + <c-col :span="12"> + <c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv"> + <c-input + v-model="model.trnmod.trndoc.filrecv" + :placeholder="$t('other.please_enter') + 'File Receiver'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm"> + <c-input + v-model="model.trnmod.trndoc.doctrestm" + :placeholder="$t('other.please_enter') + 'Document tree'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onTrndocButshw"> + {{ $t('trndoc.CF000547') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onTrndocButadd"> + {{ $t('trndoc.CF000548') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onTrndocButnew"> + {{ $t('trndoc.CF000553') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onTrndocButattto"> + {{ $t('trndoc.CG001184') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" icon="el-icon-delete" @click="onTrndocButdel"> + {{ $t('trndoc.CF000549') }} + </c-button> + </c-col> + + <c-col :span="12"> + <span + v-text="model.trnmod.trndoc.doclbl" + data-path=".trnmod.trndoc.doclbl" + > + </span> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.trnmod.trndoc.shwinc">{{ + $t('trndoc.CF000556') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.trnmod.trndoc.shwout">{{ + $t('trndoc.CF000557') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onTrndocButatt"> + {{ $t('trndoc.CF000551') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm"> + <c-input + v-model="model.trnmod.trndoc.condocstm" + :placeholder="$t('other.please_enter') + 'Connected Documents'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf"> + <c-input + v-model="model.trnmod.trndoc.rcvatt.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Dscins.vue b/src/views/Business/Betsnd/Dscins.vue new file mode 100644 index 0000000..56a1800 --- /dev/null +++ b/src/views/Business/Betsnd/Dscins.vue @@ -0,0 +1,315 @@ +<template> + <div class="eibs-tab"> + <!-- SF000053 : 内部不符点 --> + + <c-col :span="12"> + <c-checkbox v-model="model.bedgrp.blk.docdisflg">{{ + $t('bedsnd.CF000066') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis"> + <c-input + type="textarea" + v-model="model.bedgrp.blk.intdis" + maxlength="65" + show-word-limit + :placeholder="$t('other.please_enter') + 'Internal Discrepancies'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onIntdisButtxmsel" + > + {{ $t('bedsnd.CF000049') }} + </c-button> + </c-col> + <!-- SF000332 : 寄单状态 --> + + <c-col :span="12"> + <el-form-item label="Processing Options" prop="betp.folwupopt"> + <c-select + v-model="model.betp.folwupopt" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Processing Options'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bedgrp.rec.approvcod">{{ + $t('bedsnd.CF000333') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bedsnd.snd732">{{ + $t('bedsnd.CF000062') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.betp.cre752flg">{{ + $t('betp.CF000192') + }}</c-checkbox> + </c-col> + <!-- SF000056 : 注释和结论 --> + <!-- S0000193 : 进一步的确认 --> + + <c-col :span="12"> + <el-form-item :label="$t('betp.S0000193')" prop="betp.furide"> + <c-select + v-model="model.betp.furide" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betp.S0000193')" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Comments and Conclusions" prop="bedgrp.blk.comcon"> + <c-input + type="textarea" + v-model="model.bedgrp.blk.comcon" + maxlength="65" + show-word-limit + :placeholder="$t('other.please_enter') + 'Comments and Conclusions'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onComconButtxmsel" + > + {{ $t('bedsnd.CF000050') }} + </c-button> + </c-col> + <!-- S0000194 : Date of Advice --> + + <c-col :span="12"> + <el-form-item :label="$t('betp.S0000194')" prop="bedgrp.rec.disdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.disdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betp.S0000194')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000346 : 扣减金额 --> + + <c-col :span="12"> + <c-form-item label="Less comm." prop="bedgrp.rec.lescom"> + <c-input + v-model="model.bedgrp.rec.lescom" + :placeholder="$t('other.please_enter') + 'Less comm.'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.rmbclmnow">{{ + $t('betsnd.CG000061') + }}</c-checkbox> + </c-col> + <!-- SF000055 : 结算指示 --> + + <c-col :span="12"> + <c-form-item + label="Settlement Instructions transaction field" + prop="bedgrp.blk.setinsbe" + > + <c-input + type="textarea" + v-model="model.bedgrp.blk.setinsbe" + maxlength="65" + show-word-limit + :placeholder=" + $t('other.please_enter') + + 'Settlement Instructions transaction field' + " + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onSetinstxmButtxmsel" + > + {{ $t('bedsnd.CF000063') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.rmbclmlate">{{ + $t('betsnd.CG000124') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.bedgrp.rec.docrolflg">{{ + $t('bedsnd.CF000065') + }}</c-checkbox> + </c-col> + <!-- SF000054 : 不符点 --> + + <c-col :span="12"> + <c-checkbox v-model="model.bedsnd.ingdsc">{{ + $t('bedsnd.CG000354') + }}</c-checkbox> + </c-col> + <!-- SF000064 : Receiver of Documents --> + + <c-col :span="12"> + <el-form-item :label="$t('bedsnd.SF000064')" prop="bedgrp.rec.docrol"> + <c-select + v-model="model.bedgrp.rec.docrol" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('bedsnd.SF000064')" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Discrepancies" prop="bedgrp.blk.docdis"> + <c-input + type="textarea" + v-model="model.bedgrp.blk.docdis" + maxlength="50" + show-word-limit + :placeholder="$t('other.please_enter') + 'Discrepancies'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onDocdisButtxmsel" + > + {{ $t('bedsnd.CF000051') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="betp.docp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.betp.docp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="bedgrp.doc.pts.extkey"> + <c-input + v-model="model.bedgrp.doc.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="betp.docp.ptsget.sdamod.seainf"> + <c-input + v-model="model.betp.docp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onDocpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="bedgrp.doc.namelc"> + <c-input + type="textarea" + v-model="model.bedgrp.doc.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="bedgrp.doc.pts.adrblk"> + <c-input + type="textarea" + v-model="model.bedgrp.doc.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="bedgrp.doc.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.bedgrp.doc.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="bedgrp.doc.adrelc"> + <c-input + type="textarea" + v-model="model.bedgrp.doc.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Engp.vue b/src/views/Business/Betsnd/Engp.vue new file mode 100644 index 0000000..7f2ec1e --- /dev/null +++ b/src/views/Business/Betsnd/Engp.vue @@ -0,0 +1,101 @@ +<template> + <div class="eibs-tab"> + <!-- SF000062 : Liability --> + <!-- SF000085 : Sight Amount --> + + <c-col :span="12"> + <c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt"> + <c-input + v-model="model.liaall.outamt" + :placeholder="$t('other.please_enter') + $t('liaall.SF000085')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Sight Amount Percentage" prop="liaall.outpct"> + <c-input + v-model="model.liaall.outpct" + :placeholder="$t('other.please_enter') + 'Sight Amount Percentage'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000088 : % --> + <!-- SF000063 : Amount not yet assigned --> + + <c-col :span="12"> + <c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur"> + <c-input + v-model="model.liaall.concur" + maxlength="3" + :placeholder="$t('other.please_enter') + $t('liaall.S0000099')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt"> + <c-input + v-model="model.liaall.misamt" + :placeholder="$t('other.please_enter') + $t('liaall.SF000063')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLiaallButmisamt"> + {{ $t('liaall.CF000061') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLiaallButmissig"> + {{ $t('liaall.CF000083') }} + </c-button> + </c-col> + <!-- S0000098 : Old Amount booked externally --> + + <c-col :span="12"> + <c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt"> + <c-input + v-model="model.liaall.exttotoldamt" + :placeholder="$t('other.please_enter') + $t('liaall.S0000098')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000099 : External Booking Amount --> + + <c-col :span="12"> + <c-form-item + label="Total booking amount external assinged" + prop="liaall.exttotamt" + > + <c-input + v-model="model.liaall.exttotamt" + :placeholder=" + $t('other.please_enter') + 'Total booking amount external assinged' + " + ></c-input> + </c-form-item> + </c-col> + <!-- SF000065 : Change Plan --> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Libp.vue b/src/views/Business/Betsnd/Libp.vue new file mode 100644 index 0000000..9062fa7 --- /dev/null +++ b/src/views/Business/Betsnd/Libp.vue @@ -0,0 +1,308 @@ +<template> + <div class="eibs-tab"> + <!-- S0000114 : 业务主键 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000114')" prop="cnybop.cnylib.spk"> + <c-input + v-model="model.cnybop.cnylib.spk" + maxlength="20" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000114')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000133 : 银行业务编号 --> + + <c-col :span="12"> + <c-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano"> + <c-input + v-model="model.cnybop.cnylib.sbanktrano" + maxlength="22" + :placeholder="$t('other.please_enter') + '银行业务编号'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000115 : 银行机构代码 --> + + <c-col :span="12"> + <c-form-item + :label="$t('cnybop.S0000115')" + prop="cnybop.cnylib.sbankorgcode" + > + <c-input + v-model="model.cnybop.cnylib.sbankorgcode" + maxlength="12" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000115')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000188 : 银行机构名称 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000188')" prop="cnybop.sbankname"> + <c-input + v-model="model.cnybop.sbankname" + maxlength="80" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000188')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000116 : 业务属性 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000116')" + prop="cnybop.cnylib.stransattr" + > + <c-select + v-model="model.cnybop.cnylib.stransattr" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000116')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000117 : 业务类型 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000117')" + prop="cnybop.cnylib.stranstype" + > + <c-select + v-model="model.cnybop.cnylib.stranstype" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000117')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000119 : 境外对手行代码 --> + + <c-col :span="12"> + <c-form-item + :label="$t('cnybop.S0000119')" + prop="cnybop.cnylib.sforbankswiftbic" + > + <c-input + v-model="model.cnybop.cnylib.sforbankswiftbic" + maxlength="11" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000119')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000120 : 境内企业名称 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000120')" prop="cnybop.sorgname"> + <c-input + v-model="model.cnybop.sorgname" + maxlength="80" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000120')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000121 : 境内企业机构代码 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000121')" prop="cnybop.cnylib.sorgcode"> + <c-input + v-model="model.cnybop.cnylib.sorgcode" + maxlength="18" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000121')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000122 : 境外企业名称 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000122')" prop="cnybop.sforeignorgname"> + <c-input + v-model="model.cnybop.sforeignorgname" + maxlength="80" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000122')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000123 : 境外企业国别地区代码 --> + + <c-col :span="12"> + <c-form-item + label="境外企业国别地区代码" + prop="cnybop.cnylib.sforeigncountrycode" + > + <c-input + v-model="model.cnybop.cnylib.sforeigncountrycode" + maxlength="3" + :placeholder="$t('other.please_enter') + '境外企业国别地区代码'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onLibctySelbut1" + > + {{ $t('codcny.C0000005') }} + </c-button> + </c-col> + <!-- S0000124 : 业务发生日期 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000124')" + prop="cnybop.cnylib.doccurdate" + > + <c-date-picker + type="date" + v-model="model.cnybop.cnylib.doccurdate" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000124')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000126 : 业务到期日 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000126')" + prop="cnybop.cnylib.denddate" + > + <c-date-picker + type="date" + v-model="model.cnybop.cnylib.denddate" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000126')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000127 : 信用证到期日 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000127')" + prop="cnybop.cnylib.dcreditenddate" + > + <c-date-picker + type="date" + v-model="model.cnybop.cnylib.dcreditenddate" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000127')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000194 : 币种 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000194')" + prop="cnybop.cnylib.currencycode" + > + <c-select + v-model="model.cnybop.cnylib.currencycode" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000194')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000128 : 金额 --> + + <c-col :span="12"> + <c-form-item label="金额" prop="cnybop.cnylib.famt"> + <c-input + v-model="model.cnybop.cnylib.famt" + :placeholder="$t('other.please_enter') + '金额'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000129 : 期限条件 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000129')" + prop="cnybop.cnylib.stermtype" + > + <c-select + v-model="model.cnybop.cnylib.stermtype" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000129')" + > + </c-select> + </el-form-item> + </c-col> + <!-- S0000130 : 承兑日期 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000130')" + prop="cnybop.cnylib.dexchangedate" + > + <c-date-picker + type="date" + v-model="model.cnybop.cnylib.dexchangedate" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000130')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000131 : 承兑金额 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000131')" prop="cnybop.fexchangeamt"> + <c-input + v-model="model.cnybop.fexchangeamt" + maxlength="20" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000131')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000132 : 承兑到期日 --> + + <c-col :span="12"> + <el-form-item + :label="$t('cnybop.S0000132')" + prop="cnybop.cnylib.dexchangeenddate" + > + <c-date-picker + type="date" + v-model="model.cnybop.cnylib.dexchangeenddate" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000132')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- S0000134 : 交易附言 --> + + <c-col :span="12"> + <c-form-item :label="$t('cnybop.S0000134')" prop="cnybop.saddwordlib"> + <c-input + v-model="model.cnybop.saddwordlib" + maxlength="80" + :placeholder="$t('other.please_enter') + $t('cnybop.S0000134')" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Limitbody.vue b/src/views/Business/Betsnd/Limitbody.vue new file mode 100644 index 0000000..0a17180 --- /dev/null +++ b/src/views/Business/Betsnd/Limitbody.vue @@ -0,0 +1,274 @@ +<template> + <div class="eibs-tab"> + <c-col :span="12"> + <c-form-item label="ECIFNO" prop="liaall.limmod.ecifno"> + <c-input + v-model="model.liaall.limmod.ecifno" + maxlength="22" + :placeholder="$t('other.please_enter') + 'ECIFNO'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <span + v-text="model.liaall.limmod.limpts.wrklab" + data-path=".liaall.limmod.limpts.wrklab" + > + </span> + </c-col> + + <c-col :span="12"> + <span + v-text="model.liaall.limmod.limpts.othlab" + data-path=".liaall.limmod.limpts.othlab" + > + </span> + </c-col> + + <c-col :span="12"> + <span + v-text="model.liaall.limmod.limpts.othlabss" + data-path=".liaall.limmod.limpts.othlabss" + > + </span> + </c-col> + <!-- S0001138 : 业务编号 --> + + <c-col :span="12"> + <c-form-item label="国结业务编号" prop="liaall.limmod.ownref"> + <c-input + v-model="model.liaall.limmod.ownref" + maxlength="16" + :placeholder="$t('other.please_enter') + '国结业务编号'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="liaall.limmod.othp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="External Key of Address" + prop="liaall.limmod.limpts.wrk.pts.extkey" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onWrkpDet"> + {{ $t('ptsp.CF000082') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item + label="External Key of Address" + prop="liaall.limmod.limpts.oth.pts.extkey" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onOthp1Det"> + {{ $t('ptsp.CF000082') }} + </c-button> + </c-col> + <!-- S0001135 : 业务余额 --> + + <c-col :span="12"> + <c-form-item label="业务余额" prop="liaall.limmod.comamt"> + <c-input + v-model="model.liaall.limmod.comamt" + :placeholder="$t('other.please_enter') + '业务余额'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Name of Party" + prop="liaall.limmod.limpts.wrk.pts.nam" + > + <c-input + v-model="model.liaall.limmod.limpts.wrk.pts.nam" + maxlength="40" + :placeholder="$t('other.please_enter') + 'Name of Party'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Name of Party" + prop="liaall.limmod.limpts.oth.pts.nam" + > + <c-input + v-model="model.liaall.limmod.limpts.oth.pts.nam" + maxlength="40" + :placeholder="$t('other.please_enter') + 'Name of Party'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0001136 : 保证金 --> + <!-- S0000011 : 额度类型 --> + + <c-col :span="12"> + <c-form-item label="保证金余额" prop="liaall.limmod.ccvamt"> + <c-input + v-model="model.liaall.limmod.ccvamt" + :placeholder="$t('other.please_enter') + '保证金余额'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Flag to Mark Non-revolving Limits" + prop="liaall.limmod.limpts.nonrevflg1" + > + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg1" + style="width: 100%" + :placeholder=" + $t('other.please_enter') + 'Flag to Mark Non-revolving Limits' + " + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLimptsGet1"> + {{ $t('limpts.C0000013') }} + </c-button> + </c-col> + <!-- S0000012 : 额度类型 --> + + <c-col :span="12"> + <el-form-item + label="Flag to Mark Non-revolving Limits" + prop="liaall.limmod.limpts.nonrevflg2" + > + <c-select + v-model="model.liaall.limmod.limpts.nonrevflg2" + style="width: 100%" + :placeholder=" + $t('other.please_enter') + 'Flag to Mark Non-revolving Limits' + " + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLimptsGet2"> + {{ $t('limpts.C0000014') }} + </c-button> + </c-col> + <!-- S0001137 : 余额 --> + + <c-col :span="12"> + <span + v-text="model.liaall.limmod.limpts.lsh" + data-path=".liaall.limmod.limpts.lsh" + > + </span> + </c-col> + + <c-col :span="12"> + <c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod1" + maxlength="14" + :placeholder="$t('other.please_enter')+'合同流�号'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000018 : 合同流水号 --> + + <c-col :span="12"> + <c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2"> + <c-input + v-model="model.liaall.limmod.limpts.pfcod2" + maxlength="14" + :placeholder="$t('other.please_enter')+'合同流�号'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onLimmodTrycal"> + {{ $t('limmod.C0000005') }} + </c-button> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Remp.vue b/src/views/Business/Betsnd/Remp.vue new file mode 100644 index 0000000..602d560 --- /dev/null +++ b/src/views/Business/Betsnd/Remp.vue @@ -0,0 +1,349 @@ +<template> + <div class="eibs-tab"> + <c-col :span="12"> + <el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol"> + <c-select + v-model="model.rmbclm.rmbrol" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('rmbclm.SF000021')" + > + </c-select> + </el-form-item> + </c-col> + <!-- SF000021 : 偿付行 --> + <!-- SF000020 : 编号 --> + + <c-col :span="12"> + <c-form-item + label="Reference for Address Optional" + prop="rmbclm.rmbrmb.pts.ref" + > + <c-input + v-model="model.rmbclm.rmbrmb.pts.ref" + maxlength="16" + :placeholder=" + $t('other.please_enter') + 'Reference for Address Optional' + " + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="rmbclm.rmbp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.rmbclm.rmbp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="External Key of Address" + prop="rmbclm.rmbrmb.pts.extkey" + > + <c-input + v-model="model.rmbclm.rmbrmb.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="rmbclm.rmbp.ptsget.sdamod.seainf"> + <c-input + v-model="model.rmbclm.rmbp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onRmbpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="rmbclm.rmbrmb.namelc"> + <c-input + type="textarea" + v-model="model.rmbclm.rmbrmb.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="rmbclm.rmbrmb.pts.adrblk"> + <c-input + type="textarea" + v-model="model.rmbclm.rmbrmb.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="rmbclm.rmbrmb.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.rmbclm.rmbrmb.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="rmbclm.rmbrmb.adrelc"> + <c-input + type="textarea" + v-model="model.rmbclm.rmbrmb.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000011 : Account with Bank --> + <!-- SF000018 : 编号 --> + + <c-col :span="12"> + <c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref"> + <c-input + v-model="model.rmbclm.acwacw.pts.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('rmbclm.SF000011')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="rmbclm.acwp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.rmbclm.acwp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="External Key of Address" + prop="rmbclm.acwacw.pts.extkey" + > + <c-input + v-model="model.rmbclm.acwacw.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="rmbclm.acwp.ptsget.sdamod.seainf"> + <c-input + v-model="model.rmbclm.acwp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onAcwpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="rmbclm.acwacw.namelc"> + <c-input + type="textarea" + v-model="model.rmbclm.acwacw.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="rmbclm.acwacw.pts.adrblk"> + <c-input + type="textarea" + v-model="model.rmbclm.acwacw.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="rmbclm.acwacw.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.rmbclm.acwacw.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="rmbclm.acwacw.adrelc"> + <c-input + type="textarea" + v-model="model.rmbclm.acwacw.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000016 : Beneficiary Bank --> + <!-- SF000019 : 编号 --> + + <c-col :span="12"> + <c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref"> + <c-input + v-model="model.rmbclm.bebbeb.pts.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('rmbclm.SF000016')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="rmbclm.bebp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.rmbclm.bebp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="External Key of Address" + prop="rmbclm.bebbeb.pts.extkey" + > + <c-input + v-model="model.rmbclm.bebbeb.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="rmbclm.bebp.ptsget.sdamod.seainf"> + <c-input + v-model="model.rmbclm.bebp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onBebpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="rmbclm.bebbeb.namelc"> + <c-input + type="textarea" + v-model="model.rmbclm.bebbeb.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="rmbclm.bebbeb.pts.adrblk"> + <c-input + type="textarea" + v-model="model.rmbclm.bebbeb.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="rmbclm.bebbeb.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.rmbclm.bebbeb.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="rmbclm.bebbeb.adrelc"> + <c-input + type="textarea" + v-model="model.rmbclm.bebbeb.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="value date" prop="rmbclm.valdat"> + <c-date-picker + type="date" + v-model="model.rmbclm.valdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'value date'" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SG000133 : value date --> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Rgfdet.vue b/src/views/Business/Betsnd/Rgfdet.vue new file mode 100644 index 0000000..8af246f --- /dev/null +++ b/src/views/Business/Betsnd/Rgfdet.vue @@ -0,0 +1,96 @@ +<template> + <div class="eibs-tab"> + <!-- SF000060 : 远期单据指示 --> + + <c-col :span="12"> + <c-form-item :label="$t('bedsnd.SF000060')" prop="bedsnd.usadet"> + <c-input + type="textarea" + v-model="model.bedsnd.usadet" + maxlength="65" + show-word-limit + :placeholder="$t('other.please_enter') + $t('bedsnd.SF000060')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onUsatxtButtxmsel" + > + {{ $t('bedsnd.CF000057') }} + </c-button> + </c-col> + <!-- SF000059 : 偿付条款 --> + + <c-col :span="12"> + <c-form-item :label="$t('bedsnd.SF000059')" prop="bedsnd.addphr"> + <c-input + type="textarea" + v-model="model.bedsnd.addphr" + maxlength="65" + show-word-limit + :placeholder="$t('other.please_enter') + $t('bedsnd.SF000059')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button + size="small" + type="primary" + icon="el-icon-search" + @click="onRgfphrButtxmsel" + > + {{ $t('bedsnd.CF000058') }} + </c-button> + </c-col> + <!-- SG000345 : 新受益人地址 --> + + <c-col :span="12"> + <c-form-item :label="$t('bedsnd.SG000345')" prop="bedsnd.newbenadr"> + <c-input + type="textarea" + v-model="model.bedsnd.newbenadr" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + $t('bedsnd.SG000345')" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000347 : 新受益人编号 --> + + <c-col :span="12"> + <c-form-item :label="$t('bedsnd.S0000347')" prop="bedgrp.blk.benref"> + <c-input + type="textarea" + v-model="model.bedgrp.blk.benref" + maxlength="16" + show-word-limit + :placeholder="$t('other.please_enter') + $t('bedsnd.S0000347')" + ></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Rgfp.vue b/src/views/Business/Betsnd/Rgfp.vue new file mode 100644 index 0000000..6283f87 --- /dev/null +++ b/src/views/Business/Betsnd/Rgfp.vue @@ -0,0 +1,556 @@ +<template> + <div class="eibs-tab"> + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="betp.ledget.sdamod.dadsnd"> + <c-input + v-model="model.betp.ledget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000052 : 参考号 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000052')" prop="ledgrp.rec.ownref"> + <c-input + v-model="model.ledgrp.rec.ownref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('betp.SF000052')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="betp.ledget.sdamod.seainf"> + <c-input + v-model="model.betp.ledget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000053 : 信用证余额 --> + + <c-col :span="12"> + <c-form-item label="Currency" prop="ledgrp.cbs.opn1.cur"> + <c-input + v-model="model.ledgrp.cbs.opn1.cur" + maxlength="3" + :placeholder="$t('other.please_enter') + 'Currency'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Balance" prop="ledgrp.cbs.opn1.amt"> + <c-input + v-model="model.ledgrp.cbs.opn1.amt" + :placeholder="$t('other.please_enter') + 'Balance'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="betp.recget.sdamod.dadsnd"> + <c-input + v-model="model.betp.recget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000061 : 单据参考号 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000061')" prop="bedgrp.rec.ownref"> + <c-input + v-model="model.bedgrp.rec.ownref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('betp.SF000061')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="betp.recget.sdamod.seainf"> + <c-input + v-model="model.betp.recget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000077 : 摘要 --> + + <c-col :span="12"> + <c-form-item + label="Externally Displayed Name to Identify the Contract" + prop="bedgrp.rec.nam" + > + <c-input + v-model="model.bedgrp.rec.nam" + maxlength="40" + :placeholder=" + $t('other.please_enter') + + 'Externally Displayed Name to Identify the Contract' + " + ></c-input> + </c-form-item> + </c-col> + <!-- SF000060 : 单据金额 --> + + <c-col :span="12"> + <el-form-item :label="$t('betp.SF000060')" prop="bedgrp.cbs.max.cur"> + <c-select + v-model="model.bedgrp.cbs.max.cur" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betp.SF000060')" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000060')" prop="bedgrp.cbs.max.amt"> + <c-input + v-model="model.bedgrp.cbs.max.amt" + :placeholder="$t('other.please_enter') + $t('betp.SF000060')" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000056 : 交单人 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000056')" prop="bedgrp.prb.pts.ref"> + <c-input + v-model="model.bedgrp.prb.pts.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('betp.SF000056')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.betp.adaflg">{{ + $t('betp.CF000051') + }}</c-checkbox> + </c-col> + <!-- SF000059 : 单据余额 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000059')" prop="bedgrp.cbs.opn1.cur"> + <c-input + v-model="model.bedgrp.cbs.opn1.cur" + maxlength="3" + :placeholder="$t('other.please_enter') + $t('betp.SF000059')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Balance" prop="bedgrp.cbs.opn1.amt"> + <c-input + v-model="model.bedgrp.cbs.opn1.amt" + :placeholder="$t('other.please_enter') + 'Balance'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Name of Party" prop="bedgrp.prb.pts.nam"> + <c-input + v-model="model.bedgrp.prb.pts.nam" + maxlength="40" + :placeholder="$t('other.please_enter') + 'Name of Party'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000063 : 开证行 --> + <!-- SF000065 : 编号 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000063')" prop="bedgrp.iss.pts.ref"> + <c-input + v-model="model.bedgrp.iss.pts.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('betp.SF000063')" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000062 : 单据类型 --> + + <c-col :span="12"> + <el-form-item :label="$t('betp.SF000062')" prop="bedgrp.rec.doctypcod"> + <c-select + v-model="model.bedgrp.rec.doctypcod" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betp.SF000062')" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000055')" prop="bedgrp.iss.pts.nam"> + <c-input + v-model="model.bedgrp.iss.pts.nam" + maxlength="40" + :placeholder="$t('other.please_enter') + $t('betp.SF000055')" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000055 : 到期日 --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.SF000148')" prop="bedgrp.rec.matdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.matdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.SF000148')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000054 : 到单日期 --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.SF000053')" prop="bedgrp.rec.rcvdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.rcvdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.SF000053')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000057 : 提示日期 --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.S0000051')" prop="bedgrp.rec.predat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.predat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.S0000051')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000058 : 申请人 --> + <!-- SF000066 : 编号 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000058')" prop="bedgrp.apl.pts.ref"> + <c-input + v-model="model.bedgrp.apl.pts.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + $t('betp.SF000058')" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000064 : 单据状态 --> + + <c-col :span="12"> + <c-form-item :label="$t('betp.SF000064')" prop="bedgrp.rec.docsta"> + <c-input + v-model="model.bedgrp.rec.docsta" + maxlength="40" + :placeholder="$t('other.please_enter') + $t('betp.SF000064')" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Name of Party" prop="bedgrp.apl.pts.nam"> + <c-input + v-model="model.bedgrp.apl.pts.nam" + maxlength="40" + :placeholder="$t('other.please_enter') + 'Name of Party'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <span + v-text="model.betp.docgrdm.docdsclab" + data-path=".betp.docgrdm.docdsclab" + > + </span> + </c-col> + <!-- S0000040 : Payer --> + + <c-col :span="12"> + <el-form-item label="Payer" prop="bedgrp.rec.payrol"> + <c-select + v-model="model.bedgrp.rec.payrol" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Payer'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="betp.othp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.betp.othp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="bedgrp.oth.pts.extkey"> + <c-input + v-model="model.bedgrp.oth.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="betp.othp.ptsget.sdamod.seainf"> + <c-input + v-model="model.betp.othp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onOthpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="bedgrp.oth.namelc"> + <c-input + type="textarea" + v-model="model.bedgrp.oth.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="bedgrp.oth.pts.adrblk"> + <c-input + type="textarea" + v-model="model.bedgrp.oth.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="bedgrp.oth.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.bedgrp.oth.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="bedgrp.oth.adrelc"> + <c-input + type="textarea" + v-model="model.bedgrp.oth.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000039 : Presented by --> + + <c-col :span="12"> + <el-form-item label="Presented by" prop="bedgrp.rec.docprbrol"> + <c-select + v-model="model.bedgrp.rec.docprbrol" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Presented by'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item + label="Drag Drop Sender" + prop="betp.prbp.ptsget.sdamod.dadsnd" + > + <c-input + v-model="model.betp.prbp.ptsget.sdamod.dadsnd" + :placeholder="$t('other.please_enter') + 'Drag Drop Sender'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="bedgrp.prb.pts.extkey"> + <c-input + v-model="model.bedgrp.prb.pts.extkey" + maxlength="16" + :placeholder="$t('other.please_enter') + 'External Key of Address'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="betp.prbp.ptsget.sdamod.seainf"> + <c-input + v-model="model.betp.prbp.ptsget.sdamod.seainf" + :placeholder="$t('other.please_enter') + ''" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onPrbpDet"> + {{ $t('ptsp.CF000081') }} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="bedgrp.prb.namelc"> + <c-input + type="textarea" + v-model="model.bedgrp.prb.namelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '名称'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="bedgrp.prb.pts.adrblk"> + <c-input + type="textarea" + v-model="model.bedgrp.prb.pts.adrblk" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Address Block'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="bedgrp.prb.dbfadrblkcn"> + <c-input + type="textarea" + v-model="model.bedgrp.prb.dbfadrblkcn" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + 'Chinese address'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000053 : Received on --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.SF000053')" prop="bedgrp.rec.rcvdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.rcvdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.SF000053')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000147 : Date of Shipment --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.SF000147')" prop="bedgrp.rec.shpdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.shpdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.SF000147')" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="bedgrp.prb.adrelc"> + <c-input + type="textarea" + v-model="model.bedgrp.prb.adrelc" + maxlength="35" + show-word-limit + :placeholder="$t('other.please_enter') + '地址'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000051 : Presentation Date --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.S0000051')" prop="bedgrp.rec.predat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.predat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.S0000051')" + ></c-date-picker> + </el-form-item> + </c-col> + <!-- SF000148 : Maturity Date --> + + <c-col :span="12"> + <el-form-item :label="$t('betsnd.SF000148')" prop="bedgrp.rec.matdat"> + <c-date-picker + type="date" + v-model="model.bedgrp.rec.matdat" + style="width: 100%" + :placeholder="$t('other.please_enter') + $t('betsnd.SF000148')" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Maturity Period" prop="bedgrp.blk.matper"> + <c-input + type="textarea" + v-model="model.bedgrp.blk.matper" + maxlength="65" + show-word-limit + :placeholder="$t('other.please_enter') + 'Maturity Period'" + ></c-input> + </c-form-item> + </c-col> + <!-- SF000146 : Maturity Period --> + + <c-col :span="12"> + <c-checkbox v-model="model.ameadrflg">{{ + $t('betsnd.CG000120') + }}</c-checkbox> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/Setpan.vue b/src/views/Business/Betsnd/Setpan.vue new file mode 100644 index 0000000..560afc1 --- /dev/null +++ b/src/views/Business/Betsnd/Setpan.vue @@ -0,0 +1,112 @@ +<template> + <div class="eibs-tab"> + <!-- S0000002 : 参考号 --> + + <c-col :span="12"> + <c-form-item label="our reference" prop="setmod.ref"> + <c-input + v-model="model.setmod.ref" + maxlength="16" + :placeholder="$t('other.please_enter') + 'our reference'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab"> + </span> + </c-col> + + <c-col :span="12"> + <el-form-item label="document currency" prop="setmod.doccur"> + <c-select + v-model="model.setmod.doccur" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'document currency'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="document amount" prop="setmod.docamt"> + <c-input + v-model="model.setmod.docamt" + :placeholder="$t('other.please_enter') + 'document amount'" + ></c-input> + </c-form-item> + </c-col> + <!-- S0000003 : 类型 --> + + <c-col :span="12"> + <el-form-item label="Type of settlement" prop="setmod.dspflg"> + <c-select + v-model="model.setmod.dspflg" + style="width: 100%" + :placeholder="$t('other.please_enter') + 'Type of settlement'" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.setmod.xreflg">{{ + $t('setmod.CF000011') + }}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onSetmodDet"> + {{ $t('setmod.CF000032') }} + </c-button> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.retmsg" data-path=".setmod.retmsg"> </span> + </c-col> + + <c-col :span="12"> + <c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc"> + <c-input + v-model="model.setmod.zmqacc" + maxlength="20" + :placeholder="$t('other.please_enter')+'自��区主��号'" + ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab"> + </span> + </c-col> + <!-- S0000001 : Foreign Commission / Charges: --> + <!-- S0000001 : Own Commission / Charges: --> + <!-- SF000001 : Settlement: --> + + <c-col :span="12"> + <span + v-text="model.setmod.setglg.labdspflg" + data-path=".setmod.setglg.labdspflg" + > + </span> + </c-col> + </div> +</template> +<script> +import Api from '~/service/Api' +import commonProcess from '~/mixin/commonProcess' +import CodeTable from '~/config/CodeTable' +import Event from '~/model/Betsnd/Event' + +export default { + inject: ['root'], + props: ['model', 'codes'], + mixins: [commonProcess], + data() { + return {} + }, + methods: { ...Event }, + created: function () {}, +} +</script> +<style></style> diff --git a/src/views/Business/Betsnd/index.vue b/src/views/Business/Betsnd/index.vue new file mode 100644 index 0000000..515d6c4 --- /dev/null +++ b/src/views/Business/Betsnd/index.vue @@ -0,0 +1,202 @@ +<template> + <div class="eContainer"> + <!-- 按钮 --> + <c-function-btn + :handleSubmit="handleSubmit" + :handleCheck="handleCheck" + :handleStash="handleStash" + > + <!-- <el-button size="small">查询</el-button> --> + <el-button size="small">用户确认</el-button> + <el-button size="small">检核</el-button> + <el-button size="small">日志</el-button> + <!-- <el-button size="small">保存模板</el-button> --> + <!-- <el-button size="small">使用模板</el-button> --> + <el-button size="small">inc to Ben</el-button> + <el-button size="small">imgyge</el-button> + <!-- <el-button size="small">拆分报文</el-button> --> + <el-button size="small">img</el-button> + <el-button size="small">His.img</el-button> + </c-function-btn> + + <el-form + :model="model" + :rules="rules" + ref="modelForm" + label-width="150px" + label-position="right" + size="small" + :validate-on-rule-change="false" + > + <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> + <!--betsnd PD000021 Send Docs. --> + <el-tab-pane label="Send Docs." name="rgfp"> + <c-content> + <m-rgfp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--betsnd PD000050 Instr./ Discrep. --> + <el-tab-pane label="Discr./Instr." name="dscins"> + <c-content> + <m-dscins :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--betsnd PD000049 Document Instructions --> + <el-tab-pane label="Document Instructions" name="rgfdet"> + <c-content> + <m-rgfdet :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--liaall PD000027 Liability --> + <el-tab-pane label="Liability" name="engp"> + <c-content> + <m-engp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--setmod PD000000 Settlement --> + <el-tab-pane label="Settlement" name="setpan"> + <c-content> + <m-setpan :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--coninf PD000000 Completion --> + <el-tab-pane label="Completion" name="coninfp"> + <c-content> + <m-coninfp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--trndoc PD000529 &Messages --> + <el-tab-pane label="Messages" name="docpan"> + <c-content> + <m-docpan :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--trndoc PD000546 Attachments --> + <el-tab-pane label="Attachments" name="doctre"> + <c-content> + <m-doctre :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--rmbclm PD000128 Reimbursement Details --> + <el-tab-pane label="Reimbursement Details" name="remp"> + <c-content> + <m-remp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--cnybop PD000002 跨境人民币申报 --> + <el-tab-pane label="跨境人民币申报" name="cnyp"> + <c-content> + <m-cnyp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--cnybop PD000110 2106银行跟单结算及表外融资 --> + <el-tab-pane label="2106银行跟单结算及表外融资" name="libp"> + <c-content> + <m-libp :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + <!--limmod PD000001 统一授信 --> + <el-tab-pane label="统一授信" name="limitbody" + >\ + <c-content> + <m-limitbody :model="model" :codes="codes" /> + </c-content> + </el-tab-pane> + </c-tabs> + </el-form> + <c-grid-ety-prompt-dialog + ref="etyDialog" + :promptData="promptData" + v-on:select-ety="selectEty" + > + </c-grid-ety-prompt-dialog> + </div> +</template> +<script> +import Api from '~/service/Api' +import CodeTable from '~/config/CodeTable' +import Betsnd from '~/model/Betsnd' +import commonProcess from '~/mixin/commonProcess' +import commonFuncs from '~/mixin/commonFuncs' +import Check from '~/model/Betsnd/Check' +import Default from '~/model/Betsnd/Default' +import Pattern from '~/model/Betsnd/Pattern' +import Rgfp from './Rgfp' +import Dscins from './Dscins' +import Rgfdet from './Rgfdet' +// import Engp from './Engp' +// import Setpan from './Setpan' +// import Coninfp from './Coninfp' +// import Docpan from './Docpan' +// import Doctre from './Doctre' +import Remp from './Remp' +import Cnyp from './Cnyp' +import Libp from './Libp' +// import Limitbody from './Limitbody' + +import Engp from "~/views/Public/Engp"; +import Setpan from "~/views/Public/Setpan"; +import Coninfp from "~/views/Public/Coninfp"; +import Docpan from "~/views/Public/Docpan"; +import Doctre from '~/views/Public/Doctre'; +import Limitbody from '~/views/Public/Limitbody'; + +export default { + name: 'Betsnd', + components: { + 'm-rgfp': Rgfp, + 'm-dscins': Dscins, + 'm-rgfdet': Rgfdet, + 'm-engp': Engp, + 'm-setpan': Setpan, + 'm-coninfp': Coninfp, + 'm-docpan': Docpan, + 'm-doctre': Doctre, + 'm-remp': Remp, + 'm-cnyp': Cnyp, + 'm-libp': Libp, + 'm-limitbody': Limitbody, + }, + provide() { + return { + root: this, + } + }, + mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 + data() { + return { + tabVal: 'rgfp', + trnName: 'betsnd', + trnType: '', + model: new Betsnd().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: { ...CodeTable }, + } + }, + methods: { + myTabClick(tab) { + this.tabClick(tab) + /** + * do it yourself + **/ + }, + }, + created: async function () { + console.log('进入betsnd交易') + let rtnmsg = await this.init({}) + if (rtnmsg.respCode == SUCCESS) { + this.updateModel(rtnmsg.data) + //TODO 处理数据逻辑 + if (this.isInDisplay) { + this.restoreDisplay() + } + } else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }) + } + }, +} +</script> +<style></style> diff --git a/src/views/Business/Botdav/Ovwp.vue b/src/views/Business/Botdav/Ovwp.vue index a741e57..3f7f92c 100644 --- a/src/views/Business/Botdav/Ovwp.vue +++ b/src/views/Business/Botdav/Ovwp.vue @@ -29,16 +29,23 @@ <c-col :span="24"> <c-col :span="12"> <el-form-item label="Responsible User" prop="ditp.usr.extkey" style="width: 100%"> - <c-input style="width: 95%" v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入User ID" disabled> + <c-row> + <c-col :span="20"> + <c-input style="width: 95%" v-model="model.botp.usr.extkey" maxlength="8" placeholder="请输入User ID" + disabled></c-input> + </c-col> + <c-col :span="4"> + <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"> + </c-button> + </c-col> + </c-row> </c-input> </el-form-item> </c-col> - <c-col :span="4"> - <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"> - </c-button> - </c-col> - <c-col :span="8"> - <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> + <c-col :span="12"> + <el-form-item label="" prop="bodgrp.rec.dircolflg"> + <c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox> + </el-form-item> </c-col> </c-col> <c-col :span="12"> @@ -188,9 +195,7 @@ </c-table> </c-col> --> - <c-docpre - :model="model" - :argadr="{ + <c-docpre :model="model" :argadr="{ path: 'SEMFLG', grp: 'botp', code: 'docpre' @@ -234,138 +239,138 @@ </c-row> </template> <script> -import Api from "~/service/Api" -import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Botdav/Event" -import Utils from "~/utils"; -import Ptap from "~/views/Public/Ptap"; -import Docpre from "~/views/Public/Docpre"; -export default { - components: { - "c-ptap": Ptap, - "c-docpre": Docpre, - }, - inject: ["root"], - props: ["model", "codes"], - mixins: [commonProcess], - data() { - return { - codeTable2: [ - { label: "金(含金饰品)", value: "001" }, - { label: "银(含银饰品)", value: "002" }, - { label: "铜(含电解铜、铜制品及铜精矿)", value: "003" }, - { label: "铝(含电解铝、铝矾土及铝制品)", value: "004" }, - { label: "锌(含电解锌、锌精矿)", value: "005" }, - { label: "铁砂矿(含精矿)", value: "006" }, - { label: "其他金属", value: "007" }, - { label: "大豆", value: "008" }, - { label: "玉米", value: "009" }, - { label: "原油", value: "010" }, - { label: "食用油(含棕榈油)", value: "011" }, - { label: "煤", value: "013" }, - { label: "其他", value: "099" }, - ], - columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'], - codeTable: [ - { label: "Airway Bills", value: "Airway Bills" }, - { label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, - { label: "Bill of Lading Copies", value: "Bill of Lading Copies" }, - { label: "Bill of Lading Originals", value: "Bill of Lading Originals" }, - { label: "Certificate", value: "Certificate" }, - { label: "Certificate of Analysis", value: "Certificate of Analysis" }, - { label: "Certificate of Origin", value: "Certificate of Origin" }, - { label: "Certificate of Quality", value: "Certificate of Quality" }, - { label: "Certificate of Quantity", value: "Certificate of Quantity" }, - { label: "Commercial Invoice", value: "Commercial Invoice" }, - { label: "Courier Receipt", value: "Courier Receipt" }, - { label: "Draft", value: "Draft" }, - { label: "Export Licence", value: "Export Licence" }, - { label: "Fax Report", value: "Fax Report" }, - { label: "Inspection Cert", value: "Inspection Cert" }, - { label: "Insurance Policy", value: "Insurance Policy" }, - { label: "Packing List", value: "Packing List" }, - { label: "Shipment Advice", value: "Shipment Advice" }, - { label: "Weight List", value: "Weight List" }, - ], - // TableValue: [ - // { - // id: 0, - // cmail1: "", - // cmail2: "", - // docnam: "", - // description: "", - // serialNum: "", - // tableName: "", - // tcddoc: "", - // }, - // ], - newValue: { - id: 0, - cmail1: "", - cmail2: "", - docnam: "", - description: "", - serialNum: "", - tableName: "", - tcddoc: "", + import Api from "~/service/Api" + import commonProcess from "~/mixin/commonProcess"; + import CodeTable from "~/config/CodeTable" + import Event from "~/model/Botdav/Event" + import Utils from "~/utils"; + import Ptap from "~/views/Public/Ptap"; + import Docpre from "~/views/Public/Docpre"; + export default { + components: { + "c-ptap": Ptap, + "c-docpre": Docpre, + }, + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + data() { + return { + codeTable2: [ + { label: "金(含金饰品)", value: "001" }, + { label: "银(含银饰品)", value: "002" }, + { label: "铜(含电解铜、铜制品及铜精矿)", value: "003" }, + { label: "铝(含电解铝、铝矾土及铝制品)", value: "004" }, + { label: "锌(含电解锌、锌精矿)", value: "005" }, + { label: "铁砂矿(含精矿)", value: "006" }, + { label: "其他金属", value: "007" }, + { label: "大豆", value: "008" }, + { label: "玉米", value: "009" }, + { label: "原油", value: "010" }, + { label: "食用油(含棕榈油)", value: "011" }, + { label: "煤", value: "013" }, + { label: "其他", value: "099" }, + ], + columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'], + codeTable: [ + { label: "Airway Bills", value: "Airway Bills" }, + { label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, + { label: "Bill of Lading Copies", value: "Bill of Lading Copies" }, + { label: "Bill of Lading Originals", value: "Bill of Lading Originals" }, + { label: "Certificate", value: "Certificate" }, + { label: "Certificate of Analysis", value: "Certificate of Analysis" }, + { label: "Certificate of Origin", value: "Certificate of Origin" }, + { label: "Certificate of Quality", value: "Certificate of Quality" }, + { label: "Certificate of Quantity", value: "Certificate of Quantity" }, + { label: "Commercial Invoice", value: "Commercial Invoice" }, + { label: "Courier Receipt", value: "Courier Receipt" }, + { label: "Draft", value: "Draft" }, + { label: "Export Licence", value: "Export Licence" }, + { label: "Fax Report", value: "Fax Report" }, + { label: "Inspection Cert", value: "Inspection Cert" }, + { label: "Insurance Policy", value: "Insurance Policy" }, + { label: "Packing List", value: "Packing List" }, + { label: "Shipment Advice", value: "Shipment Advice" }, + { label: "Weight List", value: "Weight List" }, + ], + // TableValue: [ + // { + // id: 0, + // cmail1: "", + // cmail2: "", + // docnam: "", + // description: "", + // serialNum: "", + // tableName: "", + // tcddoc: "", + // }, + // ], + newValue: { + id: 0, + cmail1: "", + cmail2: "", + docnam: "", + description: "", + serialNum: "", + tableName: "", + tcddoc: "", + }, + invtyp: [ + { label: "type1", value: "1" } + ], + }; + }, + methods: { + ...Event, + addTableValue(index) { + var newTableValue = Object.assign({}, this.newValue); + const serial = Utils.generateUUID(); + newTableValue.serialNum = serial; + this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue); + // var index = this.TableValue.length; + + // if (index > 0) { + // newTableValue.id = this.TableValue[index - 1].id + 1; + // } + // this.TableValue.push(newTableValue); + }, + deleteTable(index) { + this.model.botp.docgrdm.docgrd.splice(index, 1); + // console.log(row) + // console.log(this.TableValue) + // for (let i = 0; i < this.TableValue.length; i++) { + // if (this.TableValue[i].id == row.id) { + // this.TableValue.splice(i, 1); + // break; + // } + // } + }, + async docpre() { + let rtnmsg = await this.executeDefault('bodgrp.blk.docpre') + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 + this.updateModel(rtnmsg.data) + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } }, - invtyp: [ - { label: "type1", value: "1" } - ], - }; - }, - methods: { - ...Event, - addTableValue(index) { - var newTableValue = Object.assign({}, this.newValue); - const serial = Utils.generateUUID(); - newTableValue.serialNum = serial; - this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue); - // var index = this.TableValue.length; - // if (index > 0) { - // newTableValue.id = this.TableValue[index - 1].id + 1; - // } - // this.TableValue.push(newTableValue); }, - deleteTable(index) { - this.model.botp.docgrdm.docgrd.splice(index, 1); - // console.log(row) - // console.log(this.TableValue) - // for (let i = 0; i < this.TableValue.length; i++) { - // if (this.TableValue[i].id == row.id) { - // this.TableValue.splice(i, 1); - // break; - // } - // } - }, - async docpre() { - let rtnmsg = await this.executeDefault('bodgrp.blk.docpre') - if (rtnmsg.respCode == SUCCESS) { - //TODO 处理数据逻辑 - this.updateModel(rtnmsg.data) - } - else { - this.$notify.error({ title: '错误', message: '服务请求失败!' }); - } + computed: { + flag() { + return this.model.bodgrp.drr.pts.adrelc == ""; + }, }, - - }, - computed: { - flag() { - return this.model.bodgrp.drr.pts.adrelc == ""; + created: function () { + console.log(this.root); }, - }, - created: function () { - console.log(this.root); - }, -} + } </script> <style> -.messageLabel>>>.el-form-item__label { - text-align: left; - font-weight: bold; - font-size: 12px; -} + .messageLabel>>>.el-form-item__label { + text-align: left; + font-weight: bold; + font-size: 12px; + } </style> \ No newline at end of file diff --git a/src/views/Business/Botdcr/Inst.vue b/src/views/Business/Botdcr/Inst.vue index b2a3f22..e0bb0f3 100644 --- a/src/views/Business/Botdcr/Inst.vue +++ b/src/views/Business/Botdcr/Inst.vue @@ -45,7 +45,7 @@ <c-col :span="24"> <el-form-item label="" prop="bodgrp.blk.colinsflg"> - <c-checkbox v-model="colinsflg" disabled>Collection instructions modified</c-checkbox> + <c-checkbox v-model="colinsflg" disabled>Delivery of Documents Instructions modified</c-checkbox> </el-form-item> </c-col> diff --git a/src/views/Business/Brtdck/Brtdckp.vue b/src/views/Business/Brtdck/Brtdckp.vue index 52740fb..8bad55b 100644 --- a/src/views/Business/Brtdck/Brtdckp.vue +++ b/src/views/Business/Brtdck/Brtdckp.vue @@ -17,22 +17,13 @@ ></c-input> <template slot="footer"> <c-button - style="margin: 0 10px 0 10px; padding: 0 12px" + style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style="font-family: '宋体'; font-weight: bold">i</span> </c-button> - <c-button - style="margin: 0 0" - size="small" - type="primary" - :disabled="this.flag" - @click="onDitpButgetref" - > - 获取 - </c-button> </template> </c-fullbox> </c-form-item> @@ -45,6 +36,7 @@ v-model="model.lidgrp.rec.expdat" style="width: 100%" placeholder="请输入Expiry" + value-format="yyyy-MM-dd" disabled ></c-date-picker> </el-form-item> @@ -62,22 +54,13 @@ ></c-input> <template slot="footer"> <c-button - style="margin: 0 10px 0 10px; padding: 0 12px" + style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style="font-family: '宋体'; font-weight: bold">i</span> </c-button> - <c-button - style="margin: 0 0" - size="small" - type="primary" - :disabled="this.flag" - @click="onDitpButgetref" - > - 获取 - </c-button> </template> </c-fullbox> </c-form-item> @@ -102,27 +85,24 @@ <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="" + class="m-input-currency" disabled ></c-input> </c-form-item> </c-col> </c-col> - <!-- <c-col :span="12"> - <c-form-item label="" prop="oldbrdgrp.cbs.max.amt"> - <c-input v-model="model.oldbrdgrp.cbs.max.amt" placeholder=""></c-input> - </c-form-item> - </c-col> --> <!-- S0000199 : 单据余额 --> <c-col :span="24"> <c-col :span="13"> <c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur"> - <c-input + <c-select v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount" + :code="codes.curtxt1" disabled - ></c-input> + ></c-select> </c-form-item> </c-col> @@ -131,6 +111,7 @@ <c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="" + class="m-input-currency" disabled ></c-input> </c-form-item> @@ -145,6 +126,7 @@ v-model="model.brdgrp.rec.rcvdat" style="width: 100%" placeholder="请输入" + value-format="yyyy-MM-dd" disabled ></c-date-picker> </el-form-item> @@ -157,6 +139,7 @@ v-model="model.brdgrp.rec.advdat" style="width: 100%" placeholder="请输入Advised on" + value-format="yyyy-MM-dd" disabled ></c-date-picker> </el-form-item> @@ -169,6 +152,7 @@ v-model="model.brdgrp.rec.matdat" style="width: 100%" placeholder="请输入Maturity Date" + value-format="yyyy-MM-dd" ></c-date-picker> </el-form-item> </c-col> @@ -180,6 +164,7 @@ v-model="model.brdgrp.rec.stadat" style="width: 100%" placeholder="请输入 Start Date" + value-format="yyyy-MM-dd" disabled ></c-date-picker> </el-form-item> @@ -255,6 +240,26 @@ <c-input v-model="model.brdgrp.cbs.max.amt" placeholder="" + class="m-input-currency" + ></c-input> + </c-form-item> + </c-col> + </c-col> + + <!-- =====================================当单据金额Document Amount没变时隐藏====================================================== --> + <c-col :span="24"> + <c-col :span="13"> + <span v-text="model.oridoclab" data-path=".oridoclab" + class="span_oridoclab" + v-show="model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt"> </span> + </c-col> + <c-col :span="11"> + <c-form-item label="" label-width="5px" prop="oldbrdgrp.cbs.max.amt"> + <c-input v-model="model.oldbrdgrp.cbs.max.amt" placeholder="" + class="m-input-currency" + style="width: 100%" + disabled + v-show="model.brdgrp.cbs.max.amt!=model.oldbrdgrp.cbs.max.amt" ></c-input> </c-form-item> </c-col> @@ -279,12 +284,31 @@ <c-form-item label="" label-width="5px" prop="brdgrp.cbs.max2.amt"> <c-input v-model="model.brdgrp.cbs.max2.amt" + class="m-input-currency" placeholder="" ></c-input> </c-form-item> </c-col> </c-col> + <!-- =====================================当附加金额没变时隐藏====================================================== --> + <c-col :span="24"> + <c-col :span="13"> + <span v-text="model.oriaddlab" data-path=".oriaddlab" + class="span_oridoclab" + v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"> </span> + </c-col> + <c-col :span="11"> + <c-form-item label="" label-width="5px" prop="oldbrdgrp.cbs.max2.amt"> + <c-input v-model="model.oldbrdgrp.cbs.max2.amt" :placeholder="$t('other.please_enter')+'Balance'" + class="m-input-currency" + style="width: 100%" + disabled + v-show="model.brdgrp.cbs.max2.amt!=model.oldbrdgrp.cbs.max2.amt"></c-input> + </c-form-item> + </c-col> + </c-col> + <!-- S0000081 : Presentation Date --> <c-col :span="12"> <el-form-item label="Presentation Date" prop="brdgrp.rec.predat"> @@ -293,6 +317,7 @@ v-model="model.brdgrp.rec.predat" style="width: 100%" placeholder="请输入Presentation Date" + value-format="yyyy-MM-dd" ></c-date-picker> </el-form-item> </c-col> @@ -304,6 +329,7 @@ v-model="model.brdgrp.rec.rcvdat" style="width: 100%" placeholder="请输入Received on" + value-format="yyyy-MM-dd" ></c-date-picker> </el-form-item> </c-col> @@ -314,6 +340,7 @@ v-model="model.brdgrp.rec.matdat" style="width: 100%" placeholder="Maturity Date" + value-format="yyyy-MM-dd" ></c-date-picker> </el-form-item> </c-col> @@ -325,6 +352,7 @@ v-model="model.brdgrp.rec.shpdat" style="width: 100%" placeholder="请输入Shipped on" + value-format="yyyy-MM-dd" ></c-date-picker> </el-form-item> </c-col> @@ -372,8 +400,9 @@ </c-col> <c-col :span="12"> <c-checkbox - v-model="dscinsflg" + v-model="model.brdgrp.rec.dscinsflg" style="width: 100%; margin-left: 40px" + :disabled="model.brdgrp.blk.docdisflg!=''" >Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox > <!-- <c-checkbox @@ -611,12 +640,6 @@ <c-input v-model="model.brtp.prbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> </c-col> - - - - - - <c-col :span="12"> <c-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf"> <c-input v-model="model.brtp.prbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> @@ -755,22 +778,23 @@ export default { data() { return {}; }, - methods: { ...Event}, + methods: { ...Event, onSeainf(){}}, created: function () {}, computed: { flag() { return this.model.brdgrp.prb.pts.extkey == ""; }, - dscinsflg: { - get() { - return this.model.brdgrp.rec.dscinsflg != '' - }, - set(val) { - this.model.brdgrp.rec.dscinsflg = val ? "X" : "" - } - }, }, }; </script> <style> +.span_oridoclab { + margin-right: 30px; + height: 24px; + color: #606266; + line-height: 24px; + font-size: 12px; + float: right; + text-align: right; +} </style> diff --git a/src/views/Business/Brtdck/Shpdet.vue b/src/views/Business/Brtdck/Shpdet.vue index 0083c23..7020a22 100644 --- a/src/views/Business/Brtdck/Shpdet.vue +++ b/src/views/Business/Brtdck/Shpdet.vue @@ -1,7 +1,7 @@ <template> <div class="eibs-tab"> - <!--=== ==========左边=============== --> + <!--=== ==========左边=============== --> <c-col :span="11"> <c-col :span="24"> <el-form-item label="Release of Goods" prop="brdgrp.rec.relgodflg"> @@ -20,12 +20,14 @@ <c-col :span="12"> <el-form-item label="issue date" prop="brdgrp.rec.relgoddat"> - <c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date"></c-date-picker> + <c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date" + value-format="yyyy-MM-dd"></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="Expiry Date " prop="brdgrp.rec.expdat"> - <c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker> + <c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee" + value-format="yyyy-MM-dd"></c-date-picker> </el-form-item> </c-col> @@ -44,7 +46,8 @@ <c-col :span="24"> <el-form-item label="shipment date" prop="brdgrp.rec.tradat"> - <c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date"></c-date-picker> + <c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date" + value-format="yyyy-MM-dd"></c-date-picker> </el-form-item> </c-col> @@ -128,8 +131,8 @@ </el-form-item> </c-col> <c-col :span="4"> - <el-form-item label="" label-width="0" prop="brdgrp.rec.rtoaplflg"> - <c-checkbox v-model="rtoaplflg" @change="rtoaplflgChangeEvent">to Applicant</c-checkbox> + <el-form-item label="" label-width="5px" prop="brdgrp.rec.rtoaplflg"> + <c-checkbox v-model="model.brdgrp.rec.rtoaplflg">to Applicant</c-checkbox> <!-- <el-input v-model="model.brdgrp.rec.rtoaplflg"></el-input> --> </el-form-item> @@ -241,24 +244,18 @@ export default { } }, computed:{ - rtoaplflg:{ - get() { - return this.model.brdgrp.rec.rtoaplflg != '' - }, - set(val) { - this.model.brdgrp.rec.rtoaplflg = val ? "X" : "" - } - } + // rtoaplflg:{ + // get() { + // return this.model.brdgrp.rec.rtoaplflg != '' + // brdgrp.rec.rtoaplflg + // }, + // set(val) { + // this.model.brdgrp.rec.rtoaplflg = val ? "X" : "" + // } + // } }, methods:{ ...Event, - rtoaplflgChangeEvent() { - this.executeDefault("brdgrp.rec.rtoaplflg").then((res) => { - if ((res.respCode == SUCCESS)) { - Utils.copyValueFromVO(this.model, res.data); - } - }); - }, }, created:function(){ diff --git a/src/views/Business/Brtdcr/Utlp.vue b/src/views/Business/Brtdcr/Utlp.vue index 4cc6ee9..ab78eb5 100644 --- a/src/views/Business/Brtdcr/Utlp.vue +++ b/src/views/Business/Brtdcr/Utlp.vue @@ -359,8 +359,23 @@ </c-col> </el-form-item> </c-col> - - + + <c-col :span="24"> + <el-form-item v-if="model.brdgrp.rec.advdocflg=='X'" label="退单方式" prop="rejtype"> + <c-select + v-model="model.rejtype" + style="width: 100%" + > + <el-option + v-for="item in codes.rejtype" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> </c-col> </c-col> diff --git a/src/views/Business/BusRouter.js b/src/views/Business/BusRouter.js index 6cafbb9..93c3933 100644 --- a/src/views/Business/BusRouter.js +++ b/src/views/Business/BusRouter.js @@ -149,11 +149,13 @@ import Gitset from "./Gitset" import Gitcrq from "./Gitcrq" import Infgcd from "./Infgcd" import Getsel from "./Getsel" +import Getopn from "./Getopn" import Getset from "./Getset" import Getcrq from "./Getcrq" import Getamc from "./Getamc" import Betdcr from "./Betdcr" import Betdrv from "./Betdrv" +import Betsnd from "./Betsnd" import Betset from "./Betset" import Letnot from "./Letnot" @@ -367,12 +369,14 @@ const BusRouter = [ { path: 'Dbipty', component: Dbipty, name: 'Dbipty', meta: { title: '客户静态信息管理' } }, { path: 'betdcr', component: Betdcr, name: 'Betdcr', meta: { title: '出口信用证电提不符点/拒付' } }, { path: 'betdrv', component: Betdrv, name: 'Betdrv', meta: { title: '出口信用证单据修改' } }, + { path: 'betsnd', component: Betsnd, name: 'Betsnd', meta: { title: '出口信用证寄单' } }, { path: 'letnot', component: Letnot, name: 'Letnot', meta: { title: '出口信用证预开立' } }, { path: 'infbpd', component: Infbpd, name: 'Infbpd', meta: { title: '出口押汇查询' } }, { path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } }, { path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } }, + { path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } }, { path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } }, { path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } }, { path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } }, diff --git a/src/views/Business/Detopn/Ovwp.vue b/src/views/Business/Detopn/Ovwp.vue index 7787b7c..45c10f2 100644 --- a/src/views/Business/Detopn/Ovwp.vue +++ b/src/views/Business/Detopn/Ovwp.vue @@ -4,49 +4,27 @@ <c-col :span="11"> <c-col :span="24"> <c-col :span="20"> - <el-form-item - label="信用证号码" - prop="dedgrp.rec.ownref" - style="width: 100%" - > - <c-input - v-model="model.dedgrp.rec.ownref" - maxlength="16" - placeholder="请输入Reference" - style="width: 95%" - disabled - ></c-input> + <el-form-item label="信用证号码" prop="dedgrp.rec.ownref" style="width: 100%"> + <c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" + style="width: 95%" disabled></c-input> </el-form-item> </c-col> <!-- <c-col :span="1" style="text-align: right"> --> <c-col :span="1"> <!-- <el-form-item label="" label-width="5px"> --> - <c-button - style="margin: 0 10px 0 0; padding: 0 12px" - size="small" - type="primary" - @click="onSeainf" - > - <span - style=" + <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf"> + <span style=" font-size: 15px; font-family: '宋体'; font-weight: bold; - " - >i</span - > + ">i</span> </c-button> <!-- </el-form-item> --> </c-col> <c-col :span="2" :offset="1" style="text-align: right"> <!-- <el-form-item label="" label-width="5px"> --> - <c-button - style="margin: 0 0" - size="small" - type="primary" - :disabled="this.flag" - @click="onDetpButgetref" - > + <c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" + @click="onDetpButgetref"> 获取 </c-button> <!-- </el-form-item> --> @@ -56,43 +34,22 @@ <c-col :span="24"> <el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp"> - <c-select - v-model="model.dedgrp.rec.lcrtyp" - style="width: 100%" - placeholder="请选择" - > - <el-option - v-for="item in codes.lcrtyp" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select v-model="model.dedgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择"> + <el-option v-for="item in codes.lcrtyp" :key="item.value" :label="item.label" + :value="item.value"> </el-option> </c-select> </el-form-item> </c-col> <c-col :span="24"> - <el-form-item - label="所属客户经理" - prop="detp.usr.extkey" - style="width: 100%" - > + <el-form-item label="所属客户经理" prop="detp.usr.extkey" style="width: 100%"> <c-fullbox> - <c-input - v-model="model.detp.usr.extkey" - maxlength="8" - placeholder="请输入所属客户经理" - disabled - ></c-input> + <c-input v-model="model.detp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理" disabled> + </c-input> <template slot="footer"> - <c-button - style="margin-left: 10px; padding: 0 10px" - size="small" - icon="el-icon-search" - type="primary" - @click="onExtkey" - ></c-button> + <c-button style="margin-left: 10px; padding: 0 10px" size="small" icon="el-icon-search" + type="primary" @click="onExtkey"></c-button> </template> </c-fullbox> </el-form-item> @@ -104,52 +61,29 @@ <c-col :span="13"> <el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur"> - <c-select - disabled - v-model="model.dedgrp.cbs.nom1.cur" - style="width: 100%" - placeholder="请选择Currency" - @keyup.enter.native="nom1CurEvent" - > - <el-option - v-for="item in codes.cur" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select disabled v-model="model.dedgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择Currency" + @keyup.enter.native="nom1CurEvent"> + <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> <c-col :span="11"> - <el-form-item - style="text-align: left" - label-width="5px" - prop="dedgrp.cbs.nom1.amt" - > - <c-input-currency - v-model="model.dedgrp.cbs.nom1.amt" - style="text-align: left; width: 100%" - placeholder="请输入信用证金额" - @keyup.enter.native=" + <el-form-item style="text-align: left" label-width="5px" prop="dedgrp.cbs.nom1.amt"> + <c-input-currency v-model="model.dedgrp.cbs.nom1.amt" style="text-align: left; width: 100%" + placeholder="请输入信用证金额" @keyup.enter.native=" defaultFunction( 'dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt ) - " - ></c-input-currency> + "></c-input-currency> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="大写金额" prop="detp.upamt"> - <c-input - v-model="model.detp.upamt" - maxlength="76" - placeholder="请输入大写金额" - disabled - ></c-input> + <c-input v-model="model.detp.upamt" maxlength="76" placeholder="请输入大写金额" disabled></c-input> </el-form-item> </c-col> @@ -178,31 +112,21 @@ <c-col :span="24"> <c-col :span="13"> <c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop"> - <c-input - v-model="model.dedgrp.rec.nomtop" - maxlength="9" - style="width: 100%" - placeholder="请输入Amount Tolerance - Positive" - ></c-input> + <c-input v-model="model.dedgrp.rec.nomtop" maxlength="10" style="width: 100%" + placeholder="请输入Amount Tolerance - Positive"></c-input> </c-form-item> </c-col> <c-col :span="1" style="text-align: center"> - <label - style=" + <label style=" display: inline-block; width: calc(3% - 4px); text-align: center; - " - >-</label - > + ">-</label> </c-col> <c-col :span="10"> - <c-input - v-model="model.dedgrp.rec.nomton" - maxlength="9" - style="width: 100%" - placeholder="请输入Amount Tolerance - Negative" - ></c-input> + <c-form-item label="" prop="dedgrp.rec.nomton" label-width="0"> + <c-input v-model="model.dedgrp.rec.nomton" prop="dedgrp.rec.nomton" maxlength="10" style="width: 100%" + placeholder="请输入Amount Tolerance - Negative"></c-input></c-form-item> </c-col> </c-col> @@ -225,50 +149,25 @@ <c-col :span="13"> <el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur"> - <c-select - v-model="model.dedgrp.cbs.max.cur" - placeholder="请选择Currency" - disabled - > - <el-option - v-for="item in codes.cur" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select v-model="model.dedgrp.cbs.max.cur" placeholder="请选择Currency" disabled> + <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> <c-col :span="11"> - <el-form-item - label="" - label-width="5px" - prop="dedgrp.cbs.max.amt" - > - <c-input - v-model="model.dedgrp.cbs.max.amt" - placeholder="请输入信用证最大金额" - disabled - ></c-input> + <el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt"> + <c-input v-model="model.dedgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="贸易类型" prop="dedgrp.rec.mytype"> - <c-select - v-model="model.dedgrp.rec.mytype" - style="width: 100%" - placeholder="请选择贸易类型" - @change="mytypeChange" - > - <el-option - v-for="item in codes.mytype" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select v-model="model.dedgrp.rec.mytype" style="width: 100%" placeholder="请选择贸易类型" + @change="mytypeChange"> + <el-option v-for="item in codes.mytype" :key="item.value" :label="item.label" + :value="item.value"> </el-option> </c-select> </el-form-item> @@ -289,54 +188,22 @@ </c-col> --> <c-col :span="24"> <c-form-item label="开证日期" prop="dedgrp.rec.opndat"> - <c-date-picker - type="date" - v-model="model.dedgrp.rec.opndat" - value-format="yyyy-MM-dd" - placeholder="请选择Date" - style="width: 100%" - ></c-date-picker> + <c-date-picker type="date" v-model="model.dedgrp.rec.opndat" value-format="yyyy-MM-dd" + placeholder="请选择Date" style="width: 100%"></c-date-picker> </c-form-item> </c-col> <c-col :span="24"> - <el-form-item - v-if="model.dedgrp.rec.mytype == 'H'" - label="最迟货物装运日" - prop="dedgrp.rec.shpdat" - > - <c-date-picker - type="date" - v-model="model.dedgrp.rec.shpdat" - value-format="yyyy-MM-dd" - style="width: 100%" - placeholder="请选择Date" - ></c-date-picker> + <el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="dedgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd" + style="width: 100%" placeholder="请选择Date"></c-date-picker> </el-form-item> - <el-form-item - v-if="model.dedgrp.rec.mytype == 'F'" - label="最迟服务提供日" - prop="dedgrp.rec.shpdat" - > - <c-date-picker - type="date" - v-model="model.dedgrp.rec.shpdat" - value-format="yyyy-MM-dd" - style="width: 100%" - placeholder="请选择Date" - ></c-date-picker> + <el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="dedgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd" + style="width: 100%" placeholder="请选择Date"></c-date-picker> </el-form-item> - <el-form-item - label="最迟货物装运日/服务提供日" - v-if="model.dedgrp.rec.mytype == '3'" - prop="dedgrp.rec.shpdat" - > - <c-date-picker - type="date" - v-model="model.dedgrp.rec.shpdat" - value-format="yyyy-MM-dd" - style="width: 100%" - placeholder="请选择" - ></c-date-picker> + <el-form-item label="最迟货物装运日/服务提供日" v-if="model.dedgrp.rec.mytype == '3'" prop="dedgrp.rec.shpdat"> + <c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd" + style="width: 100%" placeholder="请选择"></c-date-picker> </el-form-item> </c-col> @@ -355,35 +222,22 @@ </c-col> --> <c-col :span="24"> <c-form-item label="有效日期" prop="dedgrp.rec.expdat"> - <c-date-picker - type="date" - v-model="model.dedgrp.rec.expdat" - value-format="yyyy-MM-dd" - placeholder="请选择Date" - style="width: 100%" - ></c-date-picker> + <c-date-picker type="date" v-model="model.dedgrp.rec.expdat" value-format="yyyy-MM-dd" + placeholder="请选择Date" style="width: 100%"></c-date-picker> </c-form-item> </c-col> <c-col :span="24"> <c-form-item label="开证行开证类型" prop="dedgrp.rec.dkflg"> - <c-select - v-model="model.dedgrp.rec.dkflg" - style="width: 100%" - placeholder="请选择" - :code="codes.dkflg" - disabled - ></c-select> + <c-select v-model="model.dedgrp.rec.dkflg" style="width: 100%" placeholder="请选择" :code="codes.dkflg" + disabled></c-select> </c-form-item> </c-col> <c-col :span="24"> <el-form-item label="有效地点" prop="dedgrp.rec.expplc"> - <c-input - v-model="model.dedgrp.rec.expplc" - maxlength="35" - placeholder="请输入Place of Expiry" - ></c-input> + <c-input v-model="model.dedgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry"> + </c-input> </el-form-item> </c-col> @@ -400,12 +254,8 @@ <c-col :span="24"> <el-form-item label="转运" prop="dedgrp.rec.shptrs"> - <c-select - v-model="model.dedgrp.rec.shptrs" - style="width: 100%" - placeholder="请选择" - :disabled="model.dedgrp.rec.mytype == 'F'" - > + <c-select v-model="model.dedgrp.rec.shptrs" style="width: 100%" placeholder="请选择" + :disabled="model.dedgrp.rec.mytype == 'F'"> <el-option label="不允许" value="禁止"></el-option> <el-option label="允许" value="允许"></el-option> </c-select> @@ -414,17 +264,9 @@ <c-col :span="24"> <el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg"> - <c-select - v-model="model.dedgrp.rec.elcflg" - style="width: 100%" - placeholder="请选择是否通过电证系统" - > - <el-option - v-for="item in codes.elcflg" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select v-model="model.dedgrp.rec.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统"> + <el-option v-for="item in codes.elcflg" :key="item.value" :label="item.label" + :value="item.value"> </el-option> </c-select> </el-form-item> @@ -441,18 +283,10 @@ <c-col :span="24"> <el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby"> - <c-select - v-model="model.dedgrp.rec.avbby" - style="width: 100%" - @change="avbbykeyEvent" - placeholder="请选择" - > - <el-option - v-for="item in codes.avbbyDetopn" - :key="item.value" - :label="item.label" - :value="item.value" - > + <c-select v-model="model.dedgrp.rec.avbby" style="width: 100%" @change="avbbykeyEvent" + placeholder="请选择"> + <el-option v-for="item in codes.avbbyDetopn" :key="item.value" :label="item.label" + :value="item.value"> </el-option> </c-select> </el-form-item> @@ -460,38 +294,24 @@ <c-col :span="24"> <el-form-item label="天数" prop="dedgrp.rec.tenmaxday"> - <c-input - v-model.number="model.dedgrp.rec.tenmaxday" - placeholder="请输入天数" - :disabled="model.dedgrp.rec.avbby == 'P'" - ></c-input> + <c-input v-model.number="model.dedgrp.rec.tenmaxday" placeholder="请输入天数" + :disabled="model.dedgrp.rec.avbby == 'P'"></c-input> </el-form-item> </c-col> <div v-if="model.dedgrp.rec.avbby != 'D'"> <c-col :span="24"> <el-form-item label="远期付款指示" prop="dedgrp.blk.dftat"> - <c-input - type="textarea" - v-model="model.dedgrp.blk.dftat" - maxlength="35" - show-word-limit - placeholder="请输入远期付款指示" - :disabled="!model.dedgrp.rec.avbby" - ></c-input> + <c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit + placeholder="请输入远期付款指示" :disabled="!model.dedgrp.rec.avbby"></c-input> </el-form-item> </c-col> </div> <div v-else> <c-col :span="24"> <el-form-item label="远期付款指示" prop="dedgrp.blk.defdet"> - <c-input - type="textarea" - v-model="model.dedgrp.blk.defdet" - maxlength="35" - show-word-limit - placeholder="请输入远期付款指示" - ></c-input> + <c-input type="textarea" v-model="model.dedgrp.blk.defdet" maxlength="35" show-word-limit + placeholder="请输入远期付款指示"></c-input> </el-form-item> </c-col> </div> @@ -501,42 +321,24 @@ <c-col :span="11" :offset="1"> <c-col :span="24"> <el-form-item label="摘要" prop="dedgrp.rec.nam"> - <c-input - text-align="middle" - v-model="model.dedgrp.rec.nam" - maxlength="40" - disabled - placeholder="请输入Externally Displayed Name to Identify the Contract" - ></c-input> + <c-input text-align="middle" v-model="model.dedgrp.rec.nam" maxlength="40" disabled + placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> </el-form-item> </c-col> <c-col :span="24"> - <c-ptap - :model="model" - :argadr="{ - title: '受益人', - grp: 'dedgrp', - rol: 'ben', - }" - :isAdrblk="false" - @onSeainf="onSeainf" - @onAplpDet="onBenpDet" - > + <c-ptap :model="model" :argadr="{ + title: '受益人', + grp: 'dedgrp', + rol: 'ben', + }" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> </c-ptap> </c-col> <c-col :span="24"> <c-col :span="24"> - <el-form-item - label="受益人账号" - prop="dedgrp.ben.pts.extact" - > - <c-input - v-model="model.dedgrp.ben.pts.extact" - maxlength="16" - placeholder="请输入受益人账号" - ></c-input> + <el-form-item label="受益人账号" prop="dedgrp.ben.pts.extact"> + <c-input v-model="model.dedgrp.ben.pts.extact" maxlength="16" placeholder="请输入受益人账号"></c-input> </el-form-item> </c-col> </c-col> @@ -600,45 +402,25 @@ --> <c-col :span="24"> - <el-form-item - label="受益人开户行联行行号" - prop="dedgrp.beb.pts.bankno" - > - <c-input - v-model="model.dedgrp.beb.pts.bankno" - maxlength="20" - placeholder="请输入Number of bank" - ></c-input> + <el-form-item label="受益人开户行联行行号" prop="dedgrp.beb.pts.bankno"> + <c-input v-model="model.dedgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"> + </c-input> </el-form-item> </c-col> <c-col :span="24"> - <el-form-item - label="受益人开户行联行名称 电证用" - prop="dedgrp.beb.pts.jigomc" - > - <c-input - type="textarea" - v-model="model.dedgrp.beb.pts.jigomc" - maxlength="35" - show-word-limit - placeholder="请输入联行名称 电证用" - ></c-input> + <el-form-item label="受益人开户行联行名称 电证用" prop="dedgrp.beb.pts.jigomc"> + <c-input type="textarea" v-model="model.dedgrp.beb.pts.jigomc" maxlength="35" show-word-limit + placeholder="请输入联行名称 电证用"></c-input> </el-form-item> </c-col> <c-col :span="24"> - <c-ptap - :model="model" - :argadr="{ - title: '申请人', - grp: 'dedgrp', - rol: 'apl', - }" - :isAdrblk="false" - @onSeainf="onSeainf" - @onAplpDet="onBenpDet" - > + <c-ptap :model="model" :argadr="{ + title: '申请人', + grp: 'dedgrp', + rol: 'apl', + }" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet"> </c-ptap> </c-col> @@ -700,36 +482,22 @@ <c-col :span="24"> <el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg"> - <c-select - v-model="model.dedgrp.rec.rejflg" - style="width: 100%" - placeholder="请选择是否通知客户" - > + <c-select v-model="model.dedgrp.rec.rejflg" style="width: 100%" placeholder="请选择是否通知客户"> </c-select> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn"> - <c-input - type="textarea" - v-model="model.dedgrp.blk.rejadvrsn" - maxlength="35" - show-word-limit - placeholder="请输入拒绝通知理由" - ></c-input> + <c-input type="textarea" v-model="model.dedgrp.blk.rejadvrsn" maxlength="35" show-word-limit + placeholder="请输入拒绝通知理由"></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="交单期限" prop="dedgrp.blk.preper"> - <c-input - type="textarea" - v-model="model.dedgrp.blk.preper" - maxlength="35" - show-word-limit - placeholder="请输入交单期限" - ></c-input> + <c-input type="textarea" v-model="model.dedgrp.blk.preper" maxlength="35" show-word-limit + placeholder="请输入交单期限"></c-input> </el-form-item> </c-col> </c-col> @@ -861,7 +629,7 @@ export default { }; }, methods: { ...Event }, - created: function () {}, + created: function () { }, computed: { flag() { return this.model.dedgrp.ben.pts.extkey == ""; diff --git a/src/views/Business/Getopn/Confp.vue b/src/views/Business/Getopn/Confp.vue new file mode 100644 index 0000000..b20868c --- /dev/null +++ b/src/views/Business/Getopn/Confp.vue @@ -0,0 +1,152 @@ +<template> + <div class="eibs-tab"> + <!-- SF001031 : Confirmation Status --> + <!-- SF000895 : Received Confirmation Instructions: --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000888')" prop="gidgrp.rec.cnfsta"> + <c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000888')"> + </c-select> + </el-form-item> + </c-col> + <!-- SF000894 : Outgoing Confirmation Instructions: --> + <!-- SF001030 : Confirmation Amount --> + <!-- SF000896 : Confirm. Instr. --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000896')" prop="gidgrp.rec.reccnfdet"> + <c-select v-model="model.gidgrp.rec.reccnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000896')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF000890')" prop="gidgrp.cbs.cnf.cur"> + <c-input v-model="model.gidgrp.cbs.cnf.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.SF000890')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Balance" prop="gidgrp.cbs.cnf.amt"> + <c-input v-model="model.gidgrp.cbs.cnf.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> + </c-form-item> + </c-col> + <!-- SF001032 : or --> + + <c-col :span="12"> + <c-form-item label="Partial Confirmation" prop="gidgrp.rec.partcon"> + <c-input v-model="model.gidgrp.rec.partcon" :placeholder="$t('other.please_enter')+'Partial Confirmation'"></c-input> + </c-form-item> + </c-col> + <!-- SF000729 : Confirm. Instr. --> + <!-- SF001033 : % --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000729')" prop="gidgrp.rec.cnfdet"> + <c-select v-model="model.gidgrp.rec.cnfdet" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000729')"> + </c-select> + </el-form-item> + </c-col> + <!-- SF001034 : Confirmed on --> + <!-- SF001077 : Confirm. Bank Ref. --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000889')" prop="gidgrp.rec.cnfdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000889')"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001077')" prop="gidgrp.cnr.pts.ref"> + <c-input v-model="model.gidgrp.cnr.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001077')"></c-input> + </c-form-item> + </c-col> + <!-- SF001078 : Confirm. Bank Ref. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref"> + <c-input v-model="model.gidgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input> + </c-form-item> + </c-col> + <!-- SF000898 : Confirming Bank --> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.cnrp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.cnrp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.cnr.pts.extkey"> + <c-input v-model="model.gidgrp.cnr.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.cnrp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.cnrp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onCnrpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + <!-- SF000730 : Confirming Bank --> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.cnr.namelc"> + <c-input type="textarea" v-model="model.gidgrp.cnr.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.cnr.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.cnr.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.cnr.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.cnr.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.cnr.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.cnr.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000887 : Own confirmation details: --> + <!-- SF000888 : Confirmation Status --> + <!-- SF000890 : Confirmation Amount --> + <!-- SF000892 : or --> + <!-- SF000893 : % --> + <!-- SF000889 : Confirmation Date --> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/Detp.vue b/src/views/Business/Getopn/Detp.vue new file mode 100644 index 0000000..0aac342 --- /dev/null +++ b/src/views/Business/Getopn/Detp.vue @@ -0,0 +1,267 @@ +<template> + <div class="eibs-tab"> + +<c-col :span="12"> + <span v-text="model.gitp.aplnamtxt" data-path=".gitp.aplnamtxt" > </span> +</c-col> + <!-- SF000666 : Contract Reference --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001275')" prop="gidgrp.rec.orcref"> + <c-input v-model="model.gidgrp.rec.orcref" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001275')"></c-input> + </c-form-item> + </c-col> + <!-- S0001275 : Contract Reference --> + + <c-col :span="12"> + <c-form-item label="申请人名称关税保函专用" prop="gidgrp.ghd.aplnam"> + <c-input type="textarea" v-model="model.gidgrp.ghd.aplnam" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'申请人名称关税保函专用'" ></c-input> + </c-form-item> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.laborcdat" data-path=".gitp.laborcdat" > </span> +</c-col> + + <c-col :span="12"> + <el-form-item label="Date from Original Contract" prop="gidgrp.rec.orcdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" :placeholder="$t('other.please_enter')+'Date from Original Contract'"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001282 : 企业海关编码 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001282')" prop="gidgrp.rec.bngcod"> + <c-input v-model="model.gidgrp.rec.bngcod" maxlength="10" :placeholder="$t('other.please_enter')+$t('gitp.S0001282')"></c-input> + </c-form-item> + </c-col> + <!-- SF000663 : Closing Date --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001272')" prop="gidgrp.rec.tenclsdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001272')"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001272 : Closing Date --> + <!-- S0001279 : 组织机构代码 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001279')" prop="gidgrp.rec.juscod"> + <c-input v-model="model.gidgrp.rec.juscod" maxlength="10" :placeholder="$t('other.please_enter')+$t('gitp.S0001279')"></c-input> + </c-form-item> + </c-col> + <!-- SF000657 : Underly. Transact. Det. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001266')" prop="gidgrp.blk.covgodsrv"> + <c-input type="textarea" v-model="model.gidgrp.blk.covgodsrv" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.S0001266')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF000657')" prop="gidgrp.blk.atxcovgodsrv"> + <c-input type="textarea" v-model="model.gidgrp.blk.atxcovgodsrv" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000657')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.covgodsrvmodflg">{{$t('gitp.CF001214')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifcovgodsrv"> + {{$t('gitp.CF001215')}} + </c-button> + </c-col> + <!-- S0001280 : 流动资金贷款利率档次 --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001280')" prop="gidgrp.rec.cunqii"> + <c-select v-model="model.gidgrp.rec.cunqii" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001280')"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001266 : Object of Contract --> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.covgod.chkast">{{$t('gitp.CF001083')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifhiscovgodsrv"> + {{$t('gitp.CF001216')}} + </c-button> + </c-col> + <!-- S0001281 : 上浮比率 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001281')" prop="gidgrp.rec.bilvvv"> + <c-input v-model="model.gidgrp.rec.bilvvv" :placeholder="$t('other.please_enter')+$t('gitp.S0001281')"></c-input> + </c-form-item> + </c-col> + <!-- S0001278 : InDirect Issuance Additional Clause --> + + <c-col :span="12"> + <c-form-item label="InDirect Swift Add" prop="gitp.indirectswiadd"> + <c-input type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'InDirect Swift Add'" ></c-input> + </c-form-item> + </c-col> + <!-- S0001267 : Original Perc./ Rate --> + <!-- SF000658 : Original Perc./ Rate --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001267')" prop="gidgrp.rec.orcrat"> + <c-input v-model="model.gidgrp.rec.orcrat" :placeholder="$t('other.please_enter')+$t('gitp.S0001267')"></c-input> + </c-form-item> + </c-col> + <!-- S0001268 : Contract Amount --> + <!-- SF000659 : Contract Amount --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001268')" prop="gidgrp.rec.orccur"> + <c-select v-model="model.gidgrp.rec.orccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001268')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001268')" prop="gidgrp.rec.orcamt"> + <c-input v-model="model.gidgrp.rec.orcamt" :placeholder="$t('other.please_enter')+$t('gitp.S0001268')"></c-input> + </c-form-item> + </c-col> + <!-- S0001270 : Original Contract Place --> + <!-- SF000661 : Original Contract Place --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001270')" prop="gidgrp.blk.orcplc"> + <c-input type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.S0001270')" ></c-input> + </c-form-item> + </c-col> + <!-- S0001269 : A/c for Adv. Paym. Guar. --> + <!-- SF000660 : A/c Adv. Paym. Guar. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001269')" prop="gidgrp.rec.acc"> + <c-input v-model="model.gidgrp.rec.acc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001269')"></c-input> + </c-form-item> + </c-col> + <!-- S0001273 : Law of Jurisdiction --> + <!-- SF000664 : Governing Law --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000664')" prop="gidgrp.rec.jurlaws20"> + <c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000664')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001273')" prop="gidgrp.rec.jurlaw"> + <c-input v-model="model.gidgrp.rec.jurlaw" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001273')"></c-input> + </c-form-item> + </c-col> + <!-- S0001271 : Place of Jurisdiction --> + <!-- SF000662 : Place of Jurisdiction --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001271')" prop="gidgrp.rec.jurplc"> + <c-input v-model="model.gidgrp.rec.jurplc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001271')"></c-input> + </c-form-item> + </c-col> + <!-- S0001277 : Tender Reference --> + <!-- SF000668 : Tender Reference --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001277')" prop="gidgrp.rec.tenref"> + <c-input v-model="model.gidgrp.rec.tenref" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001277')"></c-input> + </c-form-item> + </c-col> + <!-- S0001276 : Tender Date --> + <!-- SF000667 : Tender Date --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001276')" prop="gidgrp.rec.tendat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tendat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001276')"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001274 : Latest Transmiss. Date --> + <!-- SF000665 : Latest Transmission --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001274')" prop="gidgrp.rec.trmdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.trmdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001274')"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001286 : 备注 --> + + <c-col :span="12"> + <c-form-item label="备注" prop="gidgrp.ghd.remark"> + <c-input type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'备注'" ></c-input> + </c-form-item> + </c-col> + <!-- S0001283 : 手册号码 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001283')" prop="gidgrp.rec.mannum"> + <c-input v-model="model.gidgrp.rec.mannum" maxlength="12" :placeholder="$t('other.please_enter')+$t('gitp.S0001283')"></c-input> + </c-form-item> + </c-col> + <!-- SF001230 : Additional Text --> + + <c-col :span="12"> + <c-form-item label="Additional Info" prop="gidgrp.blk.addinf"> + <c-input type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Info'" ></c-input> + </c-form-item> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.labaddinf" data-path=".gitp.labaddinf" > </span> +</c-col> + <!-- S0001284 : 业务类型 --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001284')" prop="gidgrp.ghd.bustyp"> + <c-select v-model="model.gidgrp.ghd.bustyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001284')"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001285 : 仓库号 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001285')" prop="gidgrp.ghd.wahnum"> + <c-input v-model="model.gidgrp.ghd.wahnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('gitp.S0001285')"></c-input> + </c-form-item> + </c-col> + <!-- S0001287 : 受益人名称 --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001287')" prop="gidgrp.gidcxm.benefi"> + <c-input v-model="model.gidgrp.gidcxm.benefi" maxlength="80" :placeholder="$t('other.please_enter')+$t('gitp.S0001287')"></c-input> + </c-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/Gidtxtp.vue b/src/views/Business/Getopn/Gidtxtp.vue new file mode 100644 index 0000000..8b1a1ed --- /dev/null +++ b/src/views/Business/Getopn/Gidtxtp.vue @@ -0,0 +1,73 @@ +<template> + <div class="eibs-tab"> + <!-- SF000350 : Text of Undertaking --> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt"> + <c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> + <c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.chkgidtxt">{{$t('gitp.CF001173')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdif"> + {{$t('gitp.CF000348')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifhis"> + {{$t('gitp.CF000351')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpShwgidtxt"> + {{$t('gitp.CF000384')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpGidtxtmod"> + {{$t('gitp.CG000442')}} + </c-button> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/Opnp.vue b/src/views/Business/Getopn/Opnp.vue new file mode 100644 index 0000000..8bc2fed --- /dev/null +++ b/src/views/Business/Getopn/Opnp.vue @@ -0,0 +1,56 @@ +<template> + <div class="eibs-tab"> + <!-- SG001294 : 是否SWIFT格式 --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg"> + <c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001304 : 是否对外担保 --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua"> + <c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> + <c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox> + </c-col> + <!-- S0001305 : 担保类型 --> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/Ovwp.vue b/src/views/Business/Getopn/Ovwp.vue new file mode 100644 index 0000000..2608ce8 --- /dev/null +++ b/src/views/Business/Getopn/Ovwp.vue @@ -0,0 +1,701 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.recget.sdamod.dadsnd"> + <c-input v-model="model.gitp.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + <!-- SF000700 : Reference --> + <!-- S0001237 : Reference --> + + <c-col :span="12"> + <c-form-item label="Reference" prop="gidgrp.rec.ownref"> + <c-input v-model="model.gidgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001237')" prop="gitp.recget.sdamod.seainf"> + <c-input v-model="model.gitp.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+$t('gitp.S0001237')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.resflg">{{$t('gitp.CG001227')}}</c-checkbox> + </c-col> + <!-- S0001239 : Name --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001239')" prop="gidgrp.rec.nam"> + <c-input v-model="model.gidgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('gitp.S0001239')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButgetref"> + {{$t('gitp.CF000355')}} + </c-button> + </c-col> + <!-- SF000704 : Guarantee Amount --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001241')" prop="gidgrp.cbs.max.cur"> + <c-select v-model="model.gidgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001241')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001241')" prop="gidgrp.cbs.max.amt"> + <c-input v-model="model.gidgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('gitp.S0001241')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.rejflg">{{$t('gitp.CF000690')}}</c-checkbox> + </c-col> + <!-- S0001240 : Responsible User --> + <!-- SF000718 : Old Reference --> + <!-- S0001247 : Applicant Ref. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001297')" prop="gidgrp.apl.pts.ref"> + <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001297')"></c-input> + </c-form-item> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.morapllab" data-path=".gitp.morapllab" > </span> +</c-col> + <!-- SF000708 : Open Amount --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001245')" prop="gidgrp.cbs.opn1.cur"> + <c-input v-model="model.gidgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.S0001245')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Balance" prop="gidgrp.cbs.opn1.amt"> + <c-input v-model="model.gidgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.aamp.aammod.addamtflg">{{$t('gitp.CG001228')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001252')" prop="gidgrp.rec.oldref"> + <c-input v-model="model.gidgrp.rec.oldref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001252')"></c-input> + </c-form-item> + </c-col> + <!-- S0001241 : Guarantee Amount --> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.dzbhflg">{{$t('gitp.CG001234')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.aplp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.aplp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.apl.pts.extkey"> + <c-input v-model="model.gidgrp.apl.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.aplp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.aplp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onAplpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.drpreflglab1" data-path=".gitp.drpreflglab1" > </span> +</c-col> + + <c-col :span="12"> + <el-form-item label="Type of Request" prop="gidgrp.rec.drpreflg"> + <c-select v-model="model.gidgrp.rec.drpreflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Request'"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001245 : Open Amount --> + <!-- SF000703 : Responsible User --> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.apl.namelc"> + <c-input type="textarea" v-model="model.gidgrp.apl.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.apl.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.apl.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000758 : Incoming Purpose --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000758')" prop="gidgrp.rec.purposin"> + <c-select v-model="model.gidgrp.rec.purposin" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000758')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001240')" prop="gitp.usr.extkey"> + <c-input v-model="model.gitp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('gitp.S0001240')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.usrget.sdamod.seainf"> + <c-input v-model="model.gitp.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.inc760">{{$t('gitp.CG001308')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <el-form-item label="Type of Request" prop="gitp.drpreflg"> + <c-select v-model="model.gitp.drpreflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Request'"> + </c-select> + </el-form-item> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.drpreflglab" data-path=".gitp.drpreflglab" > </span> +</c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.apl.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.apl.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000759 : Outgoing Purpose --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000759')" prop="gidgrp.rec.purpos"> + <c-select v-model="model.gidgrp.rec.purpos" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000759')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.revflg">{{$t('gitp.CF000697')}}</c-checkbox> + </c-col> + <!-- S0001246 : Handling Type --> + <!-- SF000709 : Handling Type --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001246')" prop="gidgrp.rec.hndtyp"> + <c-select v-model="model.gidgrp.rec.hndtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001246')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.autrnwflg">{{$t('gitp.CF000698')}}</c-checkbox> + </c-col> + <!-- S0001242 : Type of Undertaking --> + <!-- SF000705 : Undertaking Type --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001242')" prop="gidgrp.rec.gartyp"> + <c-select v-model="model.gidgrp.rec.gartyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001242')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Undertaking Type from Local Undertaking Seq. C" prop="gidgrp.rec.gartypin"> + <c-input v-model="model.gidgrp.rec.gartypin" maxlength="4" :placeholder="$t('other.please_enter')+'Undertaking Type from Local Undertaking Seq. C'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="面函标题" prop="gitp.lettername"> + <c-input v-model="model.gitp.lettername" maxlength="60" :placeholder="$t('other.please_enter')+'面函标题'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Specification of Type of Undertaking - Counter Undertaking" prop="gidgrp.blk.gartyptxtin"> + <c-input v-model="model.gidgrp.blk.gartyptxtin" maxlength="35" :placeholder="$t('other.please_enter')+'Specification of Type of Undertaking - Counter Undertaking'"></c-input> + </c-form-item> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.letterlabel" data-path=".gitp.letterlabel" > </span> +</c-col> + +<c-col :span="12"> + <span v-text="model.gitp.oppbnkl" data-path=".gitp.oppbnkl" > </span> +</c-col> + <!-- SF000717 : Form of Undertaking --> + <!-- S0001253 : Applicable Rules --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000717')" prop="gidgrp.rec.legfrm"> + <c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000717')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.rmbflg">{{$t('gitp.CF001221')}}</c-checkbox> + </c-col> + +<c-col :span="12"> + <span v-text="model.gitp.bantyp" data-path=".gitp.bantyp" > </span> +</c-col> + + <c-col :span="12"> + <c-form-item label="Reference for Address Optional" prop="gidgrp.adv.pts.ref"> + <c-input v-model="model.gidgrp.adv.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001300')" prop="gidgrp.iss.pts.ref"> + <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001300')"></c-input> + </c-form-item> + </c-col> + <!-- SF000716 : Order Date --> + + <c-col :span="12"> + <el-form-item label="核销日期" prop="gidgrp.rec.vrfdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.vrfdat" style="width:100%" :placeholder="$t('other.please_enter')+'核销日期'"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001249 : Language of Undertak. --> + <!-- S0001258 : 核销日期 --> + <!-- SF000882 : Demand Indicator --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000882')" prop="gidgrp.rec.demand"> + <c-select v-model="model.gidgrp.rec.demand" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000882')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001251')" prop="gidgrp.rec.orddat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.orddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001251')"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.inccormsgflg">{{$t('gitp.CF000915')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.issp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.issp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.advp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.advp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.iss.pts.extkey"> + <c-input v-model="model.gidgrp.iss.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.issp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.issp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onIsspDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.adv.pts.extkey"> + <c-input v-model="model.gidgrp.adv.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.advp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.advp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onAdvpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + <!-- S0001248 : Choice of Text --> + <!-- SF000712 : Undertaking Language --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001249')" prop="gidgrp.rec.giduil"> + <c-select v-model="model.gidgrp.rec.giduil" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001249')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.secuilflg">{{$t('gitp.CF000694')}}</c-checkbox> + </c-col> + <!-- SF000706 : Issuance Date --> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.iss.namelc"> + <c-input type="textarea" v-model="model.gidgrp.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.adv.namelc"> + <c-input type="textarea" v-model="model.gidgrp.adv.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.iss.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.iss.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.iss.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.adv.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.adv.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.adv.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.adv.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001259')" prop="gidgrp.ghd.segtyp"> + <c-select v-model="model.gidgrp.ghd.segtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001259')"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001260 : 分离式保函 --> + + <c-col :span="12"> + <el-form-item label="是否分离式保函" prop="gidgrp.rec.fenlishi"> + <c-select v-model="model.gidgrp.rec.fenlishi" style="width:100%" :placeholder="$t('other.please_enter')+'是否分离式保函'"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001259 : 特殊保函类型 --> + <!-- SF000711 : Choice of Text --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001248')" prop="gidgrp.rec.gtxinr"> + <c-select v-model="model.gidgrp.rec.gtxinr" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001248')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000711')" prop="gidgrp.rec.atxinr"> + <c-select v-model="model.gidgrp.rec.atxinr" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000711')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item label="Valid from" prop="gidgrp.rec.opndat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+'Valid from'"></c-date-picker> + </el-form-item> + </c-col> + <!-- S0001243 : Issuance Date --> + <!-- S0001251 : Order Date --> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.iss.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.adv.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.adv.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000720 : Applicable Rules --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001253')" prop="gidgrp.blk.apprul"> + <c-select v-model="model.gidgrp.blk.apprul" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001253')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001253')" prop="gidgrp.blk.apprultxt"> + <c-input v-model="model.gidgrp.blk.apprultxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001253')"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.expflg">{{$t('gitp.CG001229')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpWbxs"> + {{$t('gitp.CG001236')}} + </c-button> + </c-col> + <!-- S0001244 : Validity until --> + <!-- SF000814 : Expiry Type --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000814')" prop="gidgrp.rec.exptyp"> + <c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000814')"> + </c-select> + </el-form-item> + </c-col> + <!-- SF000815 : Expiry Date --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001244')" prop="gidgrp.rec.expdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001244')"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpYptxy"> + {{$t('gitp.CG001235')}} + </c-button> + </c-col> + <!-- S0001250 : Our Liability until --> + <!-- S0001238 : Beneficiary Ref. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001298')" prop="gidgrp.ben.pts.ref"> + <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001298')"></c-input> + </c-form-item> + </c-col> + <!-- SF000816 : Expiry Condition/ Evt. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF000816')" prop="gidgrp.blk.exptxt"> + <c-input type="textarea" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000816')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF000816')" prop="gidgrp.blk.atxexptxt"> + <c-input type="textarea" v-model="model.gidgrp.blk.atxexptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000816')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.exptxtmodflg">{{$t('gitp.CF001178')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifexptxt"> + {{$t('gitp.CF001179')}} + </c-button> + </c-col> + <!-- S0001252 : Old Reference --> + <!-- S0001254 : 保函生效日 --> + + <c-col :span="12"> + <el-form-item label="Inure Date" prop="gidgrp.rec.inudat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.inudat" style="width:100%" :placeholder="$t('other.please_enter')+'Inure Date'"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.benp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.benp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.ben.pts.extkey"> + <c-input v-model="model.gidgrp.ben.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.benp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.benp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onBenpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifhisexptxt"> + {{$t('gitp.CF001180')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.teskeyunc">{{$t('gitp.CG001232')}}</c-checkbox> + </c-col> + <!-- SF001079 : Liability Type --> + <!-- S0001255 : Mortgage Flag --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF001079')" prop="gidgrp.rec.liatypc"> + <c-select v-model="model.gidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF001079')"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001255')" prop="gidgrp.rec.guaflg"> + <c-select v-model="model.gidgrp.rec.guaflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001255')"> + </c-select> + </el-form-item> + </c-col> + <!-- SF001080 : Liability until --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001250')" prop="gidgrp.rec.liadat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001250')"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gidgrp.rec.liaflg">{{$t('gitp.CG001230')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.ben.namelc"> + <c-input type="textarea" v-model="model.gidgrp.ben.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.ben.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.ben.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + <!-- S0001256 : 是否对外担保 --> + <!-- SF001081 : Liability Condition --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001081')" prop="gidgrp.blk.liatxtc"> + <c-input type="textarea" v-model="model.gidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF001081')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001081')" prop="gidgrp.blk.atxliatxtc"> + <c-input type="textarea" v-model="model.gidgrp.blk.atxliatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF001081')" ></c-input> + </c-form-item> + </c-col> + <!-- S0001257 : 担保类型 --> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.liatxtcmodflg">{{$t('gitp.CF001182')}}</c-checkbox> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifliatxtc"> + {{$t('gitp.CF001183')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.ben.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.ben.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + <!-- S0001261 : 被保证人 --> + + <c-col :span="12"> + <c-form-item label="被保证人" prop="gidgrp.gidcxm.warran"> + <c-input v-model="model.gidgrp.gidcxm.warran" maxlength="40" :placeholder="$t('other.please_enter')+'被保证人'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onGitpButdifhisliatxtc"> + {{$t('gitp.CF001184')}} + </c-button> + </c-col> + + <c-col :span="12"> + <el-form-item label="是否显示查询码" prop="gidgrp.gidcxm.cxmflg"> + <c-select v-model="model.gidgrp.gidcxm.cxmflg" style="width:100%" :placeholder="$t('other.please_enter')+'是否显示查询码'"> + </c-select> + </el-form-item> + </c-col> + <!-- S0001262 : 是否生成查询码 --> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/Ptyp.vue b/src/views/Business/Getopn/Ptyp.vue new file mode 100644 index 0000000..d5bce11 --- /dev/null +++ b/src/views/Business/Getopn/Ptyp.vue @@ -0,0 +1,296 @@ +<template> + <div class="eibs-tab"> + +<c-col :span="12"> + <span v-text="model.gitp.labapl" data-path=".gitp.labapl" > </span> +</c-col> + <!-- SF001049 : Applicant's Ref. --> + <!-- S0001297 : Applicant's Ref. --> + +<c-col :span="12"> + <span v-text="model.gitp.labaplref" data-path=".gitp.labaplref" > </span> +</c-col> + <!-- SF001050 : Beneficiary's Ref. --> + <!-- SF001066 : Beneficiary's Ref. --> + <!-- S0001298 : Beneficiary's Ref. --> + <!-- SF001048 : Applicant --> + <!-- S0001296 : Applicant --> + <!-- SF001051 : Beneficiary --> + <!-- SF000686 : Beneficiary --> + <!-- S0001299 : Beneficiary --> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.aplsupflg">{{$t('gitp.CF001200')}}</c-checkbox> + </c-col> + <!-- S0001300 : Confirming Bank's Ref. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref"> + <c-input v-model="model.gidgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input> + </c-form-item> + </c-col> + <!-- SF001055 : Accountee's Ref. --> + + <c-col :span="12"> + <c-form-item label="Reference for Address Optional" prop="gidgrp.ctr.pts.ref"> + <c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input> + </c-form-item> + </c-col> + <!-- SF001052 : Issuing Bank's Ref. --> + +<c-col :span="12"> + <span v-text="model.gitp.labissref" data-path=".gitp.labissref" > </span> +</c-col> + +<c-col :span="12"> + <span v-text="model.gitp.labctr" data-path=".gitp.labctr" > </span> +</c-col> + +<c-col :span="12"> + <span v-text="model.gitp.labctrref" data-path=".gitp.labctrref" > </span> +</c-col> + <!-- SF001068 : Advising Bank Ref. --> + + <c-col :span="12"> + <c-form-item :label="$t('gitp.SF001068')" prop="gidgrp.atb.pts.ref"> + <c-input v-model="model.gidgrp.atb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001068')"></c-input> + </c-form-item> + </c-col> + <!-- S0001301 : Confirming Bank --> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.conp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.conp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.bdbp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.bdbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + <!-- SF001054 : Accountee --> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.con.pts.extkey"> + <c-input v-model="model.gidgrp.con.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.conp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.conp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onConpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.ctrp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.ctrp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + <!-- SF001053 : Issuing Bank --> + +<c-col :span="12"> + <span v-text="model.gitp.labissbak" data-path=".gitp.labissbak" > </span> +</c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.bdb.pts.extkey"> + <c-input v-model="model.gidgrp.bdb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.bdbp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.bdbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onBdbpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.ctr.pts.extkey"> + <c-input v-model="model.gidgrp.ctr.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.ctrp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.ctrp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onCtrpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + <!-- SF000827 : Advising Bank --> + + <c-col :span="12"> + <c-form-item label="Drag Drop Sender" prop="gitp.atbp.ptsget.sdamod.dadsnd"> + <c-input v-model="model.gitp.atbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="External Key of Address" prop="gidgrp.atb.pts.extkey"> + <c-input v-model="model.gidgrp.atb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="" prop="gitp.atbp.ptsget.sdamod.seainf"> + <c-input v-model="model.gitp.atbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onAtbpDet"> + {{$t('ptsp.CF000081')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.con.namelc"> + <c-input type="textarea" v-model="model.gidgrp.con.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.bdb.namelc"> + <c-input type="textarea" v-model="model.gidgrp.bdb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000912 : (Tag 56a) --> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.ctr.namelc"> + <c-input type="textarea" v-model="model.gidgrp.ctr.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.con.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.con.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.con.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.bdb.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.bdb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.bdb.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.bdb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.ctr.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.ctr.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.ctr.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="名称" prop="gidgrp.atb.namelc"> + <c-input type="textarea" v-model="model.gidgrp.atb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Address Block" prop="gidgrp.atb.pts.adrblk"> + <c-input type="textarea" v-model="model.gidgrp.atb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="Chinese address" prop="gidgrp.atb.dbfadrblkcn"> + <c-input type="textarea" v-model="model.gidgrp.atb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.con.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.con.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.bdb.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.bdb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.ctr.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.ctr.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-form-item label="地址" prop="gidgrp.atb.adrelc"> + <c-input type="textarea" v-model="model.gidgrp.atb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> + </c-form-item> + </c-col> + <!-- SF000046 : Additional Parties --> + <!-- SF000046 : Additional Parties --> + <!-- SF000818 : Risk Country --> + + <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000818')" prop="gidgrp.rec.stacty"> + <c-select v-model="model.gidgrp.rec.stacty" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000818')"> + </c-select> + </el-form-item> + </c-col> + <!-- SF000046 : Additional Parties --> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Getopn/Event" + +export default { + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Getopn/index.vue b/src/views/Business/Getopn/index.vue new file mode 100644 index 0000000..54e8805 --- /dev/null +++ b/src/views/Business/Getopn/index.vue @@ -0,0 +1,105 @@ +<template> + <div class="eContainer"> + <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> + <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> + <!--gitp PD001291 开立方式 --> + <el-tab-pane :label="$t('gitp.PD001291')" name="opnp"> + <m-opnp :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000002 Overview --> + <el-tab-pane :label="$t('gitp.PD000002')" name="ovwp"> + <m-ovwp :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000043 Parties --> + <el-tab-pane :label="$t('gitp.PD000043')" name="ptyp"> + <m-ptyp :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000389 Details --> + <el-tab-pane :label="$t('gitp.PD000389')" name="detp"> + <m-detp :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000210 Undertaking Text --> + <el-tab-pane :label="$t('gitp.PD000210')" name="gidtxtp"> + <m-gidtxtp :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000409 Confirmation Details --> + <el-tab-pane :label="$t('gitp.PD000409')" name="confp"> + <m-confp :model="model" :codes="codes"/> + </el-tab-pane> + </c-tabs> + </el-form> + </div> +</template> +<script> +import Api from "~/service/Api" +import CodeTable from "~/config/CodeTable" +import Getopn from "~/model/Getopn" +import commonProcess from "~/mixin/commonProcess" +import Check from "~/model/Getopn/Check" +import Default from "~/model/Getopn/Default" +import Pattern from "~/model/Getopn/Pattern" +import Opnp from "./Opnp" +import Ovwp from "./Ovwp" +import Ptyp from "./Ptyp" +import Detp from "./Detp" +import Gidtxtp from "./Gidtxtp" +import Confp from "./Confp" + + +export default { + name: "Getopn", + components:{ + "m-opnp" : Opnp, + "m-ovwp" : Ovwp, + "m-ptyp" : Ptyp, + "m-detp" : Detp, + "m-gidtxtp" : Gidtxtp, + "m-confp" : Confp, + }, + provide() { + return { + root: this + } + }, + mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + data(){ + return { + tabVal: "", + trnName: "getopn", + trnType: "", + model: new Getopn().data, + checkRules: Check, + defaultRules: Default, + pattern: Pattern, + rules: null, + codes: { + }, + } + }, + methods:{ + myTabClick(tab){ + this.tabClick(tab) + /** + * do it yourself + **/ + } + }, + created:async function(){ + console.log("进入getopn交易"); + let rtnmsg = await this.init({}) + if(rtnmsg.respCode == SUCCESS) + { + this.updateModel(rtnmsg.data) + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Gitame/Aacp.vue b/src/views/Business/Gitame/Aacp.vue index d46a380..fb5a899 100644 --- a/src/views/Business/Gitame/Aacp.vue +++ b/src/views/Business/Gitame/Aacp.vue @@ -1,8 +1,42 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <c-col :span="14"> + <el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur"> + <c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input> + </el-form-item> + </c-col> + <c-col :span="10"> + <c-input disabled v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="14"> + <el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur"> + <c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input> + </el-form-item> + </c-col> + <c-col :span="10"> + <c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input> + </c-col> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="Covered" prop="gidgrp.blk.addamtcovc"> + <c-input disabled type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF000004 : Additional Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur"> <c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input> </c-form-item> @@ -12,10 +46,10 @@ <c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt"> <c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000008 : Open Add. Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur"> <c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input> </c-form-item> @@ -25,14 +59,14 @@ <c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt"> <c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000009 : Covered --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc"> <c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Addbcb.vue b/src/views/Business/Gitame/Addbcb.vue index b23708e..2dbe686 100644 --- a/src/views/Business/Gitame/Addbcb.vue +++ b/src/views/Business/Gitame/Addbcb.vue @@ -1,21 +1,53 @@ <template> <div class="eibs-tab"> - <!-- S0000003 : 货物税号 --> - <c-col :span="12"> + + <!-- S0000003 : 货物税号 DE!--> + + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label=""> + 授信条件对于本笔修改项下有无特殊规定: + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="GITAMECHO" prop="addbcb.gitamecho"> + <c-select v-model="model.addbcb.gitamecho" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-form-item label="GITAMERMK" prop="addbcb.gitamermk"> + <c-input disabled type="textarea" v-model="model.addbcb.gitamermk" maxlength="34" show-word-limit placeholder="请输入GITAMERMK" ></c-input> + </c-form-item> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="以下两个选项二选一" prop="addbcb.bccls4"> + <c-select :code="codes.bccls8" v-model="model.addbcb.bccls4" style="width:100%" placeholder="以下两个选项二选一"> + </c-select> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> + <!-- <c-col :span="12"> <c-form-item label="�'�物简称及税号" prop="addbcb.name"> <c-input v-model="model.addbcb.name" maxlength="15" :placeholder="$t('other.please_enter')+'��物简称及税号'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0000004 : 货物简称 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="�'�物简称" prop="addbcb.godnam"> <c-input v-model="model.addbcb.godnam" maxlength="40" :placeholder="$t('other.please_enter')+'��物简称'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0000005 : 批文类型 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.addbcb.pwtyp1">{{$t('addbcb.C0000006')}}</c-checkbox> </c-col> @@ -51,10 +83,10 @@ <c-form-item label="批文类型填写文本框" prop="addbcb.pwtyp9"> <c-input v-model="model.addbcb.pwtyp9" maxlength="30" :placeholder="$t('other.please_enter')+'批文类型填写文本框'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0000014 : 备案表类型 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.addbcb.bcbtyp1">{{$t('addbcb.C0000015')}}</c-checkbox> </c-col> @@ -82,18 +114,18 @@ <c-form-item label="备查表类型填写文本框" prop="addbcb.bcbtyp7"> <c-input v-model="model.addbcb.bcbtyp7" maxlength="25" :placeholder="$t('other.please_enter')+'备查表类型填写文本框'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0000050 : 不规范条款类型 --> <!-- S0000052 : 特殊规定 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="批文效期" prop="addbcb.pwdat"> <c-date-picker type="date" v-model="model.addbcb.pwdat" style="width:100%" :placeholder="$t('other.please_enter')+'批文效期'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- S0000044 : 批文效期 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="不规范条款类型" prop="addbcb.bgftktyp"> <c-select v-model="model.addbcb.bgftktyp" style="width:100%" :placeholder="$t('other.please_enter')+'不规范条款类型'"> </c-select> @@ -111,10 +143,10 @@ <el-form-item label="备案表效期" prop="addbcb.bcbdat"> <c-date-picker type="date" v-model="model.addbcb.bcbdat" style="width:100%" :placeholder="$t('other.please_enter')+'备案表效期'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- S0000045 : 备案表效期 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="特殊规定条件" prop="addbcb.ameadvrmk"> <c-input type="textarea" v-model="model.addbcb.ameadvrmk" maxlength="34" show-word-limit :placeholder="$t('other.please_enter')+'特殊规定条件'" ></c-input> </c-form-item> @@ -122,10 +154,10 @@ <c-col :span="12"> <c-checkbox v-model="model.addbcb.modtyp">{{$t('addbcb.C0000051')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0000029 : 贸易金融部意见 --> -<c-col :span="12"> +<!-- <c-col :span="12"> <span v-text="model.addbcb.label1" data-path=".addbcb.label1" > </span> </c-col> @@ -150,12 +182,12 @@ <c-col :span="12"> <span v-text="model.addbcb.label6" data-path=".addbcb.label6" > </span> -</c-col> +</c-col> --> <!-- S0000047 : 授信条件对于本笔修改项下有无特殊规定: --> <!-- S0000072 : 预计效期为 --> <!-- S0000074 : 效期为 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="效期为" prop="addbcb.expdat"> <c-date-picker type="date" v-model="model.addbcb.expdat" style="width:100%" :placeholder="$t('other.please_enter')+'效期为'"></c-date-picker> </el-form-item> @@ -165,11 +197,11 @@ <el-form-item label="预计效期为" prop="addbcb.preexpdat"> <c-date-picker type="date" v-model="model.addbcb.preexpdat" style="width:100%" :placeholder="$t('other.please_enter')+'预计效期为'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- S0000077 : 以下两个选项二选一 --> <!-- S0000060 : 效期是否敞口 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="效期是否敞口" prop="addbcb.bccls1"> <c-select v-model="model.addbcb.bccls1" style="width:100%" :placeholder="$t('other.please_enter')+'效期是否敞口'"> </c-select> @@ -188,10 +220,10 @@ <c-select v-model="model.addbcb.bccls4" style="width:100%" :placeholder="$t('other.please_enter')+'以下两个选项二选一'"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- S0000075 : 合同尚未签订或生效 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('addbcb.S0000075')" prop="addbcb.bccls2"> <c-select v-model="model.addbcb.bccls2" style="width:100%" :placeholder="$t('other.please_enter')+$t('addbcb.S0000075')"> </c-select> @@ -202,15 +234,15 @@ <c-form-item label="GITAMERMK" prop="addbcb.gitamermk"> <c-input type="textarea" v-model="model.addbcb.gitamermk" maxlength="34" show-word-limit :placeholder="$t('other.please_enter')+'GITAMERMK'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0000065 : 保函期限超过三年,已经总行贸易金融部批准办理 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('addbcb.S0000065')" prop="addbcb.bccls3"> <c-select v-model="model.addbcb.bccls3" style="width:100%" :placeholder="$t('other.please_enter')+$t('addbcb.S0000065')"> </c-select> </el-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Amecp.vue b/src/views/Business/Gitame/Amecp.vue index ab0f0e6..93de991 100644 --- a/src/views/Business/Gitame/Amecp.vue +++ b/src/views/Business/Gitame/Amecp.vue @@ -1,10 +1,103 @@ <template> <div class="eibs-tab"> + + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <c-col :span="24"> + <c-form-item label="Amendments" prop="gitamep.ametxtc"> + <c-input :disabled="model.gitamep.ametxtflgc==''" :rows="5" type="textarea" v-model="model.gitamep.ametxtc" maxlength="65" show-word-limit placeholder="请输入Amendments" ></c-input> + </c-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="20"> + <c-form-item label="Text for Amendments" prop="trnmod.swiadd.ameblkc"> + <c-input type="textarea" :rows="5" style="width:90%" v-model="model.trnmod.swiadd.ameblkc" maxlength="65" show-word-limit placeholder="请输入Text for Amendments" ></c-input> + </c-form-item> + </c-col> + <c-col :span="4" class="centerLable"> + <c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onAmebutcButtxmsel"> + ... + </c-button> + <c-checkbox style="margin:0 0 0 10px" v-model="model.gitamep.amebutc.chkast">Allow *</c-checkbox> + </c-col> + </c-col> + + </c-col> + + + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Old Local Undertaking" prop="gitamep.oldmaccur"> + <c-select disabled :code="codes.curtxt" v-model="model.gitamep.oldmaccur" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + <c-col :span="12"> + <c-input disabled v-model="model.gitamep.oldmacamt" placeholder="请输入"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <c-form-item label="Amended Amout" prop="trnmod.swiadd.amecurc"> + <c-input disabled v-model="model.trnmod.swiadd.amecurc" maxlength="3" placeholder="请输入"></c-input> + </c-form-item> + </c-col> + <c-col :span="12"> + <c-input v-model="model.trnmod.swiadd.ameamtc" placeholder="请输入Increase of Local Guarantee Amount"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <c-form-item label="Local Undertaking" prop="trnmod.swiadd.newcurc"> + <c-input disabled v-model="model.trnmod.swiadd.newcurc" maxlength="3" placeholder="请输入Local Undertaking"></c-input> + </c-form-item> + </c-col> + <c-col :span="12"> + <c-input v-model="model.trnmod.swiadd.newamtc" placeholder="请输入New Amount Local Guarantee"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <c-form-item label="Additional Currency Seq. C" prop="trnmod.swiadd.addcurc"> + <c-input disabled v-model="model.trnmod.swiadd.addcurc" maxlength="3" placeholder="请输入Additional Currency Seq. C"></c-input> + </c-form-item> + </c-col> + <c-col :span="12"> + <c-input :disabled="model.trnmod.swiadd.addamtflgc==''" v-model="model.trnmod.swiadd.addamtc" placeholder="请输入Additional Amount Seq. C"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <c-form-item label="Add. Amount Covered" prop="trnmod.swiadd.addamtcovc"> + <c-input :disabled="model.trnmod.swiadd.addamtflgc==''" type="textarea" v-model="model.trnmod.swiadd.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Add. Amount Covered" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="6" :offset="6"> + <c-checkbox v-model="model.trnmod.swiadd.addamtflgc">Additional Amout</c-checkbox> + </c-col> + + <c-col :span="6" :offset="6"> + <c-checkbox style="margin:0 0 0 10px" v-model="model.gitamep.ametxtflgc">Amendments modified</c-checkbox> + </c-col> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF002123 : Amendments --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002123')" prop="gitamep.ametxtc"> - <c-input type="textarea" v-model="model.gitamep.ametxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002123')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002123')" prop="gitamep.ametxtc"> + <c-input type="textarea" v-model="model.gitamep.ametxtc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002123')" ></c-input> </c-form-item> </c-col> @@ -14,7 +107,7 @@ <c-col :span="12"> <c-form-item label="Text for Amendments" prop="trnmod.swiadd.ameblkc"> - <c-input type="textarea" v-model="model.trnmod.swiadd.ameblkc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Text for Amendments'" ></c-input> + <c-input type="textarea" v-model="model.trnmod.swiadd.ameblkc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+'Text for Amendments'" ></c-input> </c-form-item> </c-col> @@ -26,45 +119,45 @@ <c-col :span="12"> <c-checkbox v-model="model.gitamep.amebutc.chkast">{{$t('gitamep.CF002159')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF002135 : Old Local Undertaking --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002135')" prop="gitamep.oldmaccur"> - <c-select v-model="model.gitamep.oldmaccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002135')"> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002135')" prop="gitamep.oldmaccur"> + <c-select v-model="model.gitamep.oldmaccur" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002135')"> </c-select> </el-form-item> </c-col> <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002135')" prop="gitamep.oldmacamt"> - <c-input v-model="model.gitamep.oldmacamt" :placeholder="$t('other.please_enter')+$t('gitamep.SF002135')"></c-input> + <c-form-item label="$t('gitamep.SF002135')" prop="gitamep.oldmacamt"> + <c-input v-model="model.gitamep.oldmacamt" placeholder="$t('other.please_enter')+$t('gitamep.SF002135')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002065 : Amended Amount --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002065')" prop="trnmod.swiadd.amecurc"> - <c-input v-model="model.trnmod.swiadd.amecurc" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitamep.SF002065')"></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002065')" prop="trnmod.swiadd.amecurc"> + <c-input v-model="model.trnmod.swiadd.amecurc" maxlength="3" placeholder="$t('other.please_enter')+$t('gitamep.SF002065')"></c-input> </c-form-item> </c-col> <c-col :span="12"> <c-form-item label="Increase of Local Guarantee Amount" prop="trnmod.swiadd.ameamtc"> - <c-input v-model="model.trnmod.swiadd.ameamtc" :placeholder="$t('other.please_enter')+'Increase of Local Guarantee Amount'"></c-input> + <c-input v-model="model.trnmod.swiadd.ameamtc" placeholder="$t('other.please_enter')+'Increase of Local Guarantee Amount'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002136 : Local Undertaking --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002136')" prop="trnmod.swiadd.newcurc"> - <c-input v-model="model.trnmod.swiadd.newcurc" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitamep.SF002136')"></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002136')" prop="trnmod.swiadd.newcurc"> + <c-input v-model="model.trnmod.swiadd.newcurc" maxlength="3" placeholder="$t('other.please_enter')+$t('gitamep.SF002136')"></c-input> </c-form-item> </c-col> <c-col :span="12"> <c-form-item label="New Amount Local Guarantee" prop="trnmod.swiadd.newamtc"> - <c-input v-model="model.trnmod.swiadd.newamtc" :placeholder="$t('other.please_enter')+'New Amount Local Guarantee'"></c-input> + <c-input v-model="model.trnmod.swiadd.newamtc" placeholder="$t('other.please_enter')+'New Amount Local Guarantee'"></c-input> </c-form-item> </c-col> @@ -74,22 +167,22 @@ <c-col :span="12"> <c-form-item label="Additional Currency Seq. C" prop="trnmod.swiadd.addcurc"> - <c-input v-model="model.trnmod.swiadd.addcurc" maxlength="3" :placeholder="$t('other.please_enter')+'Additional Currency Seq. C'"></c-input> + <c-input v-model="model.trnmod.swiadd.addcurc" maxlength="3" placeholder="$t('other.please_enter')+'Additional Currency Seq. C'"></c-input> </c-form-item> </c-col> <c-col :span="12"> <c-form-item label="Additional Amount Seq. C" prop="trnmod.swiadd.addamtc"> - <c-input v-model="model.trnmod.swiadd.addamtc" :placeholder="$t('other.please_enter')+'Additional Amount Seq. C'"></c-input> + <c-input v-model="model.trnmod.swiadd.addamtc" placeholder="$t('other.please_enter')+'Additional Amount Seq. C'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002147 : Add. Amount Covered --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002147')" prop="trnmod.swiadd.addamtcovc"> - <c-input type="textarea" v-model="model.trnmod.swiadd.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002147')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002147')" prop="trnmod.swiadd.addamtcovc"> + <c-input type="textarea" v-model="model.trnmod.swiadd.addamtcovc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002147')" ></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Amedat20.vue b/src/views/Business/Gitame/Amedat20.vue index 2e7026c..557b406 100644 --- a/src/views/Business/Gitame/Amedat20.vue +++ b/src/views/Business/Gitame/Amedat20.vue @@ -1,107 +1,201 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="Old Expiry Type" prop="oldgidgrp.rec.exptyp"> + <c-select disabled :code="codes.exptyp" v-model="model.oldgidgrp.rec.exptyp" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Old Expiry Date" prop="oldgidgrp.rec.expdat"> + <c-date-picker disabled type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" placeholder="请选择Old Expiry Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-form-item label="Old Expiry Condition" prop="oldgidgrp.blk.exptxt"> + <c-input disabled type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Old Expiry Condition" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Old Liability Type" prop="oldgidgrp.rec.liatypc"> + <c-select disabled :code="codes.exptyp" v-model="model.oldgidgrp.rec.liatypc" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Liability until" prop="oldgidgrp.rec.liadat"> + <c-date-picker disabled type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" placeholder="请选择Liability until"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-form-item label="Old Liability Condition " prop="oldgidgrp.blk.liatxtc"> + <c-input disabled type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit placeholder="请输入Old Liability Condition " ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Old appr. Expiry Date" prop="trnmod.swiadd.newdtaappexpdat"> + <c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" placeholder="请选择"></c-date-picker> + </el-form-item> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="New Expiry Type" prop="trnmod.swiadd.exptyp"> + <c-select :code="codes.exptyp" v-model="model.trnmod.swiadd.exptyp" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="New Expiry Date" prop="trnmod.swiadd.newexpdat"> + <c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" placeholder="请选择"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-form-item label="New Expiry Condition" prop="trnmod.swiadd.exptxt"> + <c-input disabled type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit placeholder="请输入New Expiry Condition" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="New Liability Type" prop="trnmod.swiadd.liatypc"> + <c-select :code="codes.exptyp" v-model="model.trnmod.swiadd.liatypc" style="width:100%" placeholder="请选择"> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat"> + <c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-form-item label="New Liability Condition" prop="trnmod.swiadd.liatxtc"> + <c-input disabled type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit placeholder="请输入New Liability Condition" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="New appr. Expiry Date" prop="trnmod.swiadd.newdtaappexpdat"> + <c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" placeholder="请选择"></c-date-picker> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF002108 : Old Expiry Type --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp"> - <c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')"> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp"> + <c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002108')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF002110 : Old Expiry Date --> - +<!-- <c-col :span="12"> <el-form-item label="Old Expiry Date" prop="oldgidgrp.rec.expdat"> <c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" placeholder="请选择Old Expiry Date"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF002109 : Old Expiry Condition --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt"> - <c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt"> + <c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002151 : Old Liability Type --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc"> - <c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')"> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc"> + <c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002151')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF002152 : Old Liability --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Liability until" prop="oldgidgrp.rec.liadat"> <c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" placeholder="请选择Liability until"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF002153 : Old Liability Condition --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc"> - <c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc"> + <c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002106 : New Expiry Type --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp"> - <c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')"> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp"> + <c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002106')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF002105 : New Expiry Date --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat"> - <c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat"> + <c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF002107 : New Expiry Condition --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt"> - <c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt"> + <c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002154 : New Liability Type --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc"> - <c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')"> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc"> + <c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002154')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF002155 : New Liability --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat"> <c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF002157 : New Liability Condition --> - <c-col :span="12"> - <c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc"> - <c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input> + <!-- <c-col :span="12"> + <c-form-item label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc"> + <c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF002132 : Old appr. Expiry Date --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat"> - <c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat"> + <c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF002133 : New appr. Expiry Date --> - <c-col :span="12"> - <el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat"> - <c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker> + <!-- <c-col :span="12"> + <el-form-item label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat"> + <c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Amephis.vue b/src/views/Business/Gitame/Amephis.vue new file mode 100644 index 0000000..6ba4a4f --- /dev/null +++ b/src/views/Business/Gitame/Amephis.vue @@ -0,0 +1,165 @@ +<template> + <div class="eibs-tab"> + + <c-col :span="20"> + <c-form-item label="Guarantee Text before this Amendment" prop="oldgidgrp.blk.gidtxt"> + <i-stream-input disabled type="textarea" rows="8" :model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text before this Amendment" ></i-stream-input> + </c-form-item> + </c-col> + + <c-col :span="20"> + <c-form-item label="Amendments so Far" prop="gidgrp.blk.gidtxtame"> + <c-input disabled type="textarea" rows="8" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit placeholder="请输入Amendments so Far" ></c-input> + </c-form-item> + </c-col> + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onSav"> + {{$t('mtabut.CF000174')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onUsrcon"> + {{$t('mtabut.CG000224')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-form-item :label="$t('gitame.SF050038')" prop="oldgidgrp.blk.gidtxt"> + <c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050038')" ></c-input> + </c-form-item> + </c-col> --> + <!-- SF050038 : Guarantee Text --> + + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onChk"> + {{$t('mtabut.CF000175')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onUsrchk"> + {{$t('mtabut.CG000225')}} + </c-button> + </c-col> --> + <!-- SF050111 : before this --> + <!-- SF050112 : Amendment --> + + <!-- <c-col :span="12"> + <c-button size="small" type="primary" @click="onSyswrnButshw"> + {{$t('mtabut.CF000176')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel"> + {{$t('mtabut.CF000190')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onInc"> + {{$t('mtabut.CF000188')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onNotmap"> + {{$t('mtabut.CF000189')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onFrmbut"> + {{$t('mtabut.CF000208')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onOrd"> + {{$t('mtabut.CF000213')}} + </c-button> + </c-col> --> + <!-- SF050039 : Amendments so Far --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitame.SF050039')" prop="gidgrp.blk.gidtxtame"> + <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050039')" ></c-input> + </c-form-item> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onIncben"> + {{$t('mtabut.CG000239')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onImgmodImage"> + {{$t('mtabut.CG000240')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onImgmodNewimg"> + {{$t('mtabut.CG000232')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onImgmodNewhisimg"> + {{$t('mtabut.CG000233')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onImgmodElcimage"> + {{$t('mtabut.CG000241')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onEntmodEntbut"> + {{$t('mtabut.CG000242')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onPen"> + {{$t('mtabut.CF000178')}} + </c-button> + </c-col> + + <c-col :span="12"> + <c-button size="small" type="primary" @click="onCan"> + {{$t('mtabut.CF000179')}} + </c-button> + </c-col> --> + </div> +</template> +<script> +import Api from "~/service/Api" +import commonProcess from "~/mixin/commonProcess"; +import CodeTable from "~/config/CodeTable" +import Event from "~/model/Gitame/Event" +import IStreamInput from '~/components/IStreamInput' + +export default { + components: {IStreamInput}, + inject: ['root'], + props:["model","codes"], + mixins: [commonProcess], + data(){ + return { + + } + }, + methods:{...Event}, + created:function(){ + + } +} +</script> +<style> + +</style> diff --git a/src/views/Business/Gitame/Amephisc.vue b/src/views/Business/Gitame/Amephisc.vue index 9e96a63..078ac34 100644 --- a/src/views/Business/Gitame/Amephisc.vue +++ b/src/views/Business/Gitame/Amephisc.vue @@ -1,21 +1,31 @@ <template> <div class="eibs-tab"> + <c-col :span="18"> + <c-form-item label="Guarantee Text" prop="oldgidgrp.blk.gidtxtc"> + <c-input :rows="5" disabled type="textarea" v-model="model.oldgidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text" ></c-input> + </c-form-item> + </c-col> + <c-col :span="18"> + <c-form-item label="Amendments so Far" prop="oldgidgrp.blk.gidtxtamec"> + <c-input :rows="5" disabled type="textarea" v-model="model.oldgidgrp.blk.gidtxtamec" maxlength="65" show-word-limit placeholder="请输入Amendments so Far" ></c-input> + </c-form-item> + </c-col> <!-- SF050116 : Guarantee Text --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitame.SF050116')" prop="oldgidgrp.blk.gidtxtc"> <c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050116')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF050117 : before this --> <!-- SF050118 : Amendment --> <!-- SF050119 : Amendments so Far --> - +<!-- <c-col :span="12"> <c-form-item :label="$t('gitame.SF050119')" prop="oldgidgrp.blk.gidtxtamec"> <c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxtamec" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitame.SF050119')" ></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Ameps20.vue b/src/views/Business/Gitame/Ameps20.vue index 5e5bce7..0c80d60 100644 --- a/src/views/Business/Gitame/Ameps20.vue +++ b/src/views/Business/Gitame/Ameps20.vue @@ -120,7 +120,7 @@ </c-col> <c-col :span="24"> - <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Purpose of amend." prop="trnmod.swiadd.purposame"> + <el-form-item v-show="model.gitp.swiftflg=='Y'" label="Purpose of amend." prop="trnmod.swiadd.purposame"> <c-select v-model="model.trnmod.swiadd.purposame" style="width:100%" placeholder="请输入Purpose of amend."> <el-option v-for="item in codes.purposame" @@ -260,9 +260,17 @@ </c-col> <c-col :span="24"> - <el-form-item v-if="model.gitp.swiftflg=='N'" label="New Liability Date" prop="trnmod.swiadd.newliadat"> - <c-date-picker :disabled="model.trnmod.swiadd.newexpflg=='X'" type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker> + + <el-form-item v-if="model.gitp.swiftflg=='N'&&model.trnmod.swiadd.newexpflg==''" label="New Expiry Date" prop="trnmod.swiadd.newexpdat"> + <c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker> </el-form-item> + + <c-form-item v-if="model.gitp.swiftflg=='N'&&model.trnmod.swiadd.newexpflg=='X'" label="new expiry" prop="gitamep.expnewtxt"> + <c-input :disabled="model.trnmod.swiadd.newexpflg=='X'" v-model="model.gitamep.expnewtxt" maxlength="11" placeholder="请输入new expiry"></c-input> + </c-form-item> + <!-- <el-form-item v-if="model.gitp.swiftflg=='N'" label="New Liability Date" prop="trnmod.swiadd.newliadat"> + <c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker> + </el-form-item> --> </c-col> <c-col :span="24"> @@ -292,7 +300,7 @@ <c-col :span="24"> <c-col :span="6" :offset="6"> - <c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newexpflg">Unlimited</c-checkbox> + <c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newexpflg" @change="newexpflgChange">Unlimited</c-checkbox> </c-col> <c-col :span="6" :offset="6"> <c-checkbox v-if="model.gitp.swiftflg=='N'" disabled v-model="model.trnmod.swiadd.newliaflg">Unlimited</c-checkbox> @@ -312,7 +320,8 @@ <c-col :span="6" :offset="6"> <c-checkbox disabled v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.clsclmflg">Close Claim</c-checkbox> </c-col> - <c-col :span="6" :offset="6"> + + <c-col :span="6" :offset="6" > <c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.plateflg" @change="plateflgChange">保函修改面函模板</c-checkbox> </c-col> </c-col> @@ -604,6 +613,9 @@ export default { } }, + computed:{ + }, + methods:{ ...Event, async plateflgChange() { @@ -611,7 +623,14 @@ export default { if (rtnmsg.respCode == SUCCESS) { Utils.copyValueFromVO(this.model, rtnmsg.data); } - } + }, + + async newexpflgChange(){ + let rtnmsg = await this.executeRule("swiadd.newexpflg") + if (rtnmsg.respCode == SUCCESS) { + Utils.copyValueFromVO(this.model, rtnmsg.data); + } + } }, created:function(){ diff --git a/src/views/Business/Gitame/Detp.vue b/src/views/Business/Gitame/Detp.vue index d03c73a..eba3dda 100644 --- a/src/views/Business/Gitame/Detp.vue +++ b/src/views/Business/Gitame/Detp.vue @@ -1,74 +1,426 @@ <template> <div class="eibs-tab"> - <!-- S0000027 : 单据编号 --> + + <c-row> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Contract Reference" prop="gidgrp.rec.orcref"> + <c-input v-model="model.gidgrp.rec.orcref" maxlength="35" placeholder="请输入Contract Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Contract Date" prop="gidgrp.rec.orcdat"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdat"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Object of Contract" prop="gidgrp.blk.covgodsrv"> + <c-input :disabled="model.gitp.covgodsrvmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrv" maxlength="35" show-word-limit placeholder="请输入Object of Contract" ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgod.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrv"> + vs.&System + </c-button> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrv"> + vs.&History + </c-button> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcrat"> + <c-input disabled v-model="model.gidgrp.rec.orcrat" placeholder="请输入Original Perc./ Rate"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Contract Amount " prop="gidgrp.rec.orccur"> + <c-select disabled v-model="model.gidgrp.rec.orccur" style="width:100%" placeholder="请选择Contract Amount "> + <el-option + v-for="item in codes.curtxt" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="11" :offset="1"> + <c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc"> + <c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc"> + <c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20"> + <c-select :disabled="model.gitp.swiftflg=='N'" v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law"> + <el-option + v-for="item in codes.ctytxt1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="11" :offset="1"> + <c-input v-if="model.gitp.swiftflg=='Y'" disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc"> + <c-input :disabled="model.gidgrp.rec.jurlaws20==''" v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Reference" prop="gidgrp.rec.tenref"> + <c-input disabled v-model="model.gidgrp.rec.tenref" maxlength="35" placeholder="请输入Tender Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Date" prop="gidgrp.rec.tendat"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendat" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdat"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdat" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> + </el-form-item> + </c-col> + + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="手册号码" prop="gidgrp.rec.mannum"> + <c-input disabled v-model="model.gidgrp.rec.mannum" maxlength="12" placeholder="请输入手册号码"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="业务类型" prop="gidgrp.ghd.bustyp"> + <c-select disabled v-model="model.gidgrp.ghd.bustyp" style="width:100%" placeholder="请选择业务类型"> + <el-option + v-for="item in codes.bustyp" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="仓库号" prop="gidgrp.ghd.wahnum"> + <c-input disabled v-model="model.gidgrp.ghd.wahnum" maxlength="20" placeholder="请输入仓库号"></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="受益人名称" prop="gidgrp.gidcxm.benefi"> + <c-input v-model="model.gidgrp.gidcxm.benefi" maxlength="80" placeholder="请输入受益人名称"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="企业海关编码" prop="gidgrp.rec.bngcod"> + <c-input disabled v-model="model.gidgrp.rec.bngcod" maxlength="10" placeholder="请输入企业海关编码"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="组织机构代码" prop="gidgrp.rec.juscod"> + <c-input disabled v-model="model.gidgrp.rec.juscod" maxlength="10" placeholder="请输入组织机构代码"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="流动资金贷款利率档次" prop="gidgrp.rec.cunqii"> + <c-select disabled v-model="model.gidgrp.rec.cunqii" style="width:100%" placeholder="请选择流动资金贷款利率档次"> + <el-option + v-for="item in codes.cunqii" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="上浮比率" prop="gidgrp.rec.bilvvv"> + <c-input disabled v-model="model.gidgrp.rec.bilvvv" placeholder="请输入上浮比率"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="InDirect Swift Add" prop="gitp.indirectswiadd"> + <c-input disabled type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit placeholder="请输入InDirect Swift Add" ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Additional Info" prop="gidgrp.blk.addinf"> + <c-input disabled type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="备注" prop="gidgrp.ghd.remark"> + <c-input disabled type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit placeholder="请输入备注" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> + +<!-- <c-col :span="12"> + <span v-text="model.gitp.aplnamtxt" data-path=".gitp.aplnamtxt" > </span> +</c-col> --> + <!-- SF000666 : Contract Reference --> + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001275')" prop="gidgrp.rec.orcref"> + <c-input v-model="model.gidgrp.rec.orcref" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001275')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001275 : Contract Reference --> +<!-- <c-col :span="12"> - <c-form-item label="our reference" prop="setmod.ref"> - <c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input> + <c-form-item label="申请人名称关税保函专用" prop="gidgrp.ghd.aplnam"> + <c-input type="textarea" v-model="model.gidgrp.ghd.aplnam" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'申请人名称关税保函专用'" ></c-input> </c-form-item> - </c-col> - -<c-col :span="12"> - <span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span> -</c-col> + </c-col> <c-col :span="12"> - <el-form-item :label="$t('setmod.SF000031')" prop="setmod.doccur"> - <c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('setmod.SF000031')"> - </c-select> + <el-form-item label="Date from Original Contract" prop="gidgrp.rec.orcdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.orcdat" style="width:100%" :placeholder="$t('other.please_enter')+'Date from Original Contract'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> + <!-- S0001282 : 企业海关编码 --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001282')" prop="gidgrp.rec.bngcod"> + <c-input v-model="model.gidgrp.rec.bngcod" maxlength="10" :placeholder="$t('other.please_enter')+$t('gitp.S0001282')"></c-input> + </c-form-item> + </c-col> --> + <!-- SF000663 : Closing Date --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001272')" prop="gidgrp.rec.tenclsdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001272')"></c-date-picker> + </el-form-item> + </c-col> --> + <!-- S0001272 : Closing Date --> + <!-- S0001279 : 组织机构代码 --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001279')" prop="gidgrp.rec.juscod"> + <c-input v-model="model.gidgrp.rec.juscod" maxlength="10" :placeholder="$t('other.please_enter')+$t('gitp.S0001279')"></c-input> + </c-form-item> + </c-col> --> + <!-- SF000657 : Underly. Transact. Det. --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001266')" prop="gidgrp.blk.covgodsrv"> + <c-input type="textarea" v-model="model.gidgrp.blk.covgodsrv" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.S0001266')" ></c-input> + </c-form-item> + </c-col> <c-col :span="12"> - <c-form-item label="document amount" prop="setmod.docamt"> - <c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input> + <c-form-item :label="$t('gitp.SF000657')" prop="gidgrp.blk.atxcovgodsrv"> + <c-input type="textarea" v-model="model.gidgrp.blk.atxcovgodsrv" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000657')" ></c-input> </c-form-item> + </c-col> + + <c-col :span="12"> + <c-checkbox v-model="model.gitp.covgodsrvmodflg">{{$t('gitp.CF001214')}}</c-checkbox> </c-col> - <!-- S0000028 : 类型 --> <c-col :span="12"> - <el-form-item label="Type of settlement" prop="setmod.dspflg"> - <c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'"> + <c-button size="small" type="primary" @click="onGitpButdifcovgodsrv"> + {{$t('gitp.CF001215')}} + </c-button> + </c-col> --> + <!-- S0001280 : 流动资金贷款利率档次 --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001280')" prop="gidgrp.rec.cunqii"> + <c-select v-model="model.gidgrp.rec.cunqii" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001280')"> </c-select> </el-form-item> - </c-col> + </c-col> --> + <!-- S0001266 : Object of Contract --> - <c-col :span="12"> - <c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000029')}}</c-checkbox> + <!-- <c-col :span="12"> + <c-checkbox v-model="model.gitp.covgod.chkast">{{$t('gitp.CF001083')}}</c-checkbox> </c-col> <c-col :span="12"> - <c-button size="small" type="primary" @click="onMtdbutButapy"> - {{$t('mtdbut.CF000003')}} + <c-button size="small" type="primary" @click="onGitpButdifhiscovgodsrv"> + {{$t('gitp.CF001216')}} </c-button> - </c-col> - <!-- SF000030 : 减少的金额 --> + </c-col> --> + <!-- S0001281 : 上浮比率 --> - <c-col :span="12"> - <c-form-item :label="$t('setmod.SF000030')" prop="setmod.redamt"> - <c-input v-model="model.setmod.redamt" :placeholder="$t('other.please_enter')+$t('setmod.SF000030')"></c-input> + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001281')" prop="gidgrp.rec.bilvvv"> + <c-input v-model="model.gidgrp.rec.bilvvv" :placeholder="$t('other.please_enter')+$t('gitp.S0001281')"></c-input> </c-form-item> - </c-col> - <!-- SF000031 : 减少后的结算金额 --> + </c-col> --> + <!-- S0001278 : InDirect Issuance Additional Clause --> - <c-col :span="12"> - <c-form-item label="Reduced Amount to settle" prop="setmod.setamt"> - <c-input v-model="model.setmod.setamt" :placeholder="$t('other.please_enter')+'Reduced Amount to settle'"></c-input> + <!-- <c-col :span="12"> + <c-form-item label="InDirect Swift Add" prop="gitp.indirectswiadd"> + <c-input type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'InDirect Swift Add'" ></c-input> </c-form-item> + </c-col> --> + <!-- S0001267 : Original Perc./ Rate --> + <!-- SF000658 : Original Perc./ Rate --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001267')" prop="gidgrp.rec.orcrat"> + <c-input v-model="model.gidgrp.rec.orcrat" :placeholder="$t('other.please_enter')+$t('gitp.S0001267')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001268 : Contract Amount --> + <!-- SF000659 : Contract Amount --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001268')" prop="gidgrp.rec.orccur"> + <c-select v-model="model.gidgrp.rec.orccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001268')"> + </c-select> + </el-form-item> </c-col> - <!-- SF000033 : 注释 --> <c-col :span="12"> - <c-form-item :label="$t('setmod.SF000033')" prop="setmod.redamttxt"> - <c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('setmod.SF000033')" ></c-input> + <c-form-item :label="$t('gitp.S0001268')" prop="gidgrp.rec.orcamt"> + <c-input v-model="model.gidgrp.rec.orcamt" :placeholder="$t('other.please_enter')+$t('gitp.S0001268')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001270 : Original Contract Place --> + <!-- SF000661 : Original Contract Place --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001270')" prop="gidgrp.blk.orcplc"> + <c-input type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.S0001270')" ></c-input> + </c-form-item> + </c-col> --> + <!-- S0001269 : A/c for Adv. Paym. Guar. --> + <!-- SF000660 : A/c Adv. Paym. Guar. --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001269')" prop="gidgrp.rec.acc"> + <c-input v-model="model.gidgrp.rec.acc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001269')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001273 : Law of Jurisdiction --> + <!-- SF000664 : Governing Law --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.SF000664')" prop="gidgrp.rec.jurlaws20"> + <c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000664')"> + </c-select> + </el-form-item> + </c-col> --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001273')" prop="gidgrp.rec.jurlaw"> + <c-input v-model="model.gidgrp.rec.jurlaw" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001273')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001271 : Place of Jurisdiction --> + <!-- SF000662 : Place of Jurisdiction --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001271')" prop="gidgrp.rec.jurplc"> + <c-input v-model="model.gidgrp.rec.jurplc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001271')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001277 : Tender Reference --> + <!-- SF000668 : Tender Reference --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001277')" prop="gidgrp.rec.tenref"> + <c-input v-model="model.gidgrp.rec.tenref" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.S0001277')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001276 : Tender Date --> + <!-- SF000667 : Tender Date --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001276')" prop="gidgrp.rec.tendat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.tendat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001276')"></c-date-picker> + </el-form-item> + </c-col> --> + <!-- S0001274 : Latest Transmiss. Date --> + <!-- SF000665 : Latest Transmission --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001274')" prop="gidgrp.rec.trmdat"> + <c-date-picker type="date" v-model="model.gidgrp.rec.trmdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001274')"></c-date-picker> + </el-form-item> + </c-col> --> + <!-- S0001286 : 备注 --> + + <!-- <c-col :span="12"> + <c-form-item label="备注" prop="gidgrp.ghd.remark"> + <c-input type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'备注'" ></c-input> + </c-form-item> + </c-col> --> + <!-- S0001283 : 手册号码 --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001283')" prop="gidgrp.rec.mannum"> + <c-input v-model="model.gidgrp.rec.mannum" maxlength="12" :placeholder="$t('other.please_enter')+$t('gitp.S0001283')"></c-input> + </c-form-item> + </c-col> --> + <!-- SF001230 : Additional Text --> + + <!-- <c-col :span="12"> + <c-form-item label="Additional Info" prop="gidgrp.blk.addinf"> + <c-input type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Info'" ></c-input> </c-form-item> </c-col> - <c-col :span="12"> - <c-button size="small" type="primary" @click="onMtdbutButcan"> - {{$t('mtdbut.CF000004')}} - </c-button> - </c-col> +<c-col :span="12"> + <span v-text="model.gitp.labaddinf" data-path=".gitp.labaddinf" > </span> +</c-col> --> + <!-- S0001284 : 业务类型 --> + + <!-- <c-col :span="12"> + <el-form-item :label="$t('gitp.S0001284')" prop="gidgrp.ghd.bustyp"> + <c-select v-model="model.gidgrp.ghd.bustyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001284')"> + </c-select> + </el-form-item> + </c-col> --> + <!-- S0001285 : 仓库号 --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001285')" prop="gidgrp.ghd.wahnum"> + <c-input v-model="model.gidgrp.ghd.wahnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('gitp.S0001285')"></c-input> + </c-form-item> + </c-col> --> + <!-- S0001287 : 受益人名称 --> + + <!-- <c-col :span="12"> + <c-form-item :label="$t('gitp.S0001287')" prop="gidgrp.gidcxm.benefi"> + <c-input v-model="model.gidgrp.gidcxm.benefi" maxlength="80" :placeholder="$t('other.please_enter')+$t('gitp.S0001287')"></c-input> + </c-form-item> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Detpc.vue b/src/views/Business/Gitame/Detpc.vue index a59a532..410bf2c 100644 --- a/src/views/Business/Gitame/Detpc.vue +++ b/src/views/Business/Gitame/Detpc.vue @@ -1,8 +1,129 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc"> + <c-input disabled v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.covgodsrvcmodflg==''" label="Object of Contract" prop="gidgrp.blk.covgodsrvc"> + <c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit placeholder="请输入Object of Contract" ></c-input> + </el-form-item> + <el-form-item v-if="model.gitp.covgodsrvcmodflg=='X'" label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc"> + <c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc"> + vs.&System + </c-button> + <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc"> + vs.&History + </c-button> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc"> + <c-input disabled v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc"> + <c-select disabled v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount "> + <el-option + v-for="item in codes.curtxt" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="11" :offset="1"> + <c-input disabled v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input> + </c-col> + </c-col> + <c-col :span="24"> + <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplcc"> + <c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input> + </el-form-item> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc"> + <c-input disabled v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc"> + <c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law"> + <el-option + v-for="item in codes.ctytxt1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc"> + <c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc"> + <c-input :disabled="model.gidgrp.rec.jurlawc==''" v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc"> + <c-input disabled v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Tender Date" prop="gidgrp.rec.tendatc"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdatc"> + <c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Additional Info" prop="gidgrp.blk.addinfc"> + <c-input disabled type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF000840 : Contract Reference --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000840')" prop="gidgrp.rec.orcrefc"> <c-input v-model="model.gidgrp.rec.orcrefc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000840')"></c-input> </c-form-item> @@ -10,23 +131,23 @@ <c-col :span="12"> <span v-text="model.gitp.laborcdat" data-path=".gitp.laborcdat" > </span> -</c-col> +</c-col> --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Date from Original Contract - Local Undertaking Seq. C" prop="gidgrp.rec.orcdatc"> <c-date-picker type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" :placeholder="$t('other.please_enter')+'Date from Original Contract - Local Undertaking Seq. C'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF000845 : Closing Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000845')" prop="gidgrp.rec.tenclsdatc"> <c-date-picker type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000845')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF000846 : Underly. Transact. Det. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Object of Contract - Local Undertaking Seq. C" prop="gidgrp.blk.covgodsrvc"> <c-input type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Object of Contract - Local Undertaking Seq. C'" ></c-input> </c-form-item> @@ -56,17 +177,17 @@ <c-button size="small" type="primary" @click="onGitpButdifhiscovgodsrvc"> {{$t('gitp.CF001219')}} </c-button> - </c-col> + </c-col> --> <!-- SF000841 : Original Perc./ Rate --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000841')" prop="gidgrp.rec.orcratc"> <c-input v-model="model.gidgrp.rec.orcratc" :placeholder="$t('other.please_enter')+$t('gitp.SF000841')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000842 : Contract Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000842')" prop="gidgrp.rec.orccurc"> <c-select v-model="model.gidgrp.rec.orccurc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000842')"> </c-select> @@ -77,24 +198,24 @@ <c-form-item :label="$t('gitp.SF000842')" prop="gidgrp.rec.orcamtc"> <c-input v-model="model.gidgrp.rec.orcamtc" :placeholder="$t('other.please_enter')+$t('gitp.SF000842')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000843 : Original Contract Place --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Original Contract Place - Local Undertaking Seq. C" prop="gidgrp.blk.orcplcc"> <c-input type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Original Contract Place - Local Undertaking Seq. C'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000850 : A/c Adv. Paym. Guar. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000850')" prop="gidgrp.rec.accc"> <c-input v-model="model.gidgrp.rec.accc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000850')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000844 : Governing Law --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000844')" prop="gidgrp.rec.jurlawc"> <c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000844')"> </c-select> @@ -105,38 +226,38 @@ <c-form-item :label="$t('gitp.SF000844')" prop="gidgrp.rec.jurlawtxtc"> <c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" :placeholder="$t('other.please_enter')+$t('gitp.SF000844')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000851 : Place of Jurisdiction --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000851')" prop="gidgrp.rec.jurplcc"> <c-input v-model="model.gidgrp.rec.jurplcc" maxlength="65" :placeholder="$t('other.please_enter')+$t('gitp.SF000851')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000847 : Tender Reference --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000847')" prop="gidgrp.rec.tenrefc"> <c-input v-model="model.gidgrp.rec.tenrefc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000847')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000848 : Tender Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000848')" prop="gidgrp.rec.tendatc"> <c-date-picker type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000848')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF000849 : Latest Transmission --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000849')" prop="gidgrp.rec.trmdatc"> <c-date-picker type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000849')"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- SF001231 : Additional Text --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Additional Info - Local Undertaking Seq. C" prop="gidgrp.blk.addinfc"> <c-input type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Info - Local Undertaking Seq. C'" ></c-input> </c-form-item> @@ -144,7 +265,7 @@ <c-col :span="12"> <span v-text="model.gitp.labaddinfc" data-path=".gitp.labaddinfc" > </span> -</c-col> +</c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Gidtxtp.vue b/src/views/Business/Gitame/Gidtxtp.vue index 9e1dd3f..a95e652 100644 --- a/src/views/Business/Gitame/Gidtxtp.vue +++ b/src/views/Business/Gitame/Gidtxtp.vue @@ -1,8 +1,76 @@ <template> <div class="eibs-tab"> <!-- SF000350 : Text of Undertaking --> + + <c-row> + <c-col :span="24"> + <c-col :span="16"> + <c-col :span="24"> + <el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt"> + <i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> + </el-form-item> + <el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> + <i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> + </el-form-item> + </c-col> + </c-col> + <c-col :span="6"> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> + </c-col> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox> + </c-col> + + <c-col :span="24"> + <c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif"> + vs. &System + </c-button> + </c-col> + + <c-col :span="24"> + <c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis"> + vs. &History + </c-button> + </c-col> + + <template v-if="model.gitp.gidtxtmodflg=='X'"> + <c-col :span="24"> + <c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt"> + Show&Text + </c-button> + </c-col> + </template> + + <c-col :span="24"> + <c-input + style="margin:5px 0 0 10px;width:50%" + v-model="model.gidgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </c-col> + <c-col :span="24"> + <c-button + disabled + style="margin:5px 0 0 10px" + size="small" + type="primary" + @click="onGitpButgetref" + > + 获取 + </c-button> + </c-col> + <c-col :span="24"> + <c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod"> + 修改中文保函文本 + </c-button> + </c-col> + </c-col> + </c-col> + </c-row> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox> </c-col> @@ -44,7 +112,7 @@ <c-button size="small" type="primary" @click="onGitpGidtxtmod"> {{$t('gitp.CG000442')}} </c-button> - </c-col> + </c-col> --> </div> </template> <script> @@ -52,8 +120,10 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitame/Event" +import IStreamInput from '~/components/IStreamInput' export default { + components: {IStreamInput}, inject: ['root'], props:["model","codes"], mixins: [commonProcess], diff --git a/src/views/Business/Gitame/Gidtxtpc.vue b/src/views/Business/Gitame/Gidtxtpc.vue index d77d78a..9d5932e 100644 --- a/src/views/Business/Gitame/Gidtxtpc.vue +++ b/src/views/Business/Gitame/Gidtxtpc.vue @@ -1,8 +1,75 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="16"> + <c-col :span="24"> + <el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> + <i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input> + </el-form-item> + <el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc"> + <i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input> + </el-form-item> + </c-col> + </c-col> + <c-col :span="6"> + <c-col :span="24"> + <c-input + style="margin:5px 0 0 10px;width:50%" + v-model="model.gidgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + </c-col> + <c-col :span="24"> + <c-button + style="margin:5px 0 0 10px" + size="small" + type="primary" + @click="onGitpButgetref" + > + 获取 + </c-button> + </c-col> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> + </c-col> + <c-col :span="24"> + <c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox> + </c-col> + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc"> + vs. &System + </c-button> + </c-col> + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc"> + vs. &History + </c-button> + </c-col> + + <template v-if="model.gitp.gidtxtmodflgc=='X'"> + <c-col :span="24"> + <c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc"> + Show&Text + </c-button> + </c-col> + </template> + + + <c-col :span="24"> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc"> + 修改中文保函文本 + </c-button> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF000792 : Undertaking Text --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc"> <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input> </c-form-item> @@ -50,7 +117,7 @@ <c-button size="small" type="primary" @click="onGitpGidtxtmodc"> {{$t('gitp.CG001303')}} </c-button> - </c-col> + </c-col> --> </div> </template> <script> @@ -58,8 +125,10 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitame/Event" +import IStreamInput from '~/components/IStreamInput' export default { + components: {IStreamInput}, inject: ['root'], props:["model","codes"], mixins: [commonProcess], diff --git a/src/views/Business/Gitame/Ovwp.vue b/src/views/Business/Gitame/Ovwp.vue index c6c27b5..3757902 100644 --- a/src/views/Business/Gitame/Ovwp.vue +++ b/src/views/Business/Gitame/Ovwp.vue @@ -1,15 +1,739 @@ <template> <div class="eibs-tab"> - - <c-col :span="12"> + <c-row> + <c-col :span="24"> + <!-- ==================左边================ --> + <c-col :span="12"> + + <!-- --> + <c-col :span="24"> + <el-form-item label="Reference" prop="gidgrp.rec.ownref"> + <c-fullbox> + <c-input + disabled + v-model="model.gidgrp.rec.ownref" + maxlength="16" + placeholder="请输入Reference" + ></c-input> + <template slot="footer"> + <c-button + style="margin: 0 10px 0 10px; padding: 0 12px" + size="small" + type="primary" + > + <span + style=" + font-size: 15px; + font-family: '宋体'; + font-weight: bold; + " + >i</span + > + </c-button> + + <c-button + style="margin: 0 0" + disabled + size="small" + type="primary" + @click="onGitpButgetref" + > + 获取 + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <el-form-item label="Responsible User" prop="gitp.usr.extkey"> + <c-fullbox> + <c-input + disabled + v-model="model.gitp.usr.extkey" + maxlength="8" + placeholder="请输入Responsible User" + ></c-input> + <template slot="footer"> + <c-button + style="margin: 0 10px 0 10px; padding: 0 12px" + size="small" + type="primary" + > + <span + style=" + font-size: 15px; + font-family: '宋体'; + font-weight: bold; + " + >i</span + > + </c-button> + <!-- <c-checkbox v-model="model.gidgrp.rec.resflg" + >Reserved Contract</c-checkbox + > --> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur"> + <c-select + disabled + v-model="model.gidgrp.cbs.max.cur" + style="width: 100%" + placeholder="请选择Guarantee Amount" + > + <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> + + <!-- --> + <c-col :span="8"> + <c-input + disabled + v-model="model.gidgrp.cbs.max.amt" + style="margin: 0 0 0 10px; width: 80%" + placeholder="请输入Guarantee Amount" + ></c-input> + </c-col> + <c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable"> + <c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur"> + <c-input disabled + v-model="model.gidgrp.cbs.opn1.cur" + style="width: 100%" + placeholder="请输入Open Amount" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> --> + <c-input disabled + v-model="model.gidgrp.cbs.opn1.amt" + style="margin: 0 0 0 10px; width: 80%" + placeholder="请输入Balance" + ></c-input> + <!-- </el-form-item> --> + </c-col> + <c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable"> + <c-checkbox v-model="model.gitp.inc760">incoming lose</c-checkbox> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin"> + <c-select disabled v-model="model.gidgrp.rec.purposin" style="width:100%" :code="codes.purposin" placeholder="请选择Incoming Purpose "> + </c-select> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Outgoing Purpose" prop="gidgrp.rec.purpos"> + <c-select disabled v-model="model.gidgrp.rec.purpos" :code="codes.purpos" style="width:100%" placeholder="请选择Outgoing Purpose"> + </c-select> + </el-form-item> + </c-col> + + + <!-- --> + <c-col :span="24"> + <el-form-item label="Handing Type" prop="gidgrp.rec.hndtyp"> + <c-select disabled v-model="model.gidgrp.rec.hndtyp" :code="codes.hndtyp" style="width:100%" placeholder="请选择Handing Type"> + </c-select> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp"> + <c-select + disabled + v-model="model.gidgrp.rec.gartyp" + style="width: 100%" + placeholder="请选择Type of Undertaking" + :code="codes.seagtyp" + > + </c-select> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm"> + <c-select v-model="model.gidgrp.rec.legfrm" :code="codes.legfrm" style="width:100%" placeholder="请选择Form of Undertaking"> + </c-select> + </el-form-item> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Demand Indicator" prop="gidgrp.rec.demand"> + <c-select :code="codes.demand" v-model="model.gidgrp.rec.demand" style="width:100%" placeholder="请选择Demand Indicator"> + </c-select> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul"> + <c-fullbox> + <c-select + v-model="model.gidgrp.blk.apprul" + style="width: 100%" + placeholder="请选择Applicable Rules" + :code="codes.apprul" + > + </c-select> + <!-- --> + <template slot="footer"> + <c-input + :disabled="model.gidgrp.blk.apprul=='URDG'||model.gidgrp.blk.apprul=='NONE'||model.gidgrp.blk.apprul=='UCPR'" + v-model="model.gidgrp.blk.apprultxt" + maxlength="35" + placeholder="请输入Applicable Rules" + ></c-input> + </template> + </c-fullbox> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item + label="Language of Undertak." + prop="gidgrp.rec.giduil" + > + <c-select + disabled + v-model="model.gidgrp.rec.giduil" + style="width: 100%" + placeholder="请选择Language of Undertak." + :code="codes.uiltxt1" + > + </c-select> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="12"> + <el-form-item label="核销日期" prop="gidgrp.rec.vrfdat"> + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.vrfdat" + style="width: 100%" + placeholder="请选择核销日期" + ></c-date-picker> + </el-form-item> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="特殊保函类型" prop="gidgrp.ghd.segtyp"> + <c-select + disabled + v-model="model.gidgrp.ghd.segtyp" + style="width: 100%" + placeholder="请选择特殊保函类型" + :code="codes.segtyp" + > + </c-select> + </el-form-item> + </c-col> +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="是否分离式保函" prop="gidgrp.rec.fenlishi"> + <c-select + disabled + v-model="model.gidgrp.rec.fenlishi" + style="width: 100%" + placeholder="请选择是否分离式保函" + :code="codes.fenlishi2" + > + </c-select> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinr"> + <c-select + disabled + v-model="model.gidgrp.rec.gtxinr" + style="width: 100%" + placeholder="请选择Choice of Text" + :code="codes.gtxinr4" + > + </c-select> + </el-form-item> + </c-col> + + + <!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Order Date" prop="gidgrp.rec.orddat"> + <c-date-picker + type="date" + v-model="model.gidgrp.rec.orddat" + style="width: 100%" + placeholder="请选择Order Date" + ></c-date-picker> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="14"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Validity until" prop="gidgrp.rec.expdat"> + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.expdat" + style="width: 90%" + placeholder="请选择Validity until" + ></c-date-picker> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="7" v-if="model.gitp.swiftflg=='N'" class="centerLable"> + <c-checkbox disabled v-model="model.gidgrp.rec.expflg" + >Unlimited Guarantee</c-checkbox + > + </c-col> + <c-col :span="3" v-if="model.gitp.swiftflg!='Y'" class="centerLable"> + <c-button + size="small" + type="primary" + @click="onGitpWbxs" + disabled + style="color:white"> + 显示文本 + </c-button> + </c-col> + </c-col> + + <!-- --> + <c-col :span="24"> + <c-col :span="14"> + <el-form-item + v-if="model.gitp.swiftflg=='N'" + label="Our Liability until" + prop="gidgrp.rec.liadat" + > + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.liadat" + style="width: 90%" + placeholder="请选择Our Liability until" + ></c-date-picker> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="7" v-if="model.gitp.swiftflg=='N'" class="centerLable"> + <c-checkbox v-model="model.gidgrp.rec.liaflg" + disabled + >Unlimited Liability</c-checkbox + > + </c-col> + <c-col :span="3" v-if="model.gitp.swiftflg!='Y'" class="centerLable"> + <c-button + size="small" + type="primary" + @click="onGitpYptxy" + disabled> + 协议签署 + </c-button> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Inure Date" prop="gidgrp.rec.inudat"> + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.inudat" + style="width: 100%" + placeholder="请选择Inure Date" + ></c-date-picker> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Mortgage Flag" prop="gidgrp.rec.guaflg"> + <c-select + v-model="model.gidgrp.rec.guaflg" + style="width: 100%" + placeholder="请选择Mortgage Flag" + :code="codes.guaflg" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="是否显示查询码" prop="gidgrp.gidcxm.cxmflg"> + <c-select + v-model="model.gidgrp.gidcxm.cxmflg" + style="width: 100%" + placeholder="请选择是否显示查询码"> + <el-option + v-for="item in codes.cxmflg" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + </c-col> + <!-- ============右边================= --> + + <!-- --> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Name" prop="gidgrp.rec.nam"> + <c-input + disabled + v-model="model.gidgrp.rec.nam" + maxlength="40" + placeholder="请输入Name" + ></c-input> + </el-form-item> + </c-col> + <!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Applicant Ref." prop="gidgrp.apl.pts.ref"> + <c-input :disabled="model.gidgrp.ghd.segtyp=='02'" v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Applicant" prop="gidgrp.apl.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.apl.pts.extkey" + disabled + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.apl.pts.extkey`) + "> + </c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button :disabled="model.gidgrp.rec.hndtyp!='OT'" size="small" type="primary" @click="onAplpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="地址名称" prop="gidgrp.apl.pts.adrblk"> + <c-input :disabled="model.gidgrp.rec.hndtyp!='OT'" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-ptap v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" :model="model" :argadr="{ + title: 'Adv/Rcv bank', + grp: 'gidgrp', + rol: 'adv', + }" + @onAplpDet="onAdvpDet"> + </c-ptap> + </c-col> + + + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref"> + <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bank"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.iss.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.iss.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button disabled size="small" type="primary" @click="onIsspDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.iss.pts.adrblk"> + <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="Beneficiary Ref." prop="gidgrp.ben.pts.ref"> + <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="Beneficiary" prop="gidgrp.ben.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.ben.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.ben.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" @click="onBenpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk"> + <c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="被保证人" prop="gidgrp.gidcxm.warran"> + <c-input + disabled + v-model="model.gidgrp.gidcxm.warran" + maxlength="40" + placeholder="请输入被保证人" + ></c-input> + </el-form-item> + </c-col> + + + <!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="Valid from" prop="gidgrp.rec.opndat"> + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.opndat" + style="width: 100%" + placeholder="请选择Valid from" + ></c-date-picker> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="是否对外担保" prop="gidgrp.rec.fingua"> + <c-select + disabled + v-model="model.gidgrp.rec.fingua" + style="width: 100%" + placeholder="请选择是否对外担保" + :code="codes.fingua" + > + </c-select> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.swiftflg=='N'" label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> + <c-select + disabled + v-model="model.gidgrp.rec.cfaguatyp" + style="width: 90%" + placeholder="请选择对外担保类型" + :code="codes.cfaguatyp" + > + </c-select> + </el-form-item> + </c-col> + <c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg=='N'" class="centerLable"> + <c-checkbox label="跨境人民币保函" disabled v-model="model.gidgrp.rec.cmtflg" + >跨境人民币保函</c-checkbox + > + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Order Date" prop="gidgrp.rec.orddat"> + <c-date-picker + disabled + type="date" + v-model="model.gidgrp.rec.orddat" + style="width: 100%" + placeholder="请选择Order Date" + ></c-date-picker> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Valid from" prop="gidgrp.rec.opndat"> + <c-date-picker type="date" disabled v-model="model.gidgrp.rec.opndat" style="width:100%" placeholder="请选择Valid from"></c-date-picker> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Expiry Type" prop="gidgrp.rec.exptyp"> + <c-select disabled :code="codes.exptyp" v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type"> + </c-select> + </el-form-item> + </c-col> + + <!-- --> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Validity until" prop="gidgrp.rec.expdat"> + <c-date-picker disabled + type="date" + v-model="model.gidgrp.rec.expdat" + style="width: 90%" + placeholder="请选择Validity until" + ></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable"> + <c-checkbox disabled v-model="model.gidgrp.rec.expflg">Unlimited Validity</c-checkbox> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt"> + <c-input type="textarea" rows="4" disabled v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.exptxtmodflg" disabled style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifexptxt"> + vs. &System + </c-button> + <c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisexptxt"> + vs. &History + </c-button> + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Liability Type " prop="gidgrp.rec.liatypc"> + <c-select disabled :code="codes.liatypc" v-model="model.gidgrp.rec.liatypc" style="width:100%" placeholder="请选择Liability Type "> + </c-select> + </el-form-item> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item + v-if="model.gitp.swiftflg=='Y'" + label="Our Liability until" + prop="gidgrp.rec.liadat" + > + <c-date-picker disabled + type="date" + v-model="model.gidgrp.rec.liadat" + style="width: 90%" + placeholder="请选择Our Liability until" + ></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable"> + <c-checkbox disabled v-model="model.gidgrp.rec.liaflg" + >Unlimited Liability</c-checkbox + > + </c-col> + </c-col> + +<!-- --> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Liability Condition" prop="gidgrp.blk.liatxtc"> + <c-input type="textarea" disabled rows="4" v-model="model.gidgrp.blk.liatxtc" maxlength="65" show-word-limit placeholder="请输入Liability Condition" ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-if="model.gitp.swiftflg=='Y'" disabled v-model="model.gitp.liatxtcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifliatxtc"> + vs. &System + </c-button> + <c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisliatxtc"> + vs. &History + </c-button> + </c-col> + </c-col> + </c-col> + </c-col> + </c-col> + </c-row> + + + <!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.recget.sdamod.dadsnd"> <c-input v-model="model.gitp.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000700 : Reference --> <!-- S0001237 : Reference --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Reference" prop="gidgrp.rec.ownref"> <c-input v-model="model.gidgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference'"></c-input> </c-form-item> @@ -23,10 +747,10 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.resflg">{{$t('gitp.CG001227')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0001239 : Name --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.S0001239')" prop="gidgrp.rec.nam"> <c-input v-model="model.gidgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('gitp.S0001239')"></c-input> </c-form-item> @@ -36,10 +760,10 @@ <c-button size="small" type="primary" @click="onGitpButgetref"> {{$t('gitp.CF000355')}} </c-button> - </c-col> + </c-col> --> <!-- SF000704 : Guarantee Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001241')" prop="gidgrp.cbs.max.cur"> <c-select v-model="model.gidgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001241')"> </c-select> @@ -54,12 +778,12 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.rejflg">{{$t('gitp.CF000690')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0001240 : Responsible User --> <!-- SF000718 : Old Reference --> <!-- S0001247 : Applicant Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.S0001297')" prop="gidgrp.apl.pts.ref"> <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001297')"></c-input> </c-form-item> @@ -67,10 +791,10 @@ <c-col :span="12"> <span v-text="model.gitp.morapllab" data-path=".gitp.morapllab" > </span> -</c-col> +</c-col> --> <!-- SF000708 : Open Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.S0001245')" prop="gidgrp.cbs.opn1.cur"> <c-input v-model="model.gidgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.S0001245')"></c-input> </c-form-item> @@ -90,10 +814,10 @@ <c-form-item :label="$t('gitp.S0001252')" prop="gidgrp.rec.oldref"> <c-input v-model="model.gidgrp.rec.oldref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.S0001252')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0001241 : Guarantee Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.dzbhflg">{{$t('gitp.CG001234')}}</c-checkbox> </c-col> @@ -130,11 +854,11 @@ <c-select v-model="model.gidgrp.rec.drpreflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Request'"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- S0001245 : Open Amount --> <!-- SF000703 : Responsible User --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.apl.namelc"> <c-input type="textarea" v-model="model.gidgrp.apl.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> @@ -150,10 +874,10 @@ <c-form-item label="Chinese address" prop="gidgrp.apl.dbfadrblkcn"> <c-input type="textarea" v-model="model.gidgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000758 : Incoming Purpose --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000758')" prop="gidgrp.rec.purposin"> <c-select v-model="model.gidgrp.rec.purposin" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000758')"> </c-select> @@ -191,10 +915,10 @@ <c-form-item label="地址" prop="gidgrp.apl.adrelc"> <c-input type="textarea" v-model="model.gidgrp.apl.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000759 : Outgoing Purpose --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000759')" prop="gidgrp.rec.purpos"> <c-select v-model="model.gidgrp.rec.purpos" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000759')"> </c-select> @@ -203,11 +927,11 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.revflg">{{$t('gitp.CF000697')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0001246 : Handling Type --> <!-- SF000709 : Handling Type --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001246')" prop="gidgrp.rec.hndtyp"> <c-select v-model="model.gidgrp.rec.hndtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001246')"> </c-select> @@ -216,11 +940,11 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.autrnwflg">{{$t('gitp.CF000698')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0001242 : Type of Undertaking --> <!-- SF000705 : Undertaking Type --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001242')" prop="gidgrp.rec.gartyp"> <c-select v-model="model.gidgrp.rec.gartyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001242')"> </c-select> @@ -251,11 +975,11 @@ <c-col :span="12"> <span v-text="model.gitp.oppbnkl" data-path=".gitp.oppbnkl" > </span> -</c-col> +</c-col> --> <!-- SF000717 : Form of Undertaking --> <!-- S0001253 : Applicable Rules --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000717')" prop="gidgrp.rec.legfrm"> <c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000717')"> </c-select> @@ -280,19 +1004,19 @@ <c-form-item :label="$t('gitp.SF001073')" prop="gidgrp.iss.pts.ref"> <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001073')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000716 : Order Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="核销日期" prop="gidgrp.rec.vrfdat"> <c-date-picker type="date" v-model="model.gidgrp.rec.vrfdat" style="width:100%" :placeholder="$t('other.please_enter')+'核销日期'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- S0001249 : Language of Undertak. --> <!-- S0001258 : 核销日期 --> <!-- SF000882 : Demand Indicator --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000882')" prop="gidgrp.rec.demand"> <c-select v-model="model.gidgrp.rec.demand" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000882')"> </c-select> @@ -355,10 +1079,10 @@ <c-button size="small" type="primary" @click="onAdvpDet"> {{$t('ptsp.CF000081')}} </c-button> - </c-col> + </c-col> --> <!-- S0001248 : Choice of Text --> <!-- SF000712 : Undertaking Language --> - +<!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001249')" prop="gidgrp.rec.giduil"> <c-select v-model="model.gidgrp.rec.giduil" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001249')"> @@ -368,10 +1092,10 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.secuilflg">{{$t('gitp.CF000694')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000706 : Issuance Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.iss.namelc"> <c-input type="textarea" v-model="model.gidgrp.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> @@ -412,19 +1136,19 @@ <c-select v-model="model.gidgrp.ghd.segtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001259')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- S0001260 : 分离式保函 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="是否分离式保函" prop="gidgrp.rec.fenlishi"> <c-select v-model="model.gidgrp.rec.fenlishi" style="width:100%" :placeholder="$t('other.please_enter')+'是否分离式保函'"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- S0001259 : 特殊保函类型 --> <!-- SF000711 : Choice of Text --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001248')" prop="gidgrp.rec.gtxinr"> <c-select v-model="model.gidgrp.rec.gtxinr" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001248')"> </c-select> @@ -442,11 +1166,11 @@ <el-form-item label="Valid from" prop="gidgrp.rec.opndat"> <c-date-picker type="date" v-model="model.gidgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+'Valid from'"></c-date-picker> </el-form-item> - </c-col> + </c-col> --> <!-- S0001243 : Issuance Date --> <!-- S0001251 : Order Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="地址" prop="gidgrp.iss.adrelc"> <c-input type="textarea" v-model="model.gidgrp.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> @@ -456,10 +1180,10 @@ <c-form-item label="地址" prop="gidgrp.adv.adrelc"> <c-input type="textarea" v-model="model.gidgrp.adv.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000720 : Applicable Rules --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001253')" prop="gidgrp.blk.apprul"> <c-select v-model="model.gidgrp.blk.apprul" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001253')"> </c-select> @@ -480,19 +1204,19 @@ <c-button size="small" type="primary" @click="onGitpWbxs"> {{$t('gitp.CG001236')}} </c-button> - </c-col> + </c-col> --> <!-- S0001244 : Validity until --> <!-- SF000814 : Expiry Type --> - +<!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF001085')" prop="gidgrp.rec.exptyp"> <c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF001085')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000815 : Expiry Date --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Valid until" prop="gidgrp.rec.expdat"> <c-date-picker type="date" v-model="model.gidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+'Valid until'"></c-date-picker> </el-form-item> @@ -502,18 +1226,18 @@ <c-button size="small" type="primary" @click="onGitpYptxy"> {{$t('gitp.CG001235')}} </c-button> - </c-col> + </c-col> --> <!-- S0001250 : Our Liability until --> <!-- S0001238 : Beneficiary Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001074')" prop="gidgrp.ben.pts.ref"> <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001074')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000816 : Expiry Condition/ Evt. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001087')" prop="gidgrp.blk.exptxt"> <c-input type="textarea" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF001087')" ></c-input> </c-form-item> @@ -533,11 +1257,11 @@ <c-button size="small" type="primary" @click="onGitpButdifexptxt"> {{$t('gitp.CF001192')}} </c-button> - </c-col> + </c-col> --> <!-- S0001252 : Old Reference --> <!-- S0001254 : 保函生效日 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item label="Inure Date" prop="gidgrp.rec.inudat"> <c-date-picker type="date" v-model="model.gidgrp.rec.inudat" style="width:100%" :placeholder="$t('other.please_enter')+'Inure Date'"></c-date-picker> </el-form-item> @@ -575,11 +1299,11 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.teskeyunc">{{$t('gitp.CG001232')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF001079 : Liability Type --> <!-- S0001255 : Mortgage Flag --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF001079')" prop="gidgrp.rec.liatypc"> <c-select v-model="model.gidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF001079')"> </c-select> @@ -591,10 +1315,10 @@ <c-select v-model="model.gidgrp.rec.guaflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001255')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF001080 : Liability until --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.S0001250')" prop="gidgrp.rec.liadat"> <c-date-picker type="date" v-model="model.gidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001250')"></c-date-picker> </el-form-item> @@ -620,11 +1344,11 @@ <c-form-item label="Chinese address" prop="gidgrp.ben.dbfadrblkcn"> <c-input type="textarea" v-model="model.gidgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0001256 : 是否对外担保 --> <!-- SF001081 : Liability Condition --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001081')" prop="gidgrp.blk.liatxtc"> <c-input type="textarea" v-model="model.gidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF001081')" ></c-input> </c-form-item> @@ -634,9 +1358,9 @@ <c-form-item :label="$t('gitp.SF001081')" prop="gidgrp.blk.atxliatxtc"> <c-input type="textarea" v-model="model.gidgrp.blk.atxliatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF001081')" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0001257 : 担保类型 --> - +<!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.liatxtcmodflg">{{$t('gitp.CF001182')}}</c-checkbox> </c-col> @@ -651,10 +1375,10 @@ <c-form-item label="地址" prop="gidgrp.ben.adrelc"> <c-input type="textarea" v-model="model.gidgrp.ben.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0001261 : 被保证人 --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="被保证人" prop="gidgrp.gidcxm.warran"> <c-input v-model="model.gidgrp.gidcxm.warran" maxlength="40" :placeholder="$t('other.please_enter')+'被保证人'"></c-input> </c-form-item> @@ -671,7 +1395,7 @@ <c-select v-model="model.gidgrp.gidcxm.cxmflg" style="width:100%" :placeholder="$t('other.please_enter')+'是否显示查询码'"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- S0001262 : 是否生成查询码 --> </div> </template> @@ -680,8 +1404,10 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitame/Event" +import Ptap from "~/views/Public/Ptap"; export default { + components: { "c-ptap": Ptap }, inject: ['root'], props:["model","codes"], mixins: [commonProcess], @@ -690,6 +1416,8 @@ export default { } }, + computed:{ + }, methods:{...Event}, created:function(){ diff --git a/src/views/Business/Gitame/Ovwpc.vue b/src/views/Business/Gitame/Ovwpc.vue index b0b62d4..99d3654 100644 --- a/src/views/Business/Gitame/Ovwpc.vue +++ b/src/views/Business/Gitame/Ovwpc.vue @@ -1,7 +1,160 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="Requested Issue Date" prop="gidgrp.rec.opndatc"> + <c-date-picker type="date" v-model="model.gidgrp.rec.opndatc" style="width:100%" placeholder="请选择Requested Issue Date"></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Guarantee Amount" prop="gidgrp.cbs.mac.cur"> + <c-select disabled v-model="model.gidgrp.cbs.mac.cur" style="width:100%" placeholder="请选择Guarantee Amount"> + <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> + <c-col :span="8"> + <c-input disabled v-model="model.gidgrp.cbs.mac.amt" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Guarantee Amount"></c-input> + </c-col> + <c-col :span="4" class="centerLable"> + <c-checkbox disabled v-model="model.gitp.aacp.aacmod.addamtflg">Add. Amount</c-checkbox> + </c-col> + </c-col> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Undertaking Type " prop="gidgrp.rec.gartypc"> + <c-select v-model="model.gidgrp.rec.gartypc" style="width:100%" placeholder="请选择Undertaking Type "> + <el-option + v-for="item in codes.gartypc" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <c-input disabled v-model="model.gidgrp.blk.gartyptxtc" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Undertaking Type "></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc"> + <c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" placeholder="请选择Form of Undertaking"> + <el-option + v-for="item in codes.legfrmc1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Demand Indicator " prop="gidgrp.rec.demandc"> + <c-select :code="codes.demand" v-model="model.gidgrp.rec.demandc" style="width:100%" placeholder="请选择Demand Indicator "> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Requested Language" prop="gidgrp.rec.stdwrduilc"> + <c-select :code="codes.uiltxt2" v-model="model.gidgrp.rec.stdwrduilc" style="width:100%" placeholder="请选择Requested Language"> + </c-select> + </el-form-item> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinrc"> + <c-select disabled v-model="model.gidgrp.rec.gtxinrc" style="width:100%" placeholder="请选择Choice of Text"> + <el-option + v-for="item in codes.gtxinr" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="Applicable Rules" prop="gidgrp.blk.apprulc"> + <c-select v-model="model.gidgrp.blk.apprulc" style="width:100%" placeholder="请选择Applicable Rules"> + <el-option + v-for="item in codes.apprulc1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <c-input :disabled="model.gidgrp.blk.apprulc!='OTHR'" style="margin: 0 0 0 10px; width: 80%" v-model="model.gidgrp.blk.apprultxtc" maxlength="35" placeholder="请输入Applicable Rules"></c-input> + </c-col> + </c-col> + + <c-col :span="24"> + <el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp"> + <c-select disabled v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type"> + <el-option + v-for="item in codes.exptyp" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Validity until" prop="gidgrp.rec.expdat"> + <c-date-picker :disabled="model.gidgrp.rec.exptyp=='OPEN'" + type="date" + v-model="model.gidgrp.rec.expdat" + style="width: 100%" + placeholder="请选择Validity until" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt"> + <c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifexptxt"> + vs. &System + </c-button> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisexptxt"> + vs. &History + </c-button> + </c-col> + </c-col> + + </c-col> + </c-col> + </c-row> <!-- SF000750 : Requested Issue Date --> - +<!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000750')" prop="gidgrp.rec.opndatc"> <c-date-picker type="date" v-model="model.gidgrp.rec.opndatc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000750')"></c-date-picker> @@ -10,10 +163,10 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.autrnwflgc">{{$t('gitp.CF000898')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000778 : Guarantee Amount --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.cur"> <c-select v-model="model.gidgrp.cbs.mac.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000778')"> </c-select> @@ -24,14 +177,14 @@ <c-form-item :label="$t('gitp.SF000778')" prop="gidgrp.cbs.mac.amt"> <c-input v-model="model.gidgrp.cbs.mac.amt" :placeholder="$t('other.please_enter')+$t('gitp.SF000778')"></c-input> </c-form-item> - </c-col> + </c-col> --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg">{{$t('gitp.CF000780')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000754 : Undertaking Type --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000754')" prop="gidgrp.rec.gartypc"> <c-select v-model="model.gidgrp.rec.gartypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000754')"> </c-select> @@ -42,18 +195,18 @@ <c-form-item :label="$t('gitp.SF000754')" prop="gidgrp.blk.gartyptxtc"> <c-input v-model="model.gidgrp.blk.gartyptxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000754')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000751 : Form of Undertaking --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000751')" prop="gidgrp.rec.legfrmc"> <c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000751')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000883 : Demand Indicator --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000883')" prop="gidgrp.rec.demandc"> <c-select v-model="model.gidgrp.rec.demandc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000883')"> </c-select> @@ -62,26 +215,26 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.stdwrdc">{{$t('gitp.CF000762')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000884 : Requested Language --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000884')" prop="gidgrp.rec.stdwrduilc"> <c-select v-model="model.gidgrp.rec.stdwrduilc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000884')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000852 : Choice of Text --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000852')" prop="gidgrp.rec.gtxinrc"> <c-select v-model="model.gidgrp.rec.gtxinrc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000852')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000752 : Applicable Rules --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprulc"> <c-select v-model="model.gidgrp.blk.apprulc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000752')"> </c-select> @@ -92,7 +245,7 @@ <c-form-item :label="$t('gitp.SF000752')" prop="gidgrp.blk.apprultxtc"> <c-input v-model="model.gidgrp.blk.apprultxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000752')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001085 : Expiry Type --> <!-- SF001086 : Expiry Date --> <!-- SF001087 : Expiry Condition/ Evt. --> diff --git a/src/views/Business/Gitame/Preperp.vue b/src/views/Business/Gitame/Preperp.vue index 3cb41f8..e3850ff 100644 --- a/src/views/Business/Gitame/Preperp.vue +++ b/src/views/Business/Gitame/Preperp.vue @@ -1,8 +1,135 @@ <template> <div class="eibs-tab"> + + <c-row> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori"> + <c-fullbox> + <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak."> + <el-option + v-for="item in codes.delori1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + <template slot="footer"> + <c-input :disabled="model.gidgrp.rec.delori!='COUR'&&model.gidgrp.rec.delori!='OTHR'" v-model="model.gidgrp.rec.deloritxt" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input> + </template> + </c-fullbox> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto"> + <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.sndto" style="width:100%" placeholder="请选择Undertaking Send to"> + <el-option + v-for="item in codes.rolall" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Deliv. To/Collection By" prop="gidgrp.rec.delto"> + <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delto" style="width:100%" placeholder="请选择Deliv. To/Collection By"> + <el-option + v-for="item in codes.delto" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr"> + <c-input :disabled="model.gidgrp.rec.delto==''" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond"> + <c-input disabled type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <el-form-item label="Charges Condition"> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato"> + <c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by"> + <el-option + v-for="item in chato" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Charges"> + <c-fullbox> + <template slot="footer"> + <c-checkbox v-model="model.gitp.chargi.chkast">Allow *</c-checkbox> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt"> + <c-fullbox> + <c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> + <template slot="footer"> + <c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel"> + ... + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + </c-col> + </c-col> + + <c-col :span="13"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.prepermodflg == ''" label="Presentation Instr." prop="gidgrp.blk.preper"> + <c-input disabled type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input> + </el-form-item> + <c-form-item v-if="model.gitp.prepermodflg == 'X'" label="Presentation Instr." prop="gidgrp.blk.atxpreper"> + <c-input type="textarea" :rows="5" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input> + </c-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-model="model.gitp.prepermodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-model="model.gitp.chkpreper" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:100px" @click="onGitpButdifpreper"> + vs. S&ystem + </c-button> + <c-button disabled size="small" style="margin:5px 0 0 10px;width:100px" type="primary" @click="onGitpButdifhispreper"> + vs. &History + </c-button> + </c-col> + </c-col> + </c-row> <!-- SF000859 : Delivery of Undertak. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori"> <c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"> </c-select> @@ -13,11 +140,11 @@ <c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt"> <c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000863 : Charges Condition --> <!-- SF000862 : Undertaking Send to --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto"> <c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')"> </c-select> @@ -29,22 +156,22 @@ <c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000860 : Deliv. To/Collection By --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto"> <c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000864 : Charges --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000861 : Delivery to Address --> - +<!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr"> <c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input> @@ -61,10 +188,10 @@ <c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel"> {{$t('gitp.CF001057')}} </c-button> - </c-col> + </c-col> --> <!-- SF000728 : Presentation Instr. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper"> <c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input> </c-form-item> @@ -98,14 +225,14 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000885 : Transfer Conditions --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond"> <c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> @@ -120,7 +247,11 @@ export default { mixins: [commonProcess], data(){ return { - + chato:[ + {value: "U", label:"Applicant Side"}, + {value: "B", label: "Beneficiay Side"}, + {value: "O", label: "Other"}, + ] } }, methods:{...Event}, diff --git a/src/views/Business/Gitame/Preperpc.vue b/src/views/Business/Gitame/Preperpc.vue index 5a7afa1..646627b 100644 --- a/src/views/Business/Gitame/Preperpc.vue +++ b/src/views/Business/Gitame/Preperpc.vue @@ -1,8 +1,93 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric"> + <c-fullbox> + <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak."> + <el-option + v-for="item in codes.deloric" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + <template slot="footer" > + <c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc"> + <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By"> + <el-option + v-for="item in codes.deltoc" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc"> + <c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item v-if="model.gitp.prepercmodflg==''" label="Presentation Instr." prop="gidgrp.blk.preperc"> + <c-input disabled rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input> + </el-form-item> + <c-form-item v-if="model.gitp.prepercmodflg=='X'" label="Presentation Instr." prop="gidgrp.blk.atxpreperc"> + <c-input rows="6" type="textarea" v-model="model.gidgrp.blk.atxpreperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input> + </c-form-item> + </c-col> + <c-col :span="4"> + <c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox> + <c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox> + <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc"> + vs. &System + </c-button> + <c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc"> + vs. &History + </c-button> + </c-col> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <c-col :span="20"> + <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> + <c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input> + </el-form-item> + </c-col> + <c-col :span="4"> + <c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> + ... + </c-button> + + <c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox> + </c-col> + + </c-col> + <c-col :span="24"> + <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc"> + <c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> + <!-- SF000875 : Delivery of Undertak. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric"> <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"> </c-select> @@ -13,10 +98,10 @@ <c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc"> <c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000872 : Charges --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> <c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input> </c-form-item> @@ -26,18 +111,18 @@ <c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> {{$t('gitp.CF000878')}} </c-button> - </c-col> + </c-col> --> <!-- SF000878 : Deli. To/Collection By --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc"> <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000879 : Delivery to Address --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc"> <c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input> </c-form-item> @@ -45,10 +130,10 @@ <c-col :span="12"> <c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000877 : Presentation Instr. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc"> <c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input> </c-form-item> @@ -82,14 +167,14 @@ <c-col :span="12"> <c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF000880 : Transfer Conditions --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc"> <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> diff --git a/src/views/Business/Gitame/Ptyp.vue b/src/views/Business/Gitame/Ptyp.vue index 972a215..8602d8e 100644 --- a/src/views/Business/Gitame/Ptyp.vue +++ b/src/views/Business/Gitame/Ptyp.vue @@ -1,15 +1,222 @@ <template> <div class="eibs-tab"> - -<c-col :span="12"> + <c-row> + <c-col :span="24"> + <c-col :span="11"> + <c-col :span="24"> + <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> + <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.apl.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.apl.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button disabled size="small" type="primary" @click="onAplpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> + <c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-ptap v-if="model.gitp.swiftflg=='Y'" + :model="model" + :argadr="{ + title: 'Accountee/ObI.', + grp: 'gidgrp', + rol: 'ctr', + }" + @onAplpDet="onConpDet" + > + </c-ptap> + </c-col> + + + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="Confirming Bank Ref." prop="gidgrp.con.pts.ref"> + <c-input disabled v-model="model.gidgrp.con.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="Confirming Bank" prop="gidgrp.con.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.con.pts.extkey" + disabled + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.con.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button disabled size="small" type="primary" @click="onConpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.con.pts.adrblk"> + <c-input disabled type="textarea" rows="4" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="24"> + <c-ptap v-if="model.gitp.swiftflg=='N'" + :model="model" + :argadr="{ + title: 'Confirming Bank', + grp: 'gidgrp', + rol: 'con', + }" + :disabled="true" + @onAplpDet="onConpDet" + > + </c-ptap> + </c-col> --> + </c-col> + + <c-col :span="11" :offset="1"> + + <c-col :span="24"> + <el-form-item label="受益人" prop="gidgrp.ben.pts.ref"> + <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="受益人" prop="gidgrp.ben.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.ben.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.ben.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" @click="onBenpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk"> + <c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref"> + <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bank"></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> + <c-fullbox> + <c-input v-model="model.gidgrp.iss.pts.extkey" + maxlength="16" + placeholder="请输入External Key of Address" + @keyup.enter.native=" + showGridPromptDialog(`gidgrp.iss.pts.extkey`) + "></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + > + <span style="font-family:'宋体';font-weight:bold">i</span> + </c-button> + <c-button disabled size="small" type="primary" @click="onIsspDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.iss.pts.adrblk"> + <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <c-ptap v-if="model.gitp.swiftflg=='Y'" + :model="model" + :argadr="{ + title: 'Advising Bank', + grp: 'gidgrp', + rol: 'atb', + }" + @onAplpDet="onConpDet" + > + </c-ptap> + </c-col> + </c-col> + </c-col> + </c-row> + + <c-col :span="24"> + <el-form-item label="Additional Parties" > + <c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px"> + <el-table-column label="操作" > + <template slot-scope="scope"> + <el-button + size="mini" + @click="handleEdit(scope.$index, scope.row)" + type="primary" + >详情</el-button + > + </template> + </el-table-column> + </c-edit-table> + </el-form-item> +</c-col> +<!-- <c-col :span="12"> <span v-text="model.gitp.labapl" data-path=".gitp.labapl" > </span> -</c-col> +</c-col> --> <!-- SF001049 : Applicant's Ref. --> <!-- S0001297 : Applicant's Ref. --> -<c-col :span="12"> +<!-- <c-col :span="12"> <span v-text="model.gitp.labaplref" data-path=".gitp.labaplref" > </span> -</c-col> +</c-col> --> <!-- SF001050 : Beneficiary's Ref. --> <!-- SF001066 : Beneficiary's Ref. --> <!-- S0001298 : Beneficiary's Ref. --> @@ -18,27 +225,27 @@ <!-- SF001051 : Beneficiary --> <!-- SF000686 : Beneficiary --> <!-- S0001299 : Beneficiary --> - +<!-- <c-col :span="12"> <c-checkbox v-model="model.gitp.aplsupflg">{{$t('gitp.CF001200')}}</c-checkbox> - </c-col> + </c-col> --> <!-- S0001300 : Confirming Bank's Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001078')" prop="gidgrp.con.pts.ref"> <c-input v-model="model.gidgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001078')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001055 : Accountee's Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Reference for Address Optional" prop="gidgrp.ctr.pts.ref"> <c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001052 : Issuing Bank's Ref. --> -<c-col :span="12"> +<!-- <c-col :span="12"> <span v-text="model.gitp.labissref" data-path=".gitp.labissref" > </span> </c-col> @@ -48,16 +255,16 @@ <c-col :span="12"> <span v-text="model.gitp.labctrref" data-path=".gitp.labctrref" > </span> -</c-col> +</c-col> --> <!-- SF001068 : Advising Bank Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001068')" prop="gidgrp.atb.pts.ref"> <c-input v-model="model.gidgrp.atb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001068')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- S0001301 : Confirming Bank --> - +<!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.conp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.conp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> @@ -68,10 +275,10 @@ <c-form-item label="Drag Drop Sender" prop="gitp.bdbp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.bdbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001054 : Accountee --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="External Key of Address" prop="gidgrp.con.pts.extkey"> <c-input v-model="model.gidgrp.con.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> </c-form-item> @@ -93,10 +300,10 @@ <c-form-item label="Drag Drop Sender" prop="gitp.ctrp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.ctrp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001053 : Issuing Bank --> -<c-col :span="12"> +<!-- <c-col :span="12"> <span v-text="model.gitp.labissbak" data-path=".gitp.labissbak" > </span> </c-col> @@ -134,10 +341,10 @@ <c-button size="small" type="primary" @click="onCtrpDet"> {{$t('ptsp.CF000081')}} </c-button> - </c-col> + </c-col> --> <!-- SF000827 : Advising Bank --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.atbp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.atbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> @@ -171,10 +378,10 @@ <c-form-item label="名称" prop="gidgrp.bdb.namelc"> <c-input type="textarea" v-model="model.gidgrp.bdb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000912 : (Tag 56a) --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.ctr.namelc"> <c-input type="textarea" v-model="model.gidgrp.ctr.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> @@ -256,17 +463,17 @@ <c-form-item label="地址" prop="gidgrp.atb.adrelc"> <c-input type="textarea" v-model="model.gidgrp.atb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000046 : Additional Parties --> <!-- SF000046 : Additional Parties --> <!-- SF000818 : Risk Country --> - <c-col :span="12"> + <!-- <c-col :span="12"> <el-form-item :label="$t('gitp.SF000818')" prop="gidgrp.rec.stacty"> <c-select v-model="model.gidgrp.rec.stacty" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000818')"> </c-select> </el-form-item> - </c-col> + </c-col> --> <!-- SF000046 : Additional Parties --> </div> </template> @@ -275,14 +482,42 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitame/Event" +import Ptap from "~/views/Public/Ptap"; export default { + components: { "c-ptap": Ptap }, inject: ['root'], props:["model","codes"], mixins: [commonProcess], data(){ return { - + ptsaddg: { + columns: [ + { + title: "Role", + width: "120px", + dataIndex: "rol", + show: "select", + }, + { + title: "Party", + width: "180px", + dataIndex: "ptyextkey", + show: "input", + }, + { + title: "Name of Party", + width: "250px", + dataIndex: "nam", + }, + { + title: "Reference for Address", + width: "250px", + dataIndex: "ref", + }, + ], + urls: "gitp.ptsaddp.ptsaddg", + }, } }, methods:{...Event}, diff --git a/src/views/Business/Gitame/Ptypc.vue b/src/views/Business/Gitame/Ptypc.vue index 658ef55..fa1efa5 100644 --- a/src/views/Business/Gitame/Ptypc.vue +++ b/src/views/Business/Gitame/Ptypc.vue @@ -1,29 +1,120 @@ <template> <div class="eibs-tab"> + <c-row> + <c-col :span="24"> + <c-col :span="12"> + <c-col :span="24"> + <c-ptap :model="model" :argadr="{ + title: 'Applicant', + grp: 'gidgrp', + rol: 'apc', + }" + :disabled="false"> + </c-ptap> + </c-col> + + <c-col :span="24"> + <c-ptap :model="model" :argadr="{ + title: 'Obligor', + grp: 'gidgrp', + rol: 'ctc', + }" + :disabled="false" + @onAplpDet="onCtcpDet"> + </c-ptap> + </c-col> + + <c-col :span="24"> + <c-ptap :model="model" :argadr="{ + title: 'Int. Beneficiary', + grp: 'gidgrp', + rol: 'bec', + }" + :disabled="false" + @onAplpDet="onBecpDet"> + </c-ptap> + </c-col> + </c-col> + <c-col :span="11" :offset="1"> + <c-col :span="24"> + <c-ptap :model="model" :argadr="{ + title: 'Issuing Bank', + grp: 'gidgrp', + rol: 'iss', + }" + :disabled="true" + @onAplpDet="onCtcpDet"> + </c-ptap> + </c-col> + + <c-col :span="24"> + <c-ptap :model="model" :argadr="{ + title: 'Ultimate Ben Bank', + grp: 'gidgrp', + rol: 'ben', + }" + :disabled="true" + @onAplpDet="onCtcpDet"> + </c-ptap> + </c-col> + + <c-col :span="24"> + <el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref"> + <c-input disabled v-model="model.gidgrp.avc.pts.ref" maxlength="16" placeholder="请输入Avail. with Bank Ref."></c-input> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey"> + <c-fullbox> + <c-input disabled v-model="model.gidgrp.avc.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> + <template slot="footer"> + <c-button + style="margin:0 10px 0 10px;padding: 0 12px;" + size="small" + type="primary" + icon="el-icon-search" + @click="onSeainf(`gidgrp.avc.pts.extkey`)" + > + </c-button> + <c-button size="small" type="primary" @click="onAvcpDet"> + Details + </c-button> + </template> + </c-fullbox> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam"> + <c-input disabled v-model="model.gidgrp.avc.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> + </el-form-item> + </c-col> + </c-col> + </c-col> + </c-row> <!-- SF001070 : Applicant Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001070')" prop="gidgrp.apc.pts.ref"> <c-input v-model="model.gidgrp.apc.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001070')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001073 : Issuing Bank Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001073')" prop="gidgrp.iss.pts.ref"> <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001073')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000801 : Applicant --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.apcp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.apcp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000800 : Issuing Bank --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="External Key of Address" prop="gidgrp.apc.pts.extkey"> <c-input v-model="model.gidgrp.apc.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> </c-form-item> @@ -39,10 +130,10 @@ <c-button size="small" type="primary" @click="onApcpDet"> {{$t('ptsp.CF000081')}} </c-button> - </c-col> + </c-col> --> <!-- SF000908 : (Tag 52a) --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.apc.namelc"> <c-input type="textarea" v-model="model.gidgrp.apc.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> @@ -68,31 +159,31 @@ <c-col :span="12"> <c-checkbox v-model="model.gitp.apcsupflg">{{$t('gitp.CF001202')}}</c-checkbox> - </c-col> + </c-col> --> <!-- SF001071 : Obligor Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001071')" prop="gidgrp.ctc.pts.ref"> <c-input v-model="model.gidgrp.ctc.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001071')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001074 : Ultimate Ben. Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001074')" prop="gidgrp.ben.pts.ref"> <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001074')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000802 : Obligor --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.ctcp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.ctcp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000942 : Ultim. Beneficiary --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="External Key of Address" prop="gidgrp.ctc.pts.extkey"> <c-input v-model="model.gidgrp.ctc.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> </c-form-item> @@ -108,10 +199,10 @@ <c-button size="small" type="primary" @click="onCtcpDet"> {{$t('ptsp.CF000081')}} </c-button> - </c-col> + </c-col> --> <!-- SF000943 : (Tag 59) --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.ctc.namelc"> <c-input type="textarea" v-model="model.gidgrp.ctc.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> @@ -133,16 +224,16 @@ <c-form-item label="地址" prop="gidgrp.ctc.adrelc"> <c-input type="textarea" v-model="model.gidgrp.ctc.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001072 : Int. Beneficiary Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001072')" prop="gidgrp.bec.pts.ref"> <c-input v-model="model.gidgrp.bec.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001072')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000944 : Intermediary --> - +<!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.becp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.becp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> @@ -165,17 +256,17 @@ <c-button size="small" type="primary" @click="onBecpDet"> {{$t('ptsp.CF000081')}} </c-button> - </c-col> + </c-col> --> <!-- SF000913 : Beneficiary BEC --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="名称" prop="gidgrp.bec.namelc"> <c-input type="textarea" v-model="model.gidgrp.bec.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF000914 : (Tag 59 of Seq B) --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item label="Address Block" prop="gidgrp.bec.pts.adrblk"> <c-input type="textarea" v-model="model.gidgrp.bec.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> </c-form-item> @@ -191,16 +282,16 @@ <c-form-item label="地址" prop="gidgrp.bec.adrelc"> <c-input type="textarea" v-model="model.gidgrp.bec.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001223 : Avail. with Bank Ref. --> - <c-col :span="12"> + <!-- <c-col :span="12"> <c-form-item :label="$t('gitp.SF001223')" prop="gidgrp.avc.pts.ref"> <c-input v-model="model.gidgrp.avc.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('gitp.SF001223')"></c-input> </c-form-item> - </c-col> + </c-col> --> <!-- SF001222 : Available w. Bank --> - +<!-- <c-col :span="12"> <c-form-item label="Drag Drop Sender" prop="gitp.avcp.ptsget.sdamod.dadsnd"> <c-input v-model="model.gitp.avcp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> @@ -229,7 +320,7 @@ <c-form-item label="Name of Party" prop="gidgrp.avc.pts.nam"> <c-input v-model="model.gidgrp.avc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> </c-form-item> - </c-col> + </c-col> --> </div> </template> <script> @@ -237,8 +328,10 @@ import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" import Event from "~/model/Gitame/Event" +import Ptap from "~/views/Public/Ptap"; export default { + components: { "c-ptap": Ptap }, inject: ['root'], props:["model","codes"], mixins: [commonProcess], diff --git a/src/views/Business/Gitame/index.vue b/src/views/Business/Gitame/index.vue index 62ced38..5e7718d 100644 --- a/src/views/Business/Gitame/index.vue +++ b/src/views/Business/Gitame/index.vue @@ -27,15 +27,127 @@ <m-ameps20 :model="model" :codes="codes"/> </c-content> </el-tab-pane> - <!--gitamep PD002100 Amendment Dates --> + + <el-tab-pane v-if="model.gitp.swiftflg=='Y'" label="Amendment Dates" name="amedat20"> + <c-content> + <m-amedat20 :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.trnmod.swiadd.purposame=='ISCA'||model.trnmod.swiadd.purposame=='ICCA')" label="Seq C:Amendment" name="amecp"> + <c-content> + <m-amecp :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + <!--gitamep PD002100 c --> <!-- <el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20"> <m-amedat20 :model="model" :codes="codes"/> </el-tab-pane> --> <!--gitp PD000002 Overview --> - <!-- <el-tab-pane :label="$t('gitp.PD000002')" name="ovwp"> - <m-ovwp :model="model" :codes="codes"/> - </el-tab-pane> --> - <!--gitp PD000043 Parties --> + <el-tab-pane label="Overview" name="ovwp"> + <c-content> + <m-ovwp :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Parties" name="ptyp"> + <m-ptyp :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane v-if="model.gitp.swiftflg=='Y'" label="Presentation/ Delivery" name="preperp"> + <m-preperp :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Details" name="detp"> + <c-content> + <m-detp :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane v-if="model.gitamep.prtflg=='X'" label="Undertaking Text" name="gidtxtp"> + <m-gidtxtp :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="History" name="amephis"> + <m-amephis :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Liability" name="liability"> + <c-content> + <m-engp :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Cash Cover" name="Cash Cover"> + <c-content> + <m-ccvpan :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Settlement" name="Settlement"> + <c-content> + <m-setpan :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Bookings" name="Booking"> + <c-content> + <m-glepan :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Completion" name="Completion"> + <c-content> + <m-coninfp :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="Messages" name="Messages"> + <m-docpan :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Attachments" name="Attachments"> + <c-content> + <m-doctre :model="model" :codes="codes"/> + </c-content> + </el-tab-pane> + + <el-tab-pane label="备查表" name="addbcb"> + <m-addbcb :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Seq. C: History" name="amephisc"> + <m-amephisc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Seq. C: Overview" name="ovwpc"> + <m-ovwpc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Seq. C: Parties" name="ptypc"> + <m-ptypc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Seq. C: Presentation/ Delivery" name="preperpc"> + <m-preperpc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="Seq. C: Details" name="detpc"> + <m-detpc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.trnmod.swiadd.purposame=='ISCA'||model.trnmod.swiadd.purposame=='ICCA')&&model.gitamep.prtflg=='X'" label="Seq. C: Undertaking Text" name="gidtxtpc"> + <m-gidtxtpc :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane v-if="model.trnmod.swiadd.addamtflgc=='X'" label="Seq. C: Add. Amounts" name="aacp"> + <m-aacp :model="model" :codes="codes"/> + </el-tab-pane> + + <el-tab-pane label="统一授信" name="limitbody"> + <m-limitbody :model="model" :codes="codes"/> + </el-tab-pane> + <!--gitp PD000043 Parties --> <!-- <el-tab-pane :label="$t('gitp.PD000043')" name="ptyp"> <m-ptyp :model="model" :codes="codes"/> </el-tab-pane> --> @@ -114,6 +226,7 @@ import Ptyp from "./Ptyp" import Preperp from "./Preperp" import Detp from "./Detp" import Amephisc from "./Amephisc" +import Amephis from "./Amephis" import Addbcb from "./Addbcb" import Amecp from "./Amecp" import Gidtxtp from "./Gidtxtp" @@ -125,6 +238,14 @@ import Detpc from "./Detpc" import Gidtxtpc from "./Gidtxtpc" import Aacp from "./Aacp" +import Engp from "~/views/Public/Engp"; +import Ccvpan from "~/views/Public/Ccvpan"; +import Setpan from "~/views/Public/Setpan"; +import Glepan from "~/views/Public/Glepan"; +import Coninfp from "~/views/Public/Coninfp"; +import Docpan from "~/views/Public/Docpan"; +import Doctre from "~/views/Public/Doctre"; +import Limitbody from "~/views/Public/Limitbody"; export default { name: "Gitame", @@ -137,6 +258,7 @@ export default { "m-preperp" : Preperp, "m-detp" : Detp, "m-amephisc" : Amephisc, + "m-amephis" : Amephis, "m-addbcb" : Addbcb, "m-amecp" : Amecp, "m-gidtxtp" : Gidtxtp, @@ -147,6 +269,16 @@ export default { "m-detpc" : Detpc, "m-gidtxtpc" : Gidtxtpc, "m-aacp" : Aacp, + + + "m-engp" :Engp, + "m-ccvpan" :Ccvpan, + "m-setpan" : Setpan, + "m-glepan" :Glepan, + "m-coninfp" :Coninfp, + "m-docpan" :Docpan, + "m-doctre" :Doctre, + "m-limitbody" : Limitbody, }, provide() { return { diff --git a/src/views/Business/Gitopn/index.vue b/src/views/Business/Gitopn/index.vue index 5e7c47c..5e741bc 100644 --- a/src/views/Business/Gitopn/index.vue +++ b/src/views/Business/Gitopn/index.vue @@ -23,19 +23,6 @@ <m-opnp :model="model" :codes="codes"/> </el-tab-pane> - <!--PD000002 --> - <!-- <el-tab-pane v-if="model.gitp.swiftflg==''" label="Overview" name="ovwp"> - <c-content> - <m-ovwp :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> --> - - <!-- <el-tab-pane v-if="model.gitp.swiftflg=='Y'" label="Overview" name="ovwp20"> - <c-content> - <m-ovwp20 :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> --> - <el-tab-pane label="Overview" name="ovwp"> <c-content> <m-ovwp :model="model" :codes="codes"/> @@ -127,16 +114,6 @@ <el-tab-pane label="统一授信" name="limitbody"> <m-limitbody :model="model" :codes="codes"/> </el-tab-pane> - - <!-- <el-tab-pane label="overview" name="Ovwp20"> - <c-content> - <m-ovwp20 :model="model" :codes="codes"/> - </c-content> - </el-tab-pane> --> - <!--PD000136 --> - <!-- <el-tab-pane label="PD000136" name="voup"> - <m-voup :model="model" :codes="codes"/> - </el-tab-pane> --> <!--PD000001 --> <el-tab-pane v-if="model.gidgrp.rec.fingua=='Y'" label="对外担保数据采集" name="cfap"> diff --git a/src/views/Public/Setpan.vue b/src/views/Public/Setpan.vue index ebf05e5..20f4786 100644 --- a/src/views/Public/Setpan.vue +++ b/src/views/Public/Setpan.vue @@ -934,6 +934,13 @@ export default { txtdbt: "", CG00005: "", }, + newdialog: { + payee: "", + ptydbt: "", + txtpay: "", + txtdbt: "", + CG00005: "", + }, dialog2: { feetxtinf: "", feetxt: "", @@ -965,7 +972,7 @@ export default { methods: { //第一个表格 addRowSetfol() { - let newRow = { ...this.dialog }; + let newRow = { ...this.newdialog }; this.model.setmod.setfog.setfol.splice(0, 0, newRow); this.defaultFunction(); }, @@ -990,7 +997,6 @@ export default { detail1(index, row) { this.executeDefault("setfel.det").then(res => { this.dialogVisible = true; - console.log(row) this.dialog = row; this.index = index; }) diff --git a/src/views/Review/Business/ReviewBetsnd.vue b/src/views/Review/Business/ReviewBetsnd.vue new file mode 100644 index 0000000..272a285 --- /dev/null +++ b/src/views/Review/Business/ReviewBetsnd.vue @@ -0,0 +1,19 @@ +<template> + <ReviewWrapper> + <Betsnd></Betsnd> + </ReviewWrapper> +</template> + +<script> +import Betsnd from "~/views/Business/Betsnd"; +import { ReviewWrapper } from "~/components/gj-common.min.js"; + +export default { + name: "ReviewBetsnd", + components: { ReviewWrapper, Betsnd }, + created() {}, + mounted() {}, +}; +</script> + +<style></style> diff --git a/src/views/Review/Business/ReviewLitdav.vue b/src/views/Review/Business/ReviewLitdav.vue new file mode 100644 index 0000000..150b7f9 --- /dev/null +++ b/src/views/Review/Business/ReviewLitdav.vue @@ -0,0 +1,19 @@ +<template> + <ReviewWrapper> + <Litdav></Litdav> + </ReviewWrapper> +</template> + +<script> +import Litdav from "~/views/Business/Litdav"; +import { ReviewWrapper } from "~/components/gj-common.min.js"; + +export default { + name: "ReviewLitdav", + components: { ReviewWrapper, Litdav }, + created() {}, + mounted() {}, +}; +</script> + +<style></style> diff --git a/src/views/Review/ReviewRouter.js b/src/views/Review/ReviewRouter.js index bb71082..3f10081 100644 --- a/src/views/Review/ReviewRouter.js +++ b/src/views/Review/ReviewRouter.js @@ -21,6 +21,7 @@ import ReviewLetdrw from "./Business/ReviewLetdrw.vue"; import ReviewLetdav from "./Business/ReviewLetdav.vue"; import ReviewLetcan from "./Business/ReviewLetcan.vue"; import ReviewBetdrv from "./Business/ReviewBetdrv.vue"; +import ReviewBetsnd from "./Business/ReviewBetsnd.vue"; import ReviewLitame from "./Business/ReviewLitame.vue"; import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue"; import ReviewBdteus from "./Business/ReviewBdteus.vue"; @@ -39,6 +40,7 @@ import ReviewBetrcl from "./Business/ReviewBetrcl.vue"; import ReviewBetset from "./Business/ReviewBetset.vue"; import ReviewDetame from "./Business/ReviewDetame.vue"; import ReviewBetdcr from "./Business/ReviewBetdcr.vue"; +import ReviewLitdav from "./Business/ReviewLitdav.vue"; const ReviewRouter = [ @@ -86,6 +88,7 @@ const ReviewRouter = [ { path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } }, { path: "letcan", component: ReviewLetcan, name: "ReviewLetcan", meta: { title: "复核-Letcan" } }, { path: "betdrv", component: ReviewBetdrv, name: "ReviewBetdrv", meta: { title: "复核-Betdrv" } }, + { path: "betsnd", component: ReviewBetsnd, name: "ReviewBetsnd", meta: { title: "复核-Betsnd" } }, { path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } }, { path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } }, { path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } }, @@ -100,6 +103,7 @@ const ReviewRouter = [ { path: "betset", component: ReviewBetset, name: "ReviewBetset", meta: { title: "复核-Betset" } }, { path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } }, { path: "betdcr", component: ReviewBetdcr, name: "ReviewBetdcr", meta: { title: "复核-Betdcr" } }, + { path: "litdav", component: ReviewLitdav, name: "ReviewLitdav", meta: { title: "复核-Litdav" } }, ];