diff --git a/src/model/Bdtudp/Check.js b/src/model/Bdtudp/Check.js index eb880d5..e4882f0 100644 --- a/src/model/Bdtudp/Check.js +++ b/src/model/Bdtudp/Check.js @@ -4,45 +4,45 @@ import Utils from "~/utils" * Bdtudp Check规则 */ let checkObj = { - "bddgrp.tag72add" :null, - "liaall.misamt" :null, - "liaall.limmod.limpts.oth.pts.extkey" :null, - "bddgrp.rec.disdat" :null, - "bdtp.oth.pts.extkey" :null, - "liaall.limmod.ownref" :null, - "liaall.limmod.ecifno" :null, - "liaall.limmod.othp.ptsget.sdamod.dadsnd" :null, - "bddgrp.rec.docflg" :null, - "bdtp.furide" :null, - "bddgrp.blk.docdis" :null, - "setmod.dspflg" :null, - "bddgrp.prb.pts.ref" :null, - "bddgrp.blk.accrmk" :null, - "bddgrp.prb.pts.extkey" :null, - "bddgrp.rec.expdat" :null, - "bddgrp.shp.namelc" :null, - "liaall.liaccv.totcovamt" :null, - "aamset.utlamt2" :null, - "bddgrp.rec.rcvdat" :null, - "bddgrp.shp.pts.adrblk" :null, - "liaall.limmod.limpts.wrk.pts.extkey" :null, - "bddgrp.blk.comcon" :null, - "bddgrp.prb.pts.bankno" :null, - "bddgrp.rec.reltyp" :null, - "bddgrp.rec.relgodflg" :null, - "bdtp.shpp.ptsget.sdamod.dadsnd" :null, - "mtabut.coninf.conexedat" :null, - "bdtp.recget.sdamod.dadsnd" :null, - "liaall.limmod.limpts.nonrevflg1" :null, - "bddgrp.shp.adrelc" :null, - "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null, - "setmod.docamt" :null, - "liaall.liaccv.cshpct" :null, - "bdtp.oth.pts.bankno" :null, - "bdtp.didget.sdamod.dadsnd" :null, - "bddgrp.shp.pts.extkey" :null, - "bddgrp.rec.trpdocnum" :null, - "liaall.liaccv.relcshpct" :null, + "bddgrp.tag72add": null, + "liaall.misamt": null, + "liaall.limmod.limpts.oth.pts.extkey": null, + "bddgrp.rec.disdat": null, + "bdtp.oth.pts.extkey": null, + "liaall.limmod.ownref": null, + "liaall.limmod.ecifno": null, + "liaall.limmod.othp.ptsget.sdamod.dadsnd": null, + "bddgrp.rec.docflg": null, + "bdtp.furide": null, + "bddgrp.blk.docdis": null, + "setmod.dspflg": null, + "bddgrp.prb.pts.ref": null, + "bddgrp.blk.accrmk": null, + "bddgrp.prb.pts.extkey": null, + "bddgrp.rec.expdat": null, + "bddgrp.shp.namelc": null, + "liaall.liaccv.totcovamt": null, + "aamset.utlamt2": null, + "bddgrp.rec.rcvdat": null, + "bddgrp.shp.pts.adrblk": null, + "liaall.limmod.limpts.wrk.pts.extkey": null, + "bddgrp.blk.comcon": null, + "bddgrp.prb.pts.bankno": null, + "bddgrp.rec.reltyp": null, + "bddgrp.rec.relgodflg": null, + "bdtp.shpp.ptsget.sdamod.dadsnd": null, + "mtabut.coninf.conexedat": null, + "bdtp.recget.sdamod.dadsnd": null, + "liaall.limmod.limpts.nonrevflg1": null, + "bddgrp.shp.adrelc": null, + "liaall.limmod.wrkp.ptsget.sdamod.dadsnd": null, + "setmod.docamt": null, + "liaall.liaccv.cshpct": null, + "bdtp.oth.pts.bankno": null, + "bdtp.didget.sdamod.dadsnd": null, + "bddgrp.shp.pts.extkey": null, + "bddgrp.rec.trpdocnum": null, + "liaall.liaccv.relcshpct": null, } for (const key in checkObj) { diff --git a/src/model/Bdtudp/Default.js b/src/model/Bdtudp/Default.js index 0231458..d44107a 100644 --- a/src/model/Bdtudp/Default.js +++ b/src/model/Bdtudp/Default.js @@ -6,64 +6,64 @@ import Api from "~/service/Api"; import Utils from "~/utils/index" export default { - "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, - "bddgrp.blk.docdisflg" :Utils.defaultFunction, - "bddgrp.blk.docdis" :Utils.defaultFunction, - "setmod.doccur" :Utils.defaultFunction, - "setmod.dspflg" :Utils.defaultFunction, - "setmod.docamt" :Utils.defaultFunction, - "bddgrp.ben.pts.nam" :Utils.defaultFunction, - "mtabut.coninf.usr.extkey" :Utils.defaultFunction, - "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, - "bdtp.oth.pts.extkey" :Utils.defaultFunction, - "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, - "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, - "bddgrp.prb.pts.extkey" :Utils.defaultFunction, - "bddgrp.shp.pts.extkey" :Utils.defaultFunction, - "bddgrp.shp.adrelc" :Utils.defaultFunction, - "bddgrp.shp.namelc" :Utils.defaultFunction, - "bddgrp.shp.dbfadrblkcn" :Utils.defaultFunction, - "liaall.liaccv.addinf" :Utils.defaultFunction, - "bddgrp.rec.stadat" :Utils.defaultFunction, - "liaall.liaccv.totcovamt" :Utils.defaultFunction, - "sftmt" :Utils.defaultFunction, - "bdtp.cre752flg" :Utils.defaultFunction, - "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, - "liaall.liaccv.concur" :Utils.defaultFunction, - "bddgrp.rec.docflg" :Utils.defaultFunction, - "bddgrp.shp.pts.adrblk" :Utils.defaultFunction, - "didgrp.rec.ownref" :Utils.defaultFunction, - "bddgrp.rec.rtoaplflg" :Utils.defaultFunction, - "bddgrp.rec.ownref" :Utils.defaultFunction, - "bddgrp.rec.advtyp" :Utils.defaultFunction, - "liaall.limmod.comamt" :Utils.defaultFunction, - "liaall.limmod.ccvamt" :Utils.defaultFunction, - "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, - "bddgrp.rec.docprbrol" :Utils.defaultFunction, - "setmod.glemod.gleshwstm" :Utils.defaultFunction, - "bddgrp.rec.relgoddat" :Utils.defaultFunction, - "bddgrp.cbs.max.amt" :Utils.defaultFunction, - "bddgrp.rec.predat" :Utils.defaultFunction, - "bddgrp.cbs.max.cur" :Utils.defaultFunction, - "didgrp.rec.expdat" :Utils.defaultFunction, - "didgrp.cbs.opn1.amt" :Utils.defaultFunction, - "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, - "bddgrp.rec.reltyp" :Utils.defaultFunction, - "bddgrp.apl.pts.nam" :Utils.defaultFunction, - "aamset.utlamt" :Utils.defaultFunction, - "bddgrp.cbs.opn2.cur" :Utils.defaultFunction, - "aamset.utlamt2" :Utils.defaultFunction, - "bddgrp.cbs.opn1.amt" :Utils.defaultFunction, - "liaall.misamt" :Utils.defaultFunction, - "bddgrp.rec.disdat" :Utils.defaultFunction, - "bddgrp.rec.approvcod" :Utils.defaultFunction, - "liaall.liaccv.newamt" :Utils.defaultFunction, - "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, - "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, - "mtabut.coninf.conexedat" :Utils.defaultFunction, - "bddgrp.rec.payrol" :Utils.defaultFunction, - "liaall.liaccv.cshpct" :Utils.defaultFunction, - "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, - "bddgrp.prb.pts.nam" :Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.extkey": Utils.defaultFunction, + "bddgrp.blk.docdisflg": Utils.defaultFunction, + "bddgrp.blk.docdis": Utils.defaultFunction, + "setmod.doccur": Utils.defaultFunction, + "setmod.dspflg": Utils.defaultFunction, + "setmod.docamt": Utils.defaultFunction, + "bddgrp.ben.pts.nam": Utils.defaultFunction, + "mtabut.coninf.usr.extkey": Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.extkey": Utils.defaultFunction, + "bdtp.oth.pts.extkey": Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg2": Utils.defaultFunction, + "liaall.limmod.limpts.nonrevflg1": Utils.defaultFunction, + "bddgrp.prb.pts.extkey": Utils.defaultFunction, + "bddgrp.shp.pts.extkey": Utils.defaultFunction, + "bddgrp.shp.adrelc": Utils.defaultFunction, + "bddgrp.shp.namelc": Utils.defaultFunction, + "bddgrp.shp.dbfadrblkcn": Utils.defaultFunction, + "liaall.liaccv.addinf": Utils.defaultFunction, + "bddgrp.rec.stadat": Utils.defaultFunction, + "liaall.liaccv.totcovamt": Utils.defaultFunction, + "sftmt": Utils.defaultFunction, + "bdtp.cre752flg": Utils.defaultFunction, + "liaall.limmod.limpts.oth.pts.nam": Utils.defaultFunction, + "liaall.liaccv.concur": Utils.defaultFunction, + "bddgrp.rec.docflg": Utils.defaultFunction, + "bddgrp.shp.pts.adrblk": Utils.defaultFunction, + "didgrp.rec.ownref": Utils.defaultFunction, + "bddgrp.rec.rtoaplflg": Utils.defaultFunction, + "bddgrp.rec.ownref": Utils.defaultFunction, + "bddgrp.rec.advtyp": Utils.defaultFunction, + "liaall.limmod.comamt": Utils.defaultFunction, + "liaall.limmod.ccvamt": Utils.defaultFunction, + "liaall.limmod.limpts.wrk.pts.nam": Utils.defaultFunction, + "bddgrp.rec.docprbrol": Utils.defaultFunction, + "setmod.glemod.gleshwstm": Utils.defaultFunction, + "bddgrp.rec.relgoddat": Utils.defaultFunction, + "bddgrp.cbs.max.amt": Utils.defaultFunction, + "bddgrp.rec.predat": Utils.defaultFunction, + "bddgrp.cbs.max.cur": Utils.defaultFunction, + "didgrp.rec.expdat": Utils.defaultFunction, + "didgrp.cbs.opn1.amt": Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inftxt": Utils.defaultFunction, + "bddgrp.rec.reltyp": Utils.defaultFunction, + "bddgrp.apl.pts.nam": Utils.defaultFunction, + "aamset.utlamt": Utils.defaultFunction, + "bddgrp.cbs.opn2.cur": Utils.defaultFunction, + "aamset.utlamt2": Utils.defaultFunction, + "bddgrp.cbs.opn1.amt": Utils.defaultFunction, + "liaall.misamt": Utils.defaultFunction, + "bddgrp.rec.disdat": Utils.defaultFunction, + "bddgrp.rec.approvcod": Utils.defaultFunction, + "liaall.liaccv.newamt": Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inftxt": Utils.defaultFunction, + "mtabut.coninf.oitinf.oit.inflev": Utils.defaultFunction, + "mtabut.coninf.conexedat": Utils.defaultFunction, + "bddgrp.rec.payrol": Utils.defaultFunction, + "liaall.liaccv.cshpct": Utils.defaultFunction, + "mtabut.coninf.oitset.oit.inflev": Utils.defaultFunction, + "bddgrp.prb.pts.nam": Utils.defaultFunction, } //你可以添加自动default处理 diff --git a/src/model/Bdtudp/Event.js b/src/model/Bdtudp/Event.js index badc5ab..8784854 100644 --- a/src/model/Bdtudp/Event.js +++ b/src/model/Bdtudp/Event.js @@ -2,161 +2,135 @@ import Api from "~/service/Api" import Utils from "~/utils" export default { - async onAcctagButtxmsel(){ - let rtnmsg = await this.executeRule("acctag.buttxmsel") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + async onAcctagButtxmsel() { + let rtnmsg = await this.executeRule("acctag.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 onDocdisButtxmsel() { + let rtnmsg = await this.executeRule("docdis.buttxmsel") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onShppDet(){ - let rtnmsg = await this.executeRule("shpp.det") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onShppDet() { + let rtnmsg = await this.executeRule("shpp.det") + 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 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 onLiaallButmissig() { + let rtnmsg = await this.executeRule("liaall.butmissig") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onLiaccvAdd(){ - let rtnmsg = await this.executeRule("liaccv.add") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLiaccvAdd() { + let rtnmsg = await this.executeRule("liaccv.add") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onLiaccvDel(){ - let rtnmsg = await this.executeRule("liaccv.del") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onLiaccvDel() { + let rtnmsg = await this.executeRule("liaccv.del") + 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 onSetmodDet() { + let rtnmsg = await this.executeRule("setmod.det") + 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 onWrkpDet() { + let rtnmsg = await this.executeRule("wrkp.det") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onOthpDet(){ - let rtnmsg = await this.executeRule("othp.det") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, + async onOthpDet() { + let rtnmsg = await this.executeRule("othp.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 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 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: '服务请求失败!' }); + } + }, + async onLimmodTrycal() { + let rtnmsg = await this.executeRule("limmod.trycal") + if (rtnmsg.respCode == SUCCESS) { + //TODO 处理数据逻辑 - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + }, } \ No newline at end of file diff --git a/src/model/Bdtudp/Pattern.js b/src/model/Bdtudp/Pattern.js index afca0b3..a9b6dce 100644 --- a/src/model/Bdtudp/Pattern.js +++ b/src/model/Bdtudp/Pattern.js @@ -1,471 +1,471 @@ export default { - "bdtp.didget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bdtp.didget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "didgrp.rec.ownref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "didgrp.rec.ownref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bdtp.didget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "bdtp.didget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "didgrp.rec.expdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "didgrp.rec.expdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "didgrp.cbs.opn1.cur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "didgrp.cbs.opn1.cur": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "didgrp.cbs.opn1.amt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "didgrp.cbs.opn1.amt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bdtp.recget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bdtp.recget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.rec.ownref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.rec.ownref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bdtp.recget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "bdtp.recget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "bddgrp.rec.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.rec.nam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.cbs.max.amt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "bddgrp.cbs.max.amt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bddgrp.apl.pts.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.apl.pts.ref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.cbs.opn1.cur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "bddgrp.cbs.opn1.cur": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "bddgrp.cbs.opn1.amt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "bddgrp.cbs.opn1.amt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bddgrp.apl.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.apl.pts.nam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.rec.rcvdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.rcvdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.rec.stadat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.stadat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.ben.pts.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.ben.pts.ref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.rec.matdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.matdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.rec.tenmaxday":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "bddgrp.rec.tenmaxday": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "bddgrp.ben.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.ben.pts.nam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.prb.pts.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.prb.pts.ref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.prb.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.prb.pts.nam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.prb.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.prb.pts.extkey": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.rec.rcvdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.rcvdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.rec.predat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.predat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.prb.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "bddgrp.prb.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "setmod.docamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "setmod.docamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bddgrp.prb.pts.jigomc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.prb.pts.jigomc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "aamset.utlamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "aamset.utlamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bddgrp.prb.pts.dizhii":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.prb.pts.dizhii": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "aamset.utlamt2":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "aamset.utlamt2": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "bdtp.oth.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bdtp.oth.pts.extkey": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bdtp.oth.pts.bankno":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "bdtp.oth.pts.bankno": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "bddgrp.tag72add":[ - {type: "string", required: true, message: "必输项"}, - {max: 50,message:"长度不能超过50"} + "bddgrp.tag72add": [ + { type: "string", required: true, message: "必输项" }, + { max: 50, message: "长度不能超过50" } ], - "bdtp.oth.pts.jigomc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bdtp.oth.pts.jigomc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bdtp.oth.pts.dizhii":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bdtp.oth.pts.dizhii": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.blk.docdis":[ - {type: "string", required: true, message: "必输项"}, - {max: 50,message:"长度不能超过50"} + "bddgrp.blk.docdis": [ + { type: "string", required: true, message: "必输项" }, + { max: 50, message: "长度不能超过50" } ], - "bddgrp.rec.totdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.totdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.rec.disdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.disdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.blk.comcon":[ - {type: "string", required: true, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "bddgrp.blk.comcon": [ + { type: "string", required: true, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "bddgrp.blk.accrmk":[ - {type: "string", required: true, message: "必输项"}, - {max: 65,message:"长度不能超过65"} + "bddgrp.blk.accrmk": [ + { type: "string", required: true, message: "必输项" }, + { max: 65, message: "长度不能超过65" } ], - "bdtp.connum":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bdtp.connum": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.rec.relgoddat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.relgoddat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.rec.expdat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.expdat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.blk.carnam":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.blk.carnam": [ + { type: "string", required: false, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.rec.blnum":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "bddgrp.rec.blnum": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "bddgrp.rec.trpdocnum":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.rec.trpdocnum": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.rec.tradat":[ - {type: "date", required: false, message: "输入正确的日期"} + "bddgrp.rec.tradat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "bddgrp.blk.relstoadr":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.blk.relstoadr": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.blk.vesnam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.blk.vesnam": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.blk.pordis":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.blk.pordis": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bdtp.shpp.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bdtp.shpp.ptsget.sdamod.dadsnd": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bddgrp.blk.delplc":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.blk.delplc": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.shp.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "bddgrp.shp.pts.extkey": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "bdtp.shpp.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "bdtp.shpp.ptsget.sdamod.seainf": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "bddgrp.shp.namelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.shp.namelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.blk.roggod":[ - {type: "string", required: true, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.blk.roggod": [ + { type: "string", required: true, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.shp.pts.adrblk":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.shp.pts.adrblk": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.shp.dbfadrblkcn":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.shp.dbfadrblkcn": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.shp.adrelc":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.shp.adrelc": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.blk.notpty":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} + "bddgrp.blk.notpty": [ + { type: "string", required: true, message: "必输项" }, + { max: 35, message: "长度不能超过35" } ], - "bddgrp.blk.porlod":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} + "bddgrp.blk.porlod": [ + { type: "string", required: false, message: "必输项" }, + { max: 40, message: "长度不能超过40" } ], - "bddgrp.blk.voynum":[ - {type: "string", required: false, message: "必输项"}, - {max: 30,message:"长度不能超过30"} + "bddgrp.blk.voynum": [ + { type: "string", required: false, message: "必输项" }, + { max: 30, message: "长度不能超过30" } ], - "liaall.outamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "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.outpct": [ + { type: "string", required: false, message: "必输项" }, + { max: 6, message: "长度不能超过6" } ], - "liaall.concur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "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.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.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位" } + "liaall.exttotamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "liaall.liaccv.concur":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} + "liaall.liaccv.concur": [ + { type: "string", required: false, message: "必输项" }, + { max: 3, message: "长度不能超过3" } ], - "liaall.liaccv.newamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "liaall.liaccv.newamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "liaall.liaccv.cshpct":[ - {type: "string", required: false, message: "必输项"}, - {max: 5,message:"长度不能超过5"} + "liaall.liaccv.cshpct": [ + { type: "string", required: false, message: "必输项" }, + { max: 5, message: "长度不能超过5" } ], - "liaall.liaccv.newresamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "liaall.liaccv.newresamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "liaall.liaccv.relcshpct":[ - {type: "string", required: false, message: "必输项"}, - {max: 5,message:"长度不能超过5"} + "liaall.liaccv.relcshpct": [ + { type: "string", required: false, message: "必输项" }, + { max: 5, message: "长度不能超过5" } ], - "liaall.liaccv.pctresamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "liaall.liaccv.pctresamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "liaall.liaccv.totcovamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + "liaall.liaccv.totcovamt": [ + { type: "number", required: false, message: "必输项" }, + { max: 18, message: "整数位不能超过14位" }, + { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } ], - "liaall.liaccv.addinf":[ - {type: "string", required: true, message: "必输项"}, - {max: 70,message:"长度不能超过70"} + "liaall.liaccv.addinf": [ + { type: "string", required: true, message: "必输项" }, + { max: 70, message: "长度不能超过70" } ], - "setmod.ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} + "setmod.ref": [ + { type: "string", required: false, message: "必输项" }, + { max: 16, message: "长度不能超过16" } ], - "setmod.zmqacc":[ - {type: "string", required: false, message: "必输项"}, - {max: 20,message:"长度不能超过20"} + "setmod.zmqacc": [ + { type: "string", required: false, message: "必输项" }, + { max: 20, message: "长度不能超过20" } ], - "setmod.glemod.gleshwstm":[ - {type: "string", required: false, message: "必输项"}, - {max: 1,message:"长度不能超过1"} + "setmod.glemod.gleshwstm": [ + { type: "string", required: false, message: "必输项" }, + { max: 1, message: "长度不能超过1" } ], - "mtabut.coninf.oitinf.oit.inftxt":[ - {type: "string", required: true, message: "必输项"}, - {max: 60,message:"长度不能超过60"} + "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.oitset.oit.inftxt": [ + { type: "string", required: true, message: "必输项" }, + { max: 60, message: "长度不能超过60" } ], - "mtabut.coninf.conexedat":[ - {type: "date", required: false, message: "输入正确的日期"} + "mtabut.coninf.conexedat": [ + { type: "date", required: false, message: "输入正确的日期" } ], - "mtabut.coninf.usr.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 8,message:"长度不能超过8"} + "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.advnam": [ + { type: "string", required: false, message: "必输项" }, + { max: 50, message: "长度不能超过50" } ], - "trnmod.trndoc.amdapl":[ - {type: "string", required: true, 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.advdoc": [ + { type: "string", required: false, message: "必输项" }, + { max: 1, message: "长度不能超过1" } ], - "liaall.limmod.ecifno":[ - {type: "string", required: false, message: "必输项"}, - {max: 22,message:"长度不能超过22"} + "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.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.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.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.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.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.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.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.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.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.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.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.pfcod1": [ + { type: "string", required: false, message: "必输项" }, + { max: 14, message: "长度不能超过14" } ], - "liaall.limmod.limpts.pfcod2":[ - {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/views/Business/Bdtudp/Ccvpan.vue b/src/views/Business/Bdtudp/Ccvpan.vue index fe0c9e8..20f3c35 100644 --- a/src/views/Business/Bdtudp/Ccvpan.vue +++ b/src/views/Business/Bdtudp/Ccvpan.vue @@ -14,7 +14,7 @@ </c-col> <c-col :span="12"> - <el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct"> + <el-form-item label="保证金应收比例" style="marginLeft:-200px !important" prop="liaall.liaccv.cshpct"> <c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input> </el-form-item> </c-col> diff --git a/src/views/Business/Bdtudp/Payp.vue b/src/views/Business/Bdtudp/Payp.vue index df3ac47..9232cec 100644 --- a/src/views/Business/Bdtudp/Payp.vue +++ b/src/views/Business/Bdtudp/Payp.vue @@ -3,62 +3,175 @@ <c-row> <!-- <c-col :span="22" :offset="1"> --> <c-col :span="12"> - <el-form-item - label="Drag Drop Sender" - prop="bdtp.didget.sdamod.dadsnd" - > + <el-form-item label="信用证参考号" prop="didgrp.rec.ownref"> <c-input - v-model="model.bdtp.didget.sdamod.dadsnd" - placeholder="请输入Drag Drop Sender" + v-model="model.didgrp.rec.ownref" + maxlength="16" + placeholder="请输入参考号" ></c-input> </el-form-item> </c-col> <c-col :span="12"> - <el-form-item label="参考号" prop="didgrp.rec.ownref"> + <c-col :span="12"> + <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur"> + <c-select + disabled + v-model="model.didgrp.cbs.opn1.cur" + style="width: 100%" + placeholder="请选择币种" + @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="12"> + <el-form-item + label="" + style="margin-left: -230px !important" + prop="didgrp.cbs.opn1.amt" + > + <c-input + v-model="model.didgrp.cbs.opn1.amt" + style="text-align: left; width: 100%" + placeholder="请输入信用证余额" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="12"> + <el-form-item label="单据参考号" prop="bddgrp.rec.ownref"> <c-input - v-model="model.didgrp.rec.ownref" + v-model="model.bddgrp.rec.ownref" maxlength="16" - placeholder="请输入参考号" + placeholder="请输入单据参考号" ></c-input> </el-form-item> </c-col> <c-col :span="12"> - <el-form-item label="到期地点" prop="bdtp.didget.sdamod.seainf"> + <el-form-item label="摘要" prop="bddgrp.rec.nam"> <c-input - v-model="model.bdtp.didget.sdamod.seainf" - placeholder="请输入到期地点" + v-model="model.bddgrp.rec.nam" + maxlength="40" + placeholder="请输入摘要" ></c-input> </el-form-item> </c-col> + </c-row> + <c-row> <c-col :span="12"> - <el-form-item label="到期日" prop="didgrp.rec.expdat"> - <c-date-picker - type="date" - v-model="model.didgrp.rec.expdat" - style="width: 100%" - placeholder="请选择到期日" - ></c-date-picker> - </el-form-item> + <c-row> + <c-col :span="24"> + <el-form-item label="单据到期日" prop="bddgrp.rec.matdat"> + <c-date-picker + type="date" + v-model="model.bddgrp.rec.matdat" + style="width: 100%" + placeholder="请选择单据到期日" + ></c-date-picker> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item label="到期日" prop="didgrp.rec.expdat"> + <c-date-picker + type="date" + v-model="model.didgrp.rec.expdat" + style="width: 100%" + placeholder="请选择到期日" + ></c-date-picker> + </el-form-item> + </c-col> + </c-row> + </c-col> + + <c-col :span="12"> + <m-ptsmsg + :model="model" + :argadr="{ title: '申请人', url: 'bddgrp.apl.pts' }" + ></m-ptsmsg> </c-col> + </c-row> + <c-row> <c-col :span="12"> - <el-form-item label="单据余额" prop="didgrp.cbs.opn1.cur"> + <c-col :span="12"> + <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur"> + <c-select + v-model="model.bddgrp.cbs.max.cur" + style="width: 100%" + placeholder="请选择单据币种" + > + </c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="" + style="margin-left: -230px !important" + prop="bddgrp.cbs.max.amt" + > + <c-input + v-model="model.bddgrp.cbs.max.amt" + placeholder="请输入单据金额" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="12"> + <c-col :span="12"> + <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur"> + <c-select + v-model="model.bddgrp.cbs.opn1.cur" + maxlength="3" + placeholder="请选择单据余额" + ></c-select> + </el-form-item> + </c-col> + + <c-col :span="12"> + <el-form-item + label="" + style="margin-left: -230px !important" + prop="bddgrp.cbs.opn1.amt" + > + <c-input + v-model="model.bddgrp.cbs.opn1.amt" + placeholder="请输入单据余额" + ></c-input> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="12"> + <el-form-item + label="Drag Drop Sender" + prop="bdtp.didget.sdamod.dadsnd" + > <c-input - v-model="model.didgrp.cbs.opn1.cur" - maxlength="3" - placeholder="请输入单据余额" + v-model="model.bdtp.didget.sdamod.dadsnd" + placeholder="请输入Drag Drop Sender" ></c-input> </el-form-item> </c-col> <c-col :span="12"> - <el-form-item label="Balance" prop="didgrp.cbs.opn1.amt"> + <el-form-item label="到期地点" prop="bdtp.didget.sdamod.seainf"> <c-input - v-model="model.didgrp.cbs.opn1.amt" - placeholder="请输入Balance" + v-model="model.bdtp.didget.sdamod.seainf" + placeholder="请输入到期地点" ></c-input> </el-form-item> </c-col> @@ -76,16 +189,6 @@ </c-col> <c-col :span="12"> - <el-form-item label="单据参考号" prop="bddgrp.rec.ownref"> - <c-input - v-model="model.bddgrp.rec.ownref" - maxlength="16" - placeholder="请输入单据参考号" - ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> <el-form-item label="" prop="bdtp.recget.sdamod.seainf"> <c-input v-model="model.bdtp.recget.sdamod.seainf" @@ -94,38 +197,7 @@ </el-form-item> </c-col> - <c-col :span="12"> - <el-form-item label="Name of Bill Contract" prop="bddgrp.rec.nam"> - <c-input - v-model="model.bddgrp.rec.nam" - maxlength="40" - placeholder="请输入Name of Bill Contract" - ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur"> - <c-select - v-model="model.bddgrp.cbs.max.cur" - style="width: 100%" - placeholder="请选择单据金额" - > - </c-select> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Balance" prop="bddgrp.cbs.max.amt"> - <c-input - v-model="model.bddgrp.cbs.max.amt" - placeholder="请输入Balance" - ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="申请人" prop="bddgrp.apl.pts.ref"> + <!-- <el-form-item label="申请人" prop="bddgrp.apl.pts.ref"> <c-input v-model="model.bddgrp.apl.pts.ref" maxlength="16" @@ -135,33 +207,14 @@ </c-col> <c-col :span="12"> - <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur"> - <c-input - v-model="model.bddgrp.cbs.opn1.cur" - maxlength="3" - placeholder="请输入单据余额" - ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Balance" prop="bddgrp.cbs.opn1.amt"> - <c-input - v-model="model.bddgrp.cbs.opn1.amt" - placeholder="请输入Balance" - ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> <el-form-item label="Name of Party" prop="bddgrp.apl.pts.nam"> <c-input v-model="model.bddgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party" ></c-input> - </el-form-item> - </c-col> + </el-form-item> --> + <!-- </c-col> --> <c-col :span="12"> <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat"> @@ -204,17 +257,6 @@ </c-col> <c-col :span="12"> - <el-form-item label="Maturity Date" prop="bddgrp.rec.matdat"> - <c-date-picker - type="date" - v-model="model.bddgrp.rec.matdat" - style="width: 100%" - placeholder="请选择Maturity Date" - ></c-date-picker> - </el-form-item> - </c-col> - - <c-col :span="12"> <el-form-item label="单据到期日" prop="bddgrp.rec.tenmaxday"> <c-input v-model="model.bddgrp.rec.tenmaxday" @@ -515,15 +557,29 @@ import Api from "~/service/Api"; import CommonProcess from "~/mixin/CommonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "~/model/Bdtudp/Event"; +import Col from "../../../components/Col.vue"; +import Ptsmsg from "~/views/Public/Ptsmsg"; export default { + components: { + "m-ptsmsg": Ptsmsg, + }, inject: ["root"], props: ["model", "codes"], mixins: [CommonProcess], data() { return {}; }, - methods: { ...Event }, + methods: { + ...Event, + nom1CurEvent() { + this.executeDefault("didgrp.cbs.opn1.cur").then((res) => { + if ((res.respCode = SUCCESS)) { + Utils.copyValueFromVO(this.model, res.data); + } + }); + }, + }, created: function () {}, }; </script> diff --git a/src/views/Business/Bdtudp/index.vue b/src/views/Business/Bdtudp/index.vue index 6eec6f2..cf0bf39 100644 --- a/src/views/Business/Bdtudp/index.vue +++ b/src/views/Business/Bdtudp/index.vue @@ -62,7 +62,9 @@ </template> <script> import Api from "~/service/Api"; +import Utils from "~/utils/index"; import CodeTable from "~/config/CodeTable"; +import Default from "~/model/Ditopn/Default"; import Bdtudp from "~/model/Bdtudp"; import CommonProcess from "~/mixin/CommonProcess"; import Pattern from "~/model/Bdtudp/Pattern"; @@ -104,8 +106,7 @@ export default { return { initPane: "payp", model: new Bdtudp().data, - // defaultRule:Default, - // rules:this.mergeRules(Pattern,Check), + defaultRule: Default, rules: Pattern, codes: {}, }; @@ -117,8 +118,11 @@ export default { console.log("进入bdtudp交易"); let rtnmsg = await Api.post("bdtudp/init", { params: {} }); if (rtnmsg.respCode == SUCCESS) { - this.model.xxx = rtnmsg.data.bddgrp_bddlst; - //TODO 处理数据逻辑 + //更新数据 + Utils.copyValueFromVO(this.model, rtnmsg.data); + if (this.isInDisplay) { + this.restoreDisplay(); + } } else { this.$notify.error({ title: "错误", message: "服务请求失败!" }); } diff --git a/src/views/Public/Ptsmsg.vue b/src/views/Public/Ptsmsg.vue new file mode 100644 index 0000000..4c4caa4 --- /dev/null +++ b/src/views/Public/Ptsmsg.vue @@ -0,0 +1,44 @@ +<template> + <div class="eibs-tab"> + <c-col :span="24"> + <el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'"> + <c-input + v-model="model[argadr.url + 'ref']" + maxlength="16" + :placeholder="'请输入' + argadr.title + '编号'" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="24"> + <el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'"> + <c-input + v-model="model[argadr.url + 'nam']" + maxlength="40" + :placeholder="'请输入' + argadr.title + '名称'" + ></c-input> + </el-form-item> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api"; +import CommonProcess from "~/mixin/CommonProcess"; +import CodeTable from "~/config/CodeTable"; + +export default { + inject: ["root"], + mixins: [CommonProcess], + props: ["model", "codes", "argadr"], + data() { + return { + data: [], + }; + }, + watch: {}, + methods: { ...Event }, + created: function () {}, +}; +</script> +<style> +</style>