From cd329ae0d4a3f4643ccbcca701266cecf78283a8 Mon Sep 17 00:00:00 2001 From: taojinrui <1690517744@qq.com> Date: Mon, 5 Sep 2022 17:59:04 +0800 Subject: [PATCH] 汇款交易修改 --- src/model/Cptati/Check.js | 34 ++++++++++++++++++++++++++++++++++ src/model/Cptati/Default.js | 13 +++++++++++++ src/model/Cptati/Event.js | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Cptati/Pattern.js | 174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Cptati/index.js | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/model/Cptrep/Pattern.js | 12 ++++++------ src/views/Business/Cptati/Pardet.vue | 10 +++++----- src/views/Business/Cptato/Pardet.vue | 12 ++++++------ src/views/Business/Cptrel/Inftrnps.vue | 4 ++-- src/views/Business/Cptrep/Cnyp.vue | 8 ++------ src/views/Business/Cptrep/Opnp1.vue | 29 ++++++++++++++++------------- src/views/Business/Cptrep/Secpan.vue | 14 +++++++++----- src/views/Business/Cptrep/Wg.vue | 4 +++- src/views/Business/Cptrep/index.vue | 18 +++++++++++++++++- src/views/Layout/SideMenu.vue | 14 +++++++------- 15 files changed, 572 insertions(+), 52 deletions(-) diff --git a/src/model/Cptati/Check.js b/src/model/Cptati/Check.js index 694161c..cb633a9 100644 --- a/src/model/Cptati/Check.js +++ b/src/model/Cptati/Check.js @@ -16,57 +16,89 @@ let checkObj = { "cpdgrp.orc.pts.extkey" :null, "attp.orcadr" :null, "cpdgrp.pye.namelc" :null, + "bopmod.dbdgrp.bas.fcyacc" :null, "attp.pyeadr" :null, "attp.swftyp" :null, + "bopmod.dbdgrp.bas.buscode" :null, "attp.pyenam" :null, + "bopmod.dbdgrp.bas.inchargeamt" :null, + "bopmod.dbdgrp.bas.idcode" :null, + "bopmod.dbagrp.dcl.txcode" :null, "attp.bustyp" :null, + "bopmod.dbdgrp.bas.custnm" :null, "setmod.dspflg" :null, + "bopmod.dbdgrp.bas.txamt" :null, "cpdgrp.orc.adrelc" :null, + "bopmod.dbagrp.dcl.txcode2" :null, "trnmod.trndoc.doccur.tag79z" :null, "cpdgrp.pye.pts.extkey" :null, + "bopmod.dbagrp.dcl.isref" :null, "attp.orcnam" :null, "cpdgrp.med.pts.adrblk" :null, "cpdgrp.pye.pts.adrblk" :null, "cpdgrp.rec.trntyp" :null, "cpdgrp.ori.namelc" :null, + "bopmod.dbdgrp.bas.fcyamt" :null, "trnmod.trndoc.doccur.rcv.namelc" :null, "trnmod.trndoc.doccur.adrdtecid" :null, + "bopmod.dbagrp.dcl.inptelc" :null, "trnmod.trndoc.doccur.rcv.pts.extkey" :null, "trnmod.trndoc.doccur.rcv.pts.jigomc" :null, "cpdgrp.pye.adrelc" :null, + "bopmod.dbdgrp.bas.methods" :null, "cpdgrp.rec.valdat" :null, + "bopmod.dbdgrp.bas.exrate" :null, "attp.country" :null, "lendoc.account" :null, "trnmod.trndoc.doccur.apf" :null, "cpdgrp.rmt.pts.adrblk" :null, "cpdgrp.pyb.pts.extkey" :null, "trnmod.trndoc.doccur.cortyp" :null, + "bopmod.dbdgrp.bas.oppuser" :null, "attp.payuil" :null, "cpdgrp.rec.paytype" :null, "cpdgrp.med.namelc" :null, "cpdgrp.pyb.namelc" :null, + "bopmod.dbdgrp.bas.othamt" :null, + "bopmod.dbdgrp.bas.custype" :null, "trnmod.trndoc.doccur.rcv.pts.dizhii" :null, "trnmod.trndoc.doccur.addstr" :null, "trnmod.trndoc.doccur.adrrid" :null, + "bopmod.dbagrp.dcl.country" :null, + "bopmod.dbagrp.dcl.tx2rem" :null, + "bopmod.dbdgrp.bas.rptno" :null, "cpdgrp.orc.pts.adrblk" :null, + "bopmod.dbagrp.dcl.tc1amt" :null, "trnmod.trndoc.doccur.addtxt" :null, "attp.resbch" :null, + "bopmod.dbagrp.dcl.paytype" :null, "cpdgrp.rmt.adrelc" :null, "bopmod.szflg" :null, + "bopmod.dbdgrp.bas.actiontype" :null, "trnmod.trndoc.doccur.adrbic" :null, + "bopmod.dbagrp.dcl.rptdate" :null, "cpdgrp.orc.namelc" :null, + "bopmod.dbdgrp.bas.lcyamt" :null, "cpdgrp.med.pts.extkey" :null, "trnmod.trndoc.doccur.adrdtacid" :null, + "bopmod.dbagrp.dcl.tc2amt" :null, "cpdgrp.ori.adrelc" :null, + "bopmod.dbdgrp.bas.othacc" :null, "cpdgrp.cbs.nom1.amt" :null, "trnmod.trndoc.doccur.rcv.adrelc" :null, "cpdgrp.ori.pts.extkey" :null, + "bopmod.dbdgrp.bas.inchargeccy" :null, "cpdgrp.cbs.max.amt" :null, "trnmod.trndoc.doccur.roladr" :null, "trnmod.trndoc.doccur.rcv.pts.adrblk" :null, "cpdgrp.rec.pyeact" :null, + "bopmod.dbdgrp.bas.txccy" :null, + "bopmod.dbagrp.dcl.txrem" :null, + "bopmod.dbdgrp.bas.custcod" :null, "bopmod.basflg" :null, + "bopmod.dbdgrp.bas.lcyacc" :null, "mtabut.coninf.conexedat" :null, + "bopmod.dbagrp.dcl.crtuser" :null, "trnmod.trndoc.doccur.adrref" :null, "cpdgrp.cbs.max.cur" :null, "trnmod.trndoc.doccur.adrtid" :null, @@ -79,6 +111,8 @@ let checkObj = { "trnmod.trndoc.doccur.adreml" :null, "bopmod.acttyp" :null, "attp.sndbchnam" :null, + "bopmod.dbagrp.dcl.actiontype" :null, + "bopmod.dbdgrp.bas.actiondesc" :null, } for (const key in checkObj) { diff --git a/src/model/Cptati/Default.js b/src/model/Cptati/Default.js index cff0927..206afe4 100644 --- a/src/model/Cptati/Default.js +++ b/src/model/Cptati/Default.js @@ -12,6 +12,7 @@ export default { "cpdgrp.orc.pts.adrblk" :Utils.defaultFunction, "cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction, "attp.payuil" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction, "trnmod.trndoc.doccur.roladr" :Utils.defaultFunction, "cpdgrp.pye.pts.adrblk" :Utils.defaultFunction, "cpdgrp.pyb.pts.adrblk" :Utils.defaultFunction, @@ -50,8 +51,12 @@ export default { "cpdgrp.ori.adrelc" :Utils.defaultFunction, "cpdgrp.ori.namelc" :Utils.defaultFunction, "cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction, "bopmod.vrfflg" :Utils.defaultFunction, "bopmod.dclflg" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.custype" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.actiontype" :Utils.defaultFunction, "cpdgrp.rec.othbch" :Utils.defaultFunction, "cpdgrp.ori.pts.adrblk" :Utils.defaultFunction, "cpdgrp.orc.pts.extkey" :Utils.defaultFunction, @@ -61,26 +66,34 @@ export default { "attp.feetyp" :Utils.defaultFunction, "cpdgrp.orc.adrelc" :Utils.defaultFunction, "cpdgrp.orc.namelc" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.paytype" :Utils.defaultFunction, "cpdgrp.pye.adrelc" :Utils.defaultFunction, "cpdgrp.pye.namelc" :Utils.defaultFunction, "cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction, "trnmod.trndoc.doccur.adrbicaut" :Utils.defaultFunction, "trnmod.trndoc.doccur.rcv.pts.bankno" :Utils.defaultFunction, "trnmod.trndoc.doccur.rcv.pts.adrblk" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.crtuser" :Utils.defaultFunction, "cpdgrp.med.pts.adrblk" :Utils.defaultFunction, "cpdgrp.cbs.nom1.amt" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.inptelc" :Utils.defaultFunction, "attp.com102" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.rptdate" :Utils.defaultFunction, + "bopmod.dbap.dclpp.acp" :Utils.defaultFunction, "attp.xnggbh" :Utils.defaultFunction, "attp.country" :Utils.defaultFunction, "attp.swftyp" :Utils.defaultFunction, "cpdgrp.rec.trntyp" :Utils.defaultFunction, "attp.sndbchnam" :Utils.defaultFunction, "trnmod.trndoc.doccur.adrbic" :Utils.defaultFunction, + "bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction, "trnmod.trndoc.doccur.apf" :Utils.defaultFunction, "lendoc.actflg" :Utils.defaultFunction, + "bopmod.dbagrp.dcl.country" :Utils.defaultFunction, "attp.resbchnam" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, diff --git a/src/model/Cptati/Event.js b/src/model/Cptati/Event.js index 9ec4a0b..7e47dd6 100644 --- a/src/model/Cptati/Event.js +++ b/src/model/Cptati/Event.js @@ -314,5 +314,209 @@ export default { 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 onCan(){ + let rtnmsg = await this.executeRule("can") + 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 onChk(){ + let rtnmsg = await this.executeRule("chk") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCodsel1Selbut1(){ + let rtnmsg = await this.executeRule("codsel1.selbut1") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onButpErr(){ + let rtnmsg = await this.executeRule("butp.err") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCodsel1Selbut(){ + let rtnmsg = await this.executeRule("codsel1.selbut") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onCodsel2Selbut(){ + let rtnmsg = await this.executeRule("codsel2.selbut") + 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: '服务请求失败!'}); + } + }, + async onSav(){ + let rtnmsg = await this.executeRule("sav") + 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: '服务请求失败!'}); + } + }, + async onBasppGetreftmp(){ + let rtnmsg = await this.executeRule("baspp.getreftmp") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onBasppGetref(){ + let rtnmsg = await this.executeRule("baspp.getref") + 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 onChk(){ + let rtnmsg = await this.executeRule("chk") + if(rtnmsg.respCode == SUCCESS) + { + //TODO 处理数据逻辑 + + } + else + { + this.$notify.error({title: '错误',message: '服务请求失败!'}); + } + }, + async onButpErr(){ + let rtnmsg = await this.executeRule("butp.err") + 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/Cptati/Pattern.js b/src/model/Cptati/Pattern.js index 73b516c..a62a140 100644 --- a/src/model/Cptati/Pattern.js +++ b/src/model/Cptati/Pattern.js @@ -589,5 +589,179 @@ export default { "bopmod.outchargeamt":[ + {type: "number", required: false, message: "必输项"} + ], + "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"} + ], + "bopmod.dbagrp.dcl.tmpref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + "bopmod.dbagrp.dcl.rptno":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + + + + + "bopmod.dbagrp.dcl.actiontype":[ + {type: "string", required: false, message: "必输项"}, + {max: 1,message:"长度不能超过1"} + ], + "bopmod.dbagrp.dcl.actiondesc":[ + {type: "string", required: true, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + "bopmod.dbagrp.dcl.ownextkey":[ + {type: "string", required: false, message: "必输项"}, + {max: 8,message:"长度不能超过8"} + ], + "bopmod.dbagrp.dcl.rptdate":[ + {type: "date", required: false, message: "输入正确的日期"} + ], + + + "bopmod.dbagrp.dcl.country":[ + {type: "string", required: false, message: "必输项"}, + {max: 3,message:"长度不能超过3"} + ], + + + + + + + "bopmod.dbagrp.dcl.txcode":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + + "bopmod.dbagrp.dcl.tc1amt":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + "bopmod.dbagrp.dcl.txrem":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + "bopmod.dbagrp.dcl.tc2amt":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + "bopmod.dbagrp.dcl.txcode2":[ + {type: "string", required: false, message: "必输项"}, + {max: 6,message:"长度不能超过6"} + ], + + "bopmod.dbagrp.dcl.tx2rem":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + "bopmod.dbagrp.dcl.crtuser":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + + "bopmod.dbagrp.dcl.inptelc":[ + {type: "string", required: false, message: "必输项"}, + {max: 20,message:"长度不能超过20"} + ], + "bopmod.dbagrp.dcl.billno":[ + {type: "string", required: false, message: "必输项"}, + {max: 50,message:"长度不能超过50"} + ], + + + + + "bopmod.dbdgrp.bas.rptno":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + "bopmod.dbdgrp.bas.tmpref":[ + {type: "string", required: false, message: "必输项"}, + {max: 16,message:"长度不能超过16"} + ], + + + + + + "bopmod.dbdgrp.bas.actiondesc":[ + {type: "string", required: true, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + + + "bopmod.dbdgrp.bas.buscode":[ + {type: "string", required: false, message: "必输项"}, + {max: 22,message:"长度不能超过22"} + ], + + "bopmod.dbdgrp.bas.custcod":[ + {type: "string", required: false, message: "必输项"}, + {max: 18,message:"长度不能超过18"} + ], + + + "bopmod.dbdgrp.bas.custnm":[ + {type: "string", required: true, message: "必输项"}, + {max: 63,message:"长度不能超过63"} + ], + + + "bopmod.dbdgrp.bas.oppuser":[ + {type: "string", required: true, message: "必输项"}, + {max: 63,message:"长度不能超过63"} + ], + + + "bopmod.dbdgrp.bas.idcode":[ + {type: "string", required: false, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + + "bopmod.dbdgrp.bas.exrate":[ + {type: "string", required: false, message: "必输项"}, + {max: 13,message:"长度不能超过13"} + ], + + "bopmod.dbdgrp.bas.lcyamt":[ + {type: "number", required: false, message: "必输项"} ], + "bopmod.dbdgrp.bas.lcyacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + "bopmod.dbdgrp.bas.fcyamt":[ + {type: "number", required: false, message: "必输项"} ], + "bopmod.dbdgrp.bas.fcyacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + "bopmod.dbdgrp.bas.othamt":[ {type: "number", required: false, message: "必输项"} ], + "bopmod.dbdgrp.bas.othacc":[ + {type: "string", required: false, message: "必输项"}, + {max: 32,message:"长度不能超过32"} + ], + + "bopmod.dbdgrp.bas.txamt":[ + {type: "number", required: false, message: "必输项"} ], + + "bopmod.dbdgrp.bas.inchargeamt":[ + {type: "number", required: false, message: "必输项"} ], + } \ No newline at end of file diff --git a/src/model/Cptati/index.js b/src/model/Cptati/index.js index 7b2e841..074a09b 100644 --- a/src/model/Cptati/index.js +++ b/src/model/Cptati/index.js @@ -5,6 +5,9 @@ import Pub from "../Public" export default class Cptati{ constructor () { this.data = { + fmtpayl1blk:"", + setsuml3blk:"", + lendoc_setsuml3blk:"", attp:{ shktyp:"", // static text 收汇款对象 .attp.shktyp opndatlab:"", // 日期标签 .attp.opndatlab @@ -280,6 +283,77 @@ export default class Cptati{ outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt acttyp:"", // 款项来源 .bopmod.acttyp + dbap:{ + dclpp:{ + paytype1:"", // 收款性�'� .bopmod.dbap.dclpp.paytype1 + country1:"", // 收/付款人常驻国家/地区编码 .bopmod.dbap.dclpp.country1 + isref1:"", // 是否出口核销项下收汇 .bopmod.dbap.dclpp.isref1 + crtuser1:"", // 申报填报人 .bopmod.dbap.dclpp.crtuser1 + inptelc1:"", // 申报填报人电话 .bopmod.dbap.dclpp.inptelc1 + acp:"", // 确认 .bopmod.dbap.dclpp.acp + }, + }, + dbagrp:{ + dcl:{ + tmpref:"", // 临时申报编号 .bopmod.dbagrp.dcl.tmpref + ownextkey:"", // 地区机构号 .bopmod.dbagrp.dcl.ownextkey + actiontype:"", // 操作类型 .bopmod.dbagrp.dcl.actiontype + actiondesc:"", // 修改/删除原因 .bopmod.dbagrp.dcl.actiondesc + rptno:"", // 申报号码 .bopmod.dbagrp.dcl.rptno + paytype:"", // 收款性�'� .bopmod.dbagrp.dcl.paytype + tc1amt:"", // 相应金额1 .bopmod.dbagrp.dcl.tc1amt + tc2amt:"", // 相应金额2 .bopmod.dbagrp.dcl.tc2amt + tx2rem:"", // 交易附言2 .bopmod.dbagrp.dcl.tx2rem + isref:"", // 是否出口核销项下收汇 .bopmod.dbagrp.dcl.isref + crtuser:"", // 填报人 .bopmod.dbagrp.dcl.crtuser + inptelc:"", // 填报人电话 .bopmod.dbagrp.dcl.inptelc + rptdate:"", // 申报日期 .bopmod.dbagrp.dcl.rptdate + txrem:"", // 交易附言1 .bopmod.dbagrp.dcl.txrem + txcode:"", // 交易编码1 .bopmod.dbagrp.dcl.txcode + txcode2:"", // 交易编码2 .bopmod.dbagrp.dcl.txcode2 + country:"", // 付款人常驻国家/地区编码 .bopmod.dbagrp.dcl.country + billno:"", // 外债编号 .bopmod.dbagrp.dcl.billno + }, + }, + dbdp:{ + baspp:{ + cusnam:"", // .bopmod.dbdp.baspp.cusnam + cornam:"", // .bopmod.dbdp.baspp.cornam + corpnam:"", // .bopmod.dbdp.baspp.corpnam + roptnam:"", // RoptNam .bopmod.dbdp.baspp.roptnam + exratelab:"", // �'�汇/结汇汇率 .bopmod.dbdp.baspp.exratelab + lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbdp.baspp.lcyamtlab + acp:"", // 确认 .bopmod.dbdp.baspp.acp + tmprefnew:"", // TMPREFLABEL .bopmod.dbdp.baspp.tmprefnew + }, + }, + dbdgrp:{ + bas:{ + tmpref:"", // �'时申报流�'号 .bopmod.dbdgrp.bas.tmpref + ownextkey:"", // 地区机构号 .bopmod.dbdgrp.bas.ownextkey + actiontype:"", // 操作类型 .bopmod.dbdgrp.bas.actiontype + rptno:"", // 申报号码 .bopmod.dbdgrp.bas.rptno + idcode:"", // 身份证件号码 .bopmod.dbdgrp.bas.idcode + lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbdgrp.bas.lcyacc + fcyamt:"", // 现汇金额 .bopmod.dbdgrp.bas.fcyamt + fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbdgrp.bas.fcyacc + othamt:"", // 其它金额 .bopmod.dbdgrp.bas.othamt + othacc:"", // 其它帐号/银行卡号 .bopmod.dbdgrp.bas.othacc + methods:"", // 结算方式 .bopmod.dbdgrp.bas.methods + buscode:"", // 银行业务编号 .bopmod.dbdgrp.bas.buscode + custype:"", // 类型 .bopmod.dbdgrp.bas.custype + actiondesc:"", // 操作类型 .bopmod.dbdgrp.bas.actiondesc + exrate:"", // 结汇汇率 .bopmod.dbdgrp.bas.exrate + lcyamt:"", // 结汇金额 .bopmod.dbdgrp.bas.lcyamt + custnm:"", // 收款人名称 .bopmod.dbdgrp.bas.custnm + oppuser:"", // 付款人名称 .bopmod.dbdgrp.bas.oppuser + custcod:"", // 组织机构 .bopmod.dbdgrp.bas.custcod + inchargeccy:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy + inchargeamt:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt + txccy:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy + txamt:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt + }, + }, }, pageId: "" // ctx的key diff --git a/src/model/Cptrep/Pattern.js b/src/model/Cptrep/Pattern.js index 57c4633..894b3ef 100644 --- a/src/model/Cptrep/Pattern.js +++ b/src/model/Cptrep/Pattern.js @@ -198,7 +198,7 @@ export default { "cpdgrp.blk.contag70":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 35,message:"长度不能超过35"} ], "cpdgrp.ori.adrelc":[ @@ -530,7 +530,7 @@ export default { {max: 16,message:"长度不能超过16"} ], "trnmod.hvpmod.skrmc2":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.fkrmc2":[ @@ -546,7 +546,7 @@ export default { {max: 10,message:"长度不能超过10"} ], "trnmod.hvpmod.skrdz2":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.fkrdz2":[ @@ -554,7 +554,7 @@ export default { {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.skrdz3":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.fkrdz3":[ @@ -562,7 +562,7 @@ export default { {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.skrdz4":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.fkrdz4":[ @@ -570,7 +570,7 @@ export default { {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.skrdz5":[ - {type: "string", required: true, message: "必输项"}, + {type: "string", required: false, message: "必输项"}, {max: 30,message:"长度不能超过30"} ], "trnmod.hvpmod.fkrdz5":[ diff --git a/src/views/Business/Cptati/Pardet.vue b/src/views/Business/Cptati/Pardet.vue index d231881..ce974af 100644 --- a/src/views/Business/Cptati/Pardet.vue +++ b/src/views/Business/Cptati/Pardet.vue @@ -80,14 +80,14 @@ label="Intermediary/Account(Tag56a)" prop="cpdgrp.med.pts.extkey" > + <!-- :disabled="flag1" --> <c-input v-model="model.cpdgrp.med.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" - :disabled="flag1" @keyup.enter.native=" showGridPromptDialog('cpdgrp.med.pts.extkey') - " + " ></c-input> </el-form-item> <template slot="footer"> @@ -137,7 +137,7 @@ :disabled="flag1" @keyup.enter.native=" showGridPromptDialog('cpdgrp.rmt.pts.extkey') - " + " ></c-input> </el-form-item> <template slot="footer"> @@ -209,8 +209,8 @@ placeholder="请输入External Key of Address" :disabled="flag" @keyup.enter.native=" - showGridPromptDialog('cpdgrp.pyd.pts.extkey') - " + showGridPromptDialog('cpdgrp.pyb.pts.extkey') + " ></c-input> </el-form-item> <template slot="footer"> diff --git a/src/views/Business/Cptato/Pardet.vue b/src/views/Business/Cptato/Pardet.vue index ff9e90e..e051b51 100644 --- a/src/views/Business/Cptato/Pardet.vue +++ b/src/views/Business/Cptato/Pardet.vue @@ -77,7 +77,7 @@ v-model="model.cpdgrp.med.pts.extkey" maxlength="216" placeholder="请输入External Key of Address" - :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''" + :disabled="model.attp.swftyp=='100'" @keyup.enter.native=" showGridPromptDialog('cpdgrp.med.pts.extkey') " @@ -91,7 +91,7 @@ ><span style="font-family: '宋体'; font-weight: bold">i</span> </c-button> - <c-button style="margin: 0 0" size="small" type="primary" :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''"> + <c-button style="margin: 0 0" size="small" type="primary" :disabled="model.attp.swftyp=='100'"> 详情 </c-button> </template> @@ -107,7 +107,7 @@ show-word-limit placeholder="请输入Address Block" rows="4" - :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''" + :disabled="model.attp.swftyp=='100'" ></c-input> </el-form-item> </c-col> @@ -122,7 +122,7 @@ v-model="model.cpdgrp.rmt.pts.extkey" maxlength="216" placeholder="请输入External Key of Address" - :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''" + :disabled="model.attp.swftyp=='100'" @keyup.enter.native=" showGridPromptDialog('cpdgrp.rmt.pts.extkey') " @@ -135,7 +135,7 @@ type="primary" ><span style="font-family: '宋体'; font-weight: bold">i</span> </c-button> - <c-button style="margin: 0 0" size="small" type="primary" :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''"> + <c-button style="margin: 0 0" size="small" type="primary" :disabled="model.attp.swftyp=='100'"> 详情 </c-button> </template> @@ -151,7 +151,7 @@ show-word-limit placeholder="请输入Address Block" rows="4" - :disabled="model.attp.swftyp=='100'||model.attp.swftyp==''" + :disabled="model.attp.swftyp=='100'" ></c-input> </el-form-item> </c-col> diff --git a/src/views/Business/Cptrel/Inftrnps.vue b/src/views/Business/Cptrel/Inftrnps.vue index 8459070..0a265a4 100644 --- a/src/views/Business/Cptrel/Inftrnps.vue +++ b/src/views/Business/Cptrel/Inftrnps.vue @@ -107,7 +107,7 @@ v-model="model.trncorco.relflg" style="width: 100%" placeholder="请选择Status" - :code="codes.relflg" + :code="relflg" > </c-select> </el-form-item> @@ -637,7 +637,7 @@ export default { {label:"贸易",value:"0"}, {label:"非贸易",value:"1"}, {label:"资本",value:"2"}, - {label:"非资本",value:"3"}, + {label:"其他",value:"3"}, ], }; }, diff --git a/src/views/Business/Cptrep/Cnyp.vue b/src/views/Business/Cptrep/Cnyp.vue index 56c8d6a..11e0ca5 100644 --- a/src/views/Business/Cptrep/Cnyp.vue +++ b/src/views/Business/Cptrep/Cnyp.vue @@ -1,11 +1,7 @@ <template> <div class="eibs-tab"> - <c-col :span="24" style="height: 24px; margin-top: 20px"> - <el-form-item label="跨境人民币申报" class="messageLabel"></el-form-item> - </c-col> - <c-col :span="24" style="height: 0px"> - <el-divider></el-divider> - </c-col> + + <c-col :span="12" style="margin-top: 20px"> <c-col :span="24"> diff --git a/src/views/Business/Cptrep/Opnp1.vue b/src/views/Business/Cptrep/Opnp1.vue index 537453d..c329a1d 100644 --- a/src/views/Business/Cptrep/Opnp1.vue +++ b/src/views/Business/Cptrep/Opnp1.vue @@ -2,10 +2,10 @@ <div class="eibs-tab"> <!-- -----------上------------- --> <c-col :span="24"> - <c-col :span="12"> + <c-col :span="11"> <el-form-item label="业务编号" prop="cpdgrp.rec.ownref"> <c-fullbox> - <c-input v-model="model.cpdgrp.rec.ownref"></c-input> + <c-input v-model="model.cpdgrp.rec.ownref" disabled></c-input> <template slot="footer"> <c-button type="primary" ><span style="font-family: '宋体'; font-weight: bold" @@ -18,7 +18,7 @@ </el-form-item> </c-col> - <c-col :span="12"> + <c-col :span="11" :offset="1"> <el-form-item label="Name" prop="cpdgrp.rec.nam"> <c-input v-model="model.cpdgrp.rec.nam" @@ -50,6 +50,7 @@ v-model="model.cpdgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择汇款金额" + disabled > <el-option v-for="item in codes.curtxt1" @@ -98,7 +99,7 @@ <c-col :span="12"> <el-form-item label="汇款语种" prop="cptp.payuil"> - <c-input v-model="model.cptp.payuil"></c-input> + <c-input v-model="model.cptp.payuil" disabled></c-input> </el-form-item> </c-col> </c-col> @@ -123,7 +124,7 @@ </c-col> <!-- 第六行 --> <c-col :span="24"> - <el-form-item label="货物类型" prop="cpdgrp.rec.stagod"> + <el-form-item label="货物类型" prop="cpdgrp.rec.stagod" style="width:100%"> <c-select v-model="model.cpdgrp.rec.stagod"> <el-option v-for="item in stagod" @@ -135,6 +136,7 @@ </el-form-item> </c-col> </c-col> + <c-col :span="11" :offset="1"> <!-- 第二行 --> <c-col :span="24"> @@ -295,7 +297,7 @@ placeholder="请选择汇款金额" > <el-option - v-for="item in codes.feecur" + v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value" @@ -451,7 +453,7 @@ >i</span ></c-button > - <c-button>Details</c-button> + <c-button type="primary">Details</c-button> </template> </c-fullbox> </el-form-item> @@ -1953,12 +1955,12 @@ export default { data() { return { stagod: [ - { label: "金", value: "001" }, - { label: "银", value: "002" }, - { label: "铜", value: "003" }, - { label: "铝", value: "004" }, - { label: "锌", value: "005" }, - { label: "铁砂矿", value: "006" }, + { 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" }, @@ -1967,6 +1969,7 @@ export default { { label: "煤", value: "012" }, { label: "其他", value: "099" }, ], + swftyp1: [ { label: "MT103", value: "103" }, { label: "MT202", value: "200" }, diff --git a/src/views/Business/Cptrep/Secpan.vue b/src/views/Business/Cptrep/Secpan.vue index 4d85ef6..108af4a 100644 --- a/src/views/Business/Cptrep/Secpan.vue +++ b/src/views/Business/Cptrep/Secpan.vue @@ -1,14 +1,14 @@ <template> <div class="eibs-tab"> - <c-col :span="18"> + <c-col :span="24"> <el-form-item label="收款人开户行代理行名称(=中介结构1)" prop="" label-width="250px"> <c-input v-model="model.trnmod.hvpmod.agnamedl"></c-input> </el-form-item> </c-col> - <c-col :span="18"> + <c-col :span="24"> <el-form-item label="收款人开户行代理行号(=中介机构)" prop="" label-width="250px"> - <c-input v-model="model.trnmod.hvpmod.agencydl"></c-input> + <c-input v-model="model.trnmod.hvpmod.agencydl" disabled></c-input> </el-form-item> </c-col> <!-- --------------左边---------------- --> @@ -17,7 +17,7 @@ <el-form-item label="费用编号" prop=""> <c-select v-model="model.trnmod.hvpmod.feecod"> <el-option - v-for="item in codes.feecod" + v-for="item in feecod" :key="item.value" :label="item.label" :value="item.value" @@ -342,7 +342,11 @@ export default { mixins: [commonProcess], data(){ return { - + feecod: [ + { label: "SHA Shared", value: "SHA" }, + { label: "BEN Beneficiary Customer", value: "BEN" }, + { label: "OUR Ordering Customer", value: "OUR" }, + ], } }, methods:{...Event}, diff --git a/src/views/Business/Cptrep/Wg.vue b/src/views/Business/Cptrep/Wg.vue index 09e4af5..be34297 100644 --- a/src/views/Business/Cptrep/Wg.vue +++ b/src/views/Business/Cptrep/Wg.vue @@ -27,6 +27,7 @@ v-model="model.bopmod.acttyp" style="width: 100%" placeholder="请选择款项来源" + :disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''" > <el-option v-for="item in codes.acttyp" @@ -44,6 +45,7 @@ v-model="model.bopmod.ownextkey" style="width: 100%" placeholder="请选择地区机构号" + :disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''" > <el-option v-for="item in codes.ownextkey1" @@ -58,7 +60,7 @@ <c-col :span="11" :offset="1"> <c-col :span="24"> - <c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> + <c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''">基础数据</c-checkbox> </c-col> </c-col> diff --git a/src/views/Business/Cptrep/index.vue b/src/views/Business/Cptrep/index.vue index b63856b..9fa72ec 100644 --- a/src/views/Business/Cptrep/index.vue +++ b/src/views/Business/Cptrep/index.vue @@ -1,5 +1,20 @@ <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">智能提示</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"> <!--cptrep PD000020 Overview --> @@ -125,6 +140,7 @@ import Vrfp from "./Vrfp" import Doctre from "~/views/Public/Doctre"; import Det910 from "./Det910" +import commonFuncs from "~/mixin/commonFuncs"; export default { name: "Cptrep", @@ -150,7 +166,7 @@ export default { root: this } }, - mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 data(){ return { tabVal: "opnp1", diff --git a/src/views/Layout/SideMenu.vue b/src/views/Layout/SideMenu.vue index c31eb37..28a34ee 100644 --- a/src/views/Layout/SideMenu.vue +++ b/src/views/Layout/SideMenu.vue @@ -40,14 +40,14 @@ export default { // { inifrm: "diasel", ininam: "备忘录选择交易", pntmiu: "0" }, { inifrm: "1", ininam: "汇款业务", pntmiu: "" }, { inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" }, - { inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" }, - { inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" }, - { inifrm: "cptato", ininam: "境内外币汇出汇款", pntmiu: "1" }, - { inifrm: "cptati", ininam: "境内外币汇入汇款", pntmiu: "1" }, + // { inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" }, + // { inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" }, + // { inifrm: "cptato", ininam: "境内外币汇出汇款", pntmiu: "1" }, + // { inifrm: "cptati", ininam: "境内外币汇入汇款", pntmiu: "1" }, { inifrm: "cnysel", ininam: "跨境人民币查询", pntmiu: "1" }, - { inifrm: "cptrel", ininam: "汇款复核与查询", pntmiu: "1" }, - { inifrm: "cptcan", ininam: "汇款注销", pntmiu: "1" }, - { inifrm: "cptrep", ininam: "汇入汇款挂账解付", pntmiu: "1" }, + // { inifrm: "cptrel", ininam: "汇款复核与查询", pntmiu: "1" }, + // { inifrm: "cptcan", ininam: "汇款注销", pntmiu: "1" }, + // { inifrm: "cptrep", ininam: "汇入汇款挂账解付", pntmiu: "1" }, { inifrm: "2", ininam: "买方信用证", pntmiu: "" }, // { inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" }, -- libgit2 0.26.0