Commit f26183b2 by taojinrui

cptato,cptati交易添加面板

parent c1a6f16a
...@@ -7,59 +7,98 @@ let checkObj = { ...@@ -7,59 +7,98 @@ let checkObj = {
"cpdgrp.rmt.namelc" :null, "cpdgrp.rmt.namelc" :null,
"cpdgrp.rmt.pts.extkey" :null, "cpdgrp.rmt.pts.extkey" :null,
"cpdgrp.ori.pts.adrblk" :null, "cpdgrp.ori.pts.adrblk" :null,
"bopmod.dbegrp.bas.othamt" :null,
"cpdgrp.pyb.pts.adrblk" :null, "cpdgrp.pyb.pts.adrblk" :null,
"bopmod.dbegrp.bas.fcyacc" :null,
"attp.feetyp" :null, "attp.feetyp" :null,
"bopmod.dbegrp.bas.custnm" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"attp.commet" :null, "attp.commet" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"cpdgrp.orc.pts.extkey" :null, "cpdgrp.orc.pts.extkey" :null,
"bopmod.dbegrp.bas.custype" :null,
"attp.orcadr" :null, "attp.orcadr" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"cpdgrp.pye.namelc" :null, "cpdgrp.pye.namelc" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbegrp.bas.oppacc" :null,
"bopmod.dbegrp.bas.oppuser" :null,
"attp.pyeadr" :null, "attp.pyeadr" :null,
"attp.swftyp" :null, "attp.swftyp" :null,
"attp.pyenam" :null, "attp.pyenam" :null,
"attp.bustyp" :null, "attp.bustyp" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"cpdgrp.orc.adrelc" :null, "cpdgrp.orc.adrelc" :null,
"cpdgrp.pye.pts.extkey" :null, "cpdgrp.pye.pts.extkey" :null,
"attp.orcnam" :null, "attp.orcnam" :null,
"bopmod.dbbgrp.bas.custype" :null,
"cpdgrp.med.pts.adrblk" :null, "cpdgrp.med.pts.adrblk" :null,
"cpdgrp.pye.pts.adrblk" :null, "cpdgrp.pye.pts.adrblk" :null,
"cpdgrp.rec.trntyp" :null, "cpdgrp.rec.trntyp" :null,
"cpdgrp.ori.namelc" :null, "cpdgrp.ori.namelc" :null,
"attp.paycountcode" :null, "attp.paycountcode" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"bopmod.dbegrp.bas.txccy" :null,
"bopmod.dbegrp.bas.exrate" :null,
"cpdgrp.pye.adrelc" :null, "cpdgrp.pye.adrelc" :null,
"cpdgrp.rec.valdat" :null, "cpdgrp.rec.valdat" :null,
"cpdgrp.rmt.pts.adrblk" :null, "cpdgrp.rmt.pts.adrblk" :null,
"cpdgrp.pyb.pts.extkey" :null, "cpdgrp.pyb.pts.extkey" :null,
"attp.payuil" :null, "attp.payuil" :null,
"bopmod.dbegrp.bas.methods" :null,
"cpdgrp.rec.paytype" :null, "cpdgrp.rec.paytype" :null,
"cpdgrp.med.namelc" :null, "cpdgrp.med.namelc" :null,
"cpdgrp.pyb.namelc" :null, "cpdgrp.pyb.namelc" :null,
"cpdgrp.cbs.nom1.cur" :null, "cpdgrp.cbs.nom1.cur" :null,
"bopmod.dbegrp.bas.rptno" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"cpdgrp.orc.pts.adrblk" :null, "cpdgrp.orc.pts.adrblk" :null,
"cpdgrp.rec.ischktyp" :null, "cpdgrp.rec.ischktyp" :null,
"attp.resbch" :null, "attp.resbch" :null,
"cpdgrp.rmt.adrelc" :null, "cpdgrp.rmt.adrelc" :null,
"bopmod.szflg" :null, "bopmod.szflg" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.actiondesc" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"cpdgrp.orc.namelc" :null, "cpdgrp.orc.namelc" :null,
"bopmod.dbegrp.bas.custcod" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"cpdgrp.med.pts.extkey" :null, "cpdgrp.med.pts.extkey" :null,
"cpdgrp.ori.adrelc" :null, "cpdgrp.ori.adrelc" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"cpdgrp.cbs.nom1.amt" :null, "cpdgrp.cbs.nom1.amt" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"cpdgrp.ori.pts.extkey" :null, "cpdgrp.ori.pts.extkey" :null,
"bopmod.dbegrp.bas.othacc" :null,
"bopmod.dbegrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.fcyamt" :null,
"cpdgrp.cbs.max.amt" :null, "cpdgrp.cbs.max.amt" :null,
"bopmod.dbegrp.bas.idcode" :null,
"cpdgrp.rec.pyeact" :null, "cpdgrp.rec.pyeact" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"cpdgrp.rec.orcact" :null, "cpdgrp.rec.orcact" :null,
"bopmod.basflg" :null, "bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"cpdgrp.cbs.max.cur" :null, "cpdgrp.cbs.max.cur" :null,
"attp.resbchnam" :null, "attp.resbchnam" :null,
"cpdgrp.rec.prechkdat" :null, "cpdgrp.rec.prechkdat" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"bopmod.ownextkey" :null, "bopmod.ownextkey" :null,
"cpdgrp.pyb.adrelc" :null, "cpdgrp.pyb.adrelc" :null,
"cpdgrp.med.adrelc" :null, "cpdgrp.med.adrelc" :null,
"bopmod.dbegrp.bas.lcyacc" :null,
"bopmod.dbegrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.txccy" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"attp.acctyp" :null, "attp.acctyp" :null,
"bopmod.acttyp" :null, "bopmod.acttyp" :null,
"attp.sndbchnam" :null, "attp.sndbchnam" :null,
"bopmod.dbegrp.bas.actiontype" :null,
"bopmod.dbegrp.bas.buscode" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -12,6 +12,7 @@ export default { ...@@ -12,6 +12,7 @@ export default {
"cpdgrp.orc.pts.adrblk" :Utils.defaultFunction, "cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction, "cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"attp.payuil" :Utils.defaultFunction, "attp.payuil" :Utils.defaultFunction,
"bopmod.dbegrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pye.pts.adrblk" :Utils.defaultFunction, "cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.pyb.pts.adrblk" :Utils.defaultFunction, "cpdgrp.pyb.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.rmt.pts.extkey" :Utils.defaultFunction, "cpdgrp.rmt.pts.extkey" :Utils.defaultFunction,
...@@ -28,6 +29,7 @@ export default { ...@@ -28,6 +29,7 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :Utils.defaultFunction, "cpdgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pyb.pts.extkey" :Utils.defaultFunction, "cpdgrp.pyb.pts.extkey" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :Utils.defaultFunction, "cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"cpdgrp.med.adrelc" :Utils.defaultFunction, "cpdgrp.med.adrelc" :Utils.defaultFunction,
...@@ -40,10 +42,14 @@ export default { ...@@ -40,10 +42,14 @@ export default {
"cpdgrp.ori.adrelc" :Utils.defaultFunction, "cpdgrp.ori.adrelc" :Utils.defaultFunction,
"cpdgrp.ori.namelc" :Utils.defaultFunction, "cpdgrp.ori.namelc" :Utils.defaultFunction,
"cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction, "cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custcod" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction, "bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction, "bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction, "bopmod.basflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction, "bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbegrp.bas.tmpref" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :Utils.defaultFunction, "cpdgrp.rec.othbch" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :Utils.defaultFunction, "cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"cpdgrp.ori.pts.adrblk" :Utils.defaultFunction, "cpdgrp.ori.pts.adrblk" :Utils.defaultFunction,
...@@ -53,6 +59,8 @@ export default { ...@@ -53,6 +59,8 @@ export default {
"attp.feetyp" :Utils.defaultFunction, "attp.feetyp" :Utils.defaultFunction,
"cpdgrp.orc.adrelc" :Utils.defaultFunction, "cpdgrp.orc.adrelc" :Utils.defaultFunction,
"cpdgrp.orc.namelc" :Utils.defaultFunction, "cpdgrp.orc.namelc" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"cpdgrp.pye.adrelc" :Utils.defaultFunction, "cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.namelc" :Utils.defaultFunction, "cpdgrp.pye.namelc" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction, "cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
...@@ -60,14 +68,18 @@ export default { ...@@ -60,14 +68,18 @@ export default {
"cpdgrp.cbs.nom1.amt" :Utils.defaultFunction, "cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction, "cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"attp.com102" :Utils.defaultFunction, "attp.com102" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"attp.xnggbh" :Utils.defaultFunction, "attp.xnggbh" :Utils.defaultFunction,
"attp.country" :Utils.defaultFunction, "attp.country" :Utils.defaultFunction,
"attp.swftyp" :Utils.defaultFunction, "attp.swftyp" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :Utils.defaultFunction, "cpdgrp.rec.trntyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"attp.sndbchnam" :Utils.defaultFunction, "attp.sndbchnam" :Utils.defaultFunction,
"bopmod.dbegrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bopmod.dbegrp.bas.buscode" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"attp.resbchnam" :Utils.defaultFunction, "attp.resbchnam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
......
...@@ -7,11 +7,7 @@ export default { ...@@ -7,11 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else else
{ {
...@@ -210,5 +206,197 @@ export default { ...@@ -210,5 +206,197 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); 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: '服务请求失败!'});
}
},
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 onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.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
...@@ -409,4 +409,162 @@ export default { ...@@ -409,4 +409,162 @@ export default {
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbegrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbegrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbegrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
} }
\ No newline at end of file
...@@ -178,28 +178,29 @@ export default class Cptato{ ...@@ -178,28 +178,29 @@ export default class Cptato{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm // gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// }, // },
// }, // },
mtabut:{ mtabut: new Pub().data.Mtabut,
coninf:{ // mtabut:{
oitinf:{ // coninf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt // oitinf:{
oit:{ // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt // oit:{
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev // inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
}, // inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, // },
oitset:{ // },
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt // oitset:{
oit:{ // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt // oit:{
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev // inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
}, // inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
}, // },
conexedat:"", // 执行日期 .mtabut.coninf.conexedat // },
usr:{ // conexedat:"", // 执行日期 .mtabut.coninf.conexedat
extkey:"", // User ID .mtabut.coninf.usr.extkey // usr:{
}, // extkey:"", // User ID .mtabut.coninf.usr.extkey
}, // },
}, // },
// },
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
// trnmod:{ // trnmod:{
// trndoc:{ // trndoc:{
...@@ -226,6 +227,81 @@ export default class Cptato{ ...@@ -226,6 +227,81 @@ export default class Cptato{
vrfflg:"", // 核销数据 .bopmod.vrfflg vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp acttyp:"", // 款项去向 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
txccy:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txamt
},
},
dbep:{
baspp:{
cusnam:"", // .bopmod.dbep.baspp.cusnam
cornam:"", // .bopmod.dbep.baspp.cornam
corpnam:"", // .bopmod.dbep.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbep.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbep.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbep.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbep.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbep.baspp.tmprefnew
},
},
dbegrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbegrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbegrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbegrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbegrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbegrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbegrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbegrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbegrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbegrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbegrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbegrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbegrp.bas.buscode
custype:"", // 类型 .bopmod.dbegrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbegrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbegrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbegrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbegrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbegrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbegrp.bas.custcod
txccy:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txccy
txamt:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txamt
oppacc:"", // 收款人账号 .bopmod.dbegrp.bas.oppacc
},
},
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -23,7 +23,12 @@ ...@@ -23,7 +23,12 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="mimeTabClick"> <c-tabs
ref="elment"
:value="tabVal"
type="card"
@tab-click="mimeTabClick"
>
<el-tab-pane label="基本信息" name="opnp1"> <el-tab-pane label="基本信息" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<c-content> <c-content>
...@@ -41,7 +46,6 @@ ...@@ -41,7 +46,6 @@
<m-glepan :model="model" :codes="codes" ref="glepan" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<!--PD000000 --> <!--PD000000 -->
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
...@@ -59,7 +63,11 @@ ...@@ -59,7 +63,11 @@
<!--PD000546 --> <!--PD000546 -->
<m-sbxx :model="model" :codes="codes" /> <m-sbxx :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg === '1'"> <el-tab-pane
label="2101跨境收入信息"
name="incp"
v-if="model.cnybop.cnyflg === '1'"
>
<c-content> <c-content>
<m-incp :model="model" :codes="codes"></m-incp> <m-incp :model="model" :codes="codes"></m-incp>
</c-content> </c-content>
...@@ -72,14 +80,19 @@ ...@@ -72,14 +80,19 @@
</el-form> </el-form>
</div> </div>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
        ref="doxpDialog" ref="doxpDialog"
        :isPty="false" :isPty="false"
        :promptData="promptData" :promptData="promptData"
        @select-ety="selectMsg" @select-ety="selectMsg"
      > >
      </c-grid-ety-prompt-dialog>      
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</c-page> </c-page>
</template> </template>
<script> <script>
...@@ -118,15 +131,15 @@ export default { ...@@ -118,15 +131,15 @@ export default {
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-ptap": Ptap, "m-ptap": Ptap,
"m-docpan2" : Docpan2, "m-docpan2": Docpan2,
"m-incp" : Incp "m-incp": Incp,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {}, computed: {},
data() { data() {
return { return {
...@@ -144,8 +157,8 @@ export default { ...@@ -144,8 +157,8 @@ export default {
}, },
methods: { methods: {
mimeTabClick(tab) { mimeTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
const name = tab.name const name = tab.name;
let rulePath; let rulePath;
if (name === "docpan2") { if (name === "docpan2") {
rulePath = "lendoc.docpan"; rulePath = "lendoc.docpan";
...@@ -157,14 +170,14 @@ export default { ...@@ -157,14 +170,14 @@ export default {
rulePath = "cnybop.incp"; rulePath = "cnybop.incp";
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then(res => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data) this.updateModel(res.data);
}
})
} }
});
} }
}, },
},
created: async function () { created: async function () {
console.log("进入cptadv交易"); console.log("进入cptadv交易");
let rtnmsg = await this.init(this.$route.query); let rtnmsg = await this.init(this.$route.query);
......
...@@ -5,6 +5,12 @@ ...@@ -5,6 +5,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型"> <c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -12,6 +18,12 @@ ...@@ -12,6 +18,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp"> <el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源"> <c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -19,11 +31,31 @@ ...@@ -19,11 +31,31 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号"> <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" label-width="60%">
<c-select v-model="model.bopmod.outchargeccy" style="width:95%" placeholder="请选择国外银行扣费(涉外收入申报专用)" :disabled="true">
<el-option
v-for="item in outchargeccy"
: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="bopmod.outchargeccy"> <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)"> <c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
</c-select> </c-select>
...@@ -34,7 +66,7 @@ ...@@ -34,7 +66,7 @@
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt"> <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input> <c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
<c-col :span="11" offset="1"> <c-col :span="11" offset="1">
...@@ -42,13 +74,13 @@ ...@@ -42,13 +74,13 @@
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox> <c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox> <c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <!--
<c-col :span="12"> <c-col :span="12">
......
...@@ -87,6 +87,21 @@ ...@@ -87,6 +87,21 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane
label="境内收入申报单-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="涉外收入申报单-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
<!--PD000018 --> <!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf"> <!-- <el-tab-pane label="PD000018" name="addinf">
<c-content> <c-content>
...@@ -117,6 +132,8 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -117,6 +132,8 @@ import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan"; import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan"; import Docpan from "./Docpan";
import Wg from "./Wg"; import Wg from "./Wg";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
export default { export default {
name: "Cptati", name: "Cptati",
...@@ -130,6 +147,8 @@ export default { ...@@ -130,6 +147,8 @@ export default {
"m-docpan1": Docpan1, "m-docpan1": Docpan1,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-wg": Wg, "m-wg": Wg,
"m-dbe": Dbe,
"m-dbb": Dbb,
}, },
provide() { provide() {
return { return {
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.orcadr" v-model="model.attp.orcadr"
maxlength="65" maxlength="265"
show-word-limit show-word-limit
placeholder="请输入汇款人地址" placeholder="请输入汇款人地址"
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.pyenam" v-model="model.attp.pyenam"
maxlength="65" maxlength="265"
show-word-limit show-word-limit
placeholder="请输入收款人名称" placeholder="请输入收款人名称"
disabled disabled
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.pyeadr" v-model="model.attp.pyeadr"
maxlength="65" maxlength="265"
show-word-limit show-word-limit
placeholder="请输入收款人地址" placeholder="请输入收款人地址"
disabled disabled
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
<el-form-item label="汇款人帐号" prop="cpdgrp.rec.orcact"> <el-form-item label="汇款人帐号" prop="cpdgrp.rec.orcact">
<c-input <c-input
v-model="model.cpdgrp.rec.orcact" v-model="model.cpdgrp.rec.orcact"
maxlength="35" maxlength="235"
placeholder="请输入汇款人帐号" placeholder="请输入汇款人帐号"
disabled disabled
></c-input> ></c-input>
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
<c-input <c-input
:disabled="model.attp.swftyp == ''" :disabled="model.attp.swftyp == ''"
v-model="model.cpdgrp.orc.pts.extkey" v-model="model.cpdgrp.orc.pts.extkey"
maxlength="16" maxlength="216"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
style="width: 95%" style="width: 95%"
@keyup.enter.native=" @keyup.enter.native="
...@@ -343,7 +343,7 @@ ...@@ -343,7 +343,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk" v-model="model.cpdgrp.orc.pts.adrblk"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
disabled disabled
...@@ -359,7 +359,7 @@ ...@@ -359,7 +359,7 @@
<el-form-item label="Name" prop="cpdgrp.rec.nam"> <el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input <c-input
v-model="model.cpdgrp.rec.nam" v-model="model.cpdgrp.rec.nam"
maxlength="40" maxlength="240"
placeholder="请输入Externally Displayed Name to Identify the Contract" placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled disabled
></c-input> ></c-input>
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
<el-form-item label="接收行名称" prop="attp.resbchnam"> <el-form-item label="接收行名称" prop="attp.resbchnam">
<c-input <c-input
v-model="model.attp.resbchnam" v-model="model.attp.resbchnam"
maxlength="42" maxlength="242"
placeholder="请输入接收行名称" placeholder="请输入接收行名称"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('attp.resbchnam') showGridPromptDialog('attp.resbchnam')
...@@ -541,7 +541,7 @@ ...@@ -541,7 +541,7 @@
<el-form-item label="接收行BIC" prop="attp.resbch"> <el-form-item label="接收行BIC" prop="attp.resbch">
<c-input <c-input
v-model="model.attp.resbch" v-model="model.attp.resbch"
maxlength="11" maxlength="211"
placeholder="请输入接收行BIC" placeholder="请输入接收行BIC"
disabled disabled
></c-input> ></c-input>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref"> <el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
<c-input <c-input
v-model="model.cpdgrp.ori.pts.ref" v-model="model.cpdgrp.ori.pts.ref"
maxlength="16" maxlength="216"
placeholder="请输入汇款人开户行" placeholder="请输入汇款人开户行"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-form-item label="账号" prop="attp.atd.sbkact"> <el-form-item label="账号" prop="attp.atd.sbkact">
<c-input <c-input
v-model="model.attp.atd.sbkact" v-model="model.attp.atd.sbkact"
maxlength="35" maxlength="235"
placeholder="请输入收款人开户行帐号" placeholder="请输入收款人开户行帐号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
> >
<c-input <c-input
v-model="model.cpdgrp.ori.pts.extkey" v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16" maxlength="216"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey') showGridPromptDialog('cpdgrp.ori.pts.extkey')
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk" v-model="model.cpdgrp.ori.pts.adrblk"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
> >
<c-input <c-input
v-model="model.cpdgrp.med.pts.extkey" v-model="model.cpdgrp.med.pts.extkey"
maxlength="16" maxlength="216"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey') showGridPromptDialog('cpdgrp.med.pts.extkey')
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.cpdgrp.med.pts.adrblk" v-model="model.cpdgrp.med.pts.adrblk"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
> >
<c-input <c-input
v-model="model.cpdgrp.rmt.pts.extkey" v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16" maxlength="216"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey') showGridPromptDialog('cpdgrp.rmt.pts.extkey')
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk" v-model="model.cpdgrp.rmt.pts.adrblk"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref"> <el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref">
<c-input <c-input
v-model="model.cpdgrp.pyb.pts.ref" v-model="model.cpdgrp.pyb.pts.ref"
maxlength="16" maxlength="216"
placeholder="请输入收款人开户行" placeholder="请输入收款人开户行"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
<el-form-item label="帐号" prop="attp.atd.rbkact"> <el-form-item label="帐号" prop="attp.atd.rbkact">
<c-input <c-input
v-model="model.attp.atd.rbkact" v-model="model.attp.atd.rbkact"
maxlength="35" maxlength="235"
placeholder="请输入汇款人开户行帐号" placeholder="请输入汇款人开户行帐号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
> >
<c-input <c-input
v-model="model.cpdgrp.pyb.pts.extkey" v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16" maxlength="216"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.pyb.pts.extkey') showGridPromptDialog('cpdgrp.pyb.pts.extkey')
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk"> <el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<c-input type="textarea" <c-input type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk" v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.commet" v-model="model.attp.commet"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入附言" placeholder="请输入附言"
rows="4" rows="4"
...@@ -336,7 +336,7 @@ ...@@ -336,7 +336,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.com102" v-model="model.attp.com102"
maxlength="35" maxlength="235"
show-word-limit show-word-limit
placeholder="请输入Account with Institution / Account (Tag 57a)" placeholder="请输入Account with Institution / Account (Tag 57a)"
rows="4" rows="4"
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
<c-input <c-input
type="textarea" type="textarea"
v-model="model.attp.shouyh" v-model="model.attp.shouyh"
maxlength="30" maxlength="230"
show-word-limit show-word-limit
placeholder="请输入受益行" placeholder="请输入受益行"
rows="4" rows="4"
......
...@@ -48,6 +48,21 @@ ...@@ -48,6 +48,21 @@
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
...@@ -71,6 +86,10 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -71,6 +86,10 @@ import Doctre from "~/views/Public/Doctre";
import Opnp1 from "./Opnp1"; import Opnp1 from "./Opnp1";
import Pardet from "./Pardet"; import Pardet from "./Pardet";
import Wg from "./Wg"; import Wg from "./Wg";
import Basp from "./Basp";
import Sbxx from "~/views/Public/Sbxx";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
export default { export default {
name: "Cptato", name: "Cptato",
...@@ -83,6 +102,10 @@ export default { ...@@ -83,6 +102,10 @@ export default {
"m-glepan" : Glepan, "m-glepan" : Glepan,
"m-pardet" : Pardet, "m-pardet" : Pardet,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-basp" : Basp,
"m-sbxx": Sbxx,
"m-dbe": Dbe,
"m-dbb": Dbb,
}, },
provide() { provide() {
return { return {
......
...@@ -30,13 +30,7 @@ ...@@ -30,13 +30,7 @@
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
> >
<span <span style="font-family: '宋体'; font-weight: bold">i</span>
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button> </c-button>
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
...@@ -110,7 +104,6 @@ ...@@ -110,7 +104,6 @@
label="汇款金额" label="汇款金额"
previewLabel="汇款金额币种" previewLabel="汇款金额币种"
prop="cpdgrp.cbs.nom1.cur" prop="cpdgrp.cbs.nom1.cur"
> >
<c-select <c-select
v-model="model.cpdgrp.cbs.nom1.cur" v-model="model.cpdgrp.cbs.nom1.cur"
...@@ -121,7 +114,7 @@ ...@@ -121,7 +114,7 @@
<el-option <el-option
v-for="item in codes.currencycode" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.value+item.label" :label="item.value + item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
...@@ -138,7 +131,12 @@ ...@@ -138,7 +131,12 @@
class="m-input-currency" class="m-input-currency"
v-model="model.cpdgrp.cbs.nom1.amt" v-model="model.cpdgrp.cbs.nom1.amt"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
@keyup.enter.native="defaultFunction('cpdgrp.cbs.nom1.amt', model.cpdgrp.cbs.nom1.amt)" @keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
model.cpdgrp.cbs.nom1.amt
)
"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -161,7 +159,7 @@ ...@@ -161,7 +159,7 @@
v-model="model.cptp.payuil" v-model="model.cptp.payuil"
placeholder="请选择汇款语种" placeholder="请选择汇款语种"
@change="onPayuilChange" @change="onPayuilChange"
style="width:100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.payuil" v-for="item in codes.payuil"
...@@ -176,10 +174,7 @@ ...@@ -176,10 +174,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item label="是否需要核验" prop="cpdgrp.rec.ischktyp">
label="是否需要核验"
prop="cpdgrp.rec.ischktyp"
>
<c-select <c-select
v-model="model.cpdgrp.rec.ischktyp" v-model="model.cpdgrp.rec.ischktyp"
style="width: 100%" style="width: 100%"
...@@ -207,7 +202,7 @@ ...@@ -207,7 +202,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled=this.flag1 :disabled="this.flag1"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -259,7 +254,7 @@ ...@@ -259,7 +254,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.paytype" v-model="model.cpdgrp.rec.paytype"
placeholder="请选择汇款方式" placeholder="请选择汇款方式"
style="width:100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.paytype" v-for="item in codes.paytype"
...@@ -278,7 +273,7 @@ ...@@ -278,7 +273,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.gors" v-model="model.cpdgrp.rec.gors"
placeholder="请选择汇款对象" placeholder="请选择汇款对象"
style="width:100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.gors" v-for="item in codes.gors"
...@@ -290,11 +285,15 @@ ...@@ -290,11 +285,15 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-form-item label="收支类型" prop="cpdgrp.rec.sztyp" label-width="40%"> <c-form-item
label="收支类型"
prop="cpdgrp.rec.sztyp"
label-width="40%"
>
<c-select <c-select
v-model="model.cpdgrp.rec.sztyp" v-model="model.cpdgrp.rec.sztyp"
placeholder="请选择收支类型" placeholder="请选择收支类型"
style="width:100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.sztyp" v-for="item in codes.sztyp"
...@@ -313,7 +312,7 @@ ...@@ -313,7 +312,7 @@
<c-select <c-select
v-model="model.cpdgrp.rec.clityp" v-model="model.cpdgrp.rec.clityp"
placeholder="请选择客户类型" placeholder="请选择客户类型"
style="width:100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.clityp" v-for="item in codes.clityp"
...@@ -325,14 +324,16 @@ ...@@ -325,14 +324,16 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-form-item label="报文类型" prop="cpdgrp.rec.swftyp" label-width="40%"> <c-form-item
label="报文类型"
prop="cpdgrp.rec.swftyp"
label-width="40%"
>
<c-select <c-select
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
:disabled=" :disabled="model.cpdgrp.cbs.nom1.amt === '0.000'"
model.cpdgrp.cbs.nom1.amt === '0.000'
"
@change="swftypChange" @change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
...@@ -353,7 +354,8 @@ ...@@ -353,7 +354,8 @@
<c-col :span="21"> <c-col :span="21">
<el-form-item <el-form-item
label="收款人常驻国家/地区代码" label="收款人常驻国家/地区代码"
prop="cptp.payeecountcode"> prop="cptp.payeecountcode"
>
<c-input <c-input
v-model="model.cptp.payeecountcode" v-model="model.cptp.payeecountcode"
maxlength="3" maxlength="3"
...@@ -367,16 +369,28 @@ ...@@ -367,16 +369,28 @@
</c-col> </c-col>
<c-col :span="3"> <c-col :span="3">
<c-button <c-button
                size="small" size="small"
                type="primary" type="primary"
                icon="el-icon-search" icon="el-icon-search"
                @click="showGridPromptDialog('cptp.selbut1', null, null,{TXT: 'cptp.payeecountcode'}, {TXT: false},'doxpDialog')" @click="
              > </c-button> showGridPromptDialog(
'cptp.selbut1',
null,
null,
{ TXT: 'cptp.payeecountcode' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="4" style="float: right"> <c-col :span="4" style="float: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" label-width="150px" >同名划转</c-checkbox> <c-checkbox v-model="model.cpdgrp.rec.tsnflg" label-width="150px"
>同名划转</c-checkbox
>
</c-col> </c-col>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
...@@ -437,7 +451,11 @@ ...@@ -437,7 +451,11 @@
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<CptOpnp1Common :model="model" :codes="codes" v-on:onSndpDet="onSndpDet"></CptOpnp1Common> <CptOpnp1Common
:model="model"
:codes="codes"
v-on:onSndpDet="onSndpDet"
></CptOpnp1Common>
</div> </div>
</template> </template>
<script> <script>
...@@ -469,7 +487,7 @@ export default { ...@@ -469,7 +487,7 @@ export default {
{ value: "O", label: "Other" }, { value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" }, { value: "S", label: "CIPS系统" },
], ],
flag1:true, flag1: true,
}; };
}, },
methods: { methods: {
...@@ -478,26 +496,28 @@ export default { ...@@ -478,26 +496,28 @@ export default {
onCptpGetmod() {}, onCptpGetmod() {},
commonExecuteRule(ruleName) { commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => { this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) { if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
}); });
}, },
}, },
watch:{ watch: {
"model.cpdgrp.rec.ischktyp":{ "model.cpdgrp.rec.ischktyp": {
immediate:true, immediate: true,
handler(val ,oldVal){ handler(val, oldVal) {
if(this.model.cpdgrp.rec.ischktyp == 'N' || this.model.cpdgrp.rec.ischktyp == ''){ if (
this.flag1=true; this.model.cpdgrp.rec.ischktyp == "N" ||
this.model.cpdgrp.rec.paydat=""; this.model.cpdgrp.rec.ischktyp == ""
} ) {
else{ this.flag1 = true;
this.flag1=false; this.model.cpdgrp.rec.paydat = "";
} } else {
this.flag1 = false;
} }
}, },
}, },
},
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
...@@ -510,5 +530,4 @@ export default { ...@@ -510,5 +530,4 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped>
</style> </style>
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="mimeTabClick"> <c-tabs
:value="tabVal"
ref="elment"
type="card"
@tab-click="mimeTabClick"
>
<el-tab-pane label="汇款信息" name="opnp1"> <el-tab-pane label="汇款信息" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<c-content> <c-content>
...@@ -32,7 +37,11 @@ ...@@ -32,7 +37,11 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Additional Info" name="AdditionalInfo" v-if="this.model.cpdgrp.rec.swftyp != ''"> <el-tab-pane
label="Additional Info"
name="AdditionalInfo"
v-if="this.model.cpdgrp.rec.swftyp != ''"
>
<m-AdditionalInfo :model="model" :codes="codes" /> <m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -43,7 +52,7 @@ ...@@ -43,7 +52,7 @@
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="分录" name="glepan">
<!--PD000001 --> <!--PD000001 -->
<m-glepan :model="model" :codes="codes" ref="glepan"/> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
...@@ -68,21 +77,40 @@ ...@@ -68,21 +77,40 @@
<el-tab-pane label="申报信息" name="sbxx"> <el-tab-pane label="申报信息" name="sbxx">
<!--PD000009 --> <!--PD000009 -->
<m-sbxx :model="model" :codes="codes"/> <m-sbxx :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"> <el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe> <m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"> <el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb> <m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg==='1'"> <el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg === '1'"
>
<m-outp :model="model" :codes="codes"></m-outp> <m-outp :model="model" :codes="codes"></m-outp>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Payment 103 PYE USD" name="Payment103" v-if="model.cpdgrp.rec.swftyp === '103' || model.cpdgrp.rec.swftyp === '202'"> <el-tab-pane
label="Payment 103 PYE USD"
name="Payment103"
v-if="
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
"
>
<m-Payment :model="model" :codes="codes" /> <m-Payment :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -97,19 +125,24 @@ ...@@ -97,19 +125,24 @@
</el-form> </el-form>
</div> </div>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
        ref="doxpDialog" ref="doxpDialog"
        :isPty="false" :isPty="false"
        :promptData="promptData" :promptData="promptData"
        @select-ety="selectMsg" @select-ety="selectMsg"
      > >
      </c-grid-ety-prompt-dialog>      
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Cptopn from "~/model/Cptopn"; import Cptopn from "~/model/Cptopn";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
...@@ -118,26 +151,26 @@ import Default from "~/model/Cptopn/Default"; ...@@ -118,26 +151,26 @@ import Default from "~/model/Cptopn/Default";
import Check from "~/model/Cptopn/Check"; import Check from "~/model/Cptopn/Check";
import Opnp1 from "./Opnp1"; import Opnp1 from "./Opnp1";
// import Coninfp from "./Coninfp"; // import Coninfp from "./Coninfp";
import Finp from "./Finp" import Finp from "./Finp";
import Dbe from "./Dbe.vue" import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue" import Dbb from "./Dbb.vue";
import Outp from "./Outp.vue" import Outp from "./Outp.vue";
import AdditionalInfo from "./AdditionalInfo.vue" import AdditionalInfo from "./AdditionalInfo.vue";
import Payment from "./Payment103.vue" import Payment from "./Payment103.vue";
// import Payment103 from "./Det103.vue" // import Payment103 from "./Det103.vue"
// import Payment202 from "./Det202.vue" // import Payment202 from "./Det202.vue"
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Sbxx from "~/views/Public/Sbxx"; import Sbxx from "~/views/Public/Sbxx";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
export default { export default {
name: 'Cptopn', name: "Cptopn",
components: { components: {
"m-opnp1": Opnp1, "m-opnp1": Opnp1,
"m-setpan": Setpan, "m-setpan": Setpan,
...@@ -154,30 +187,29 @@ export default { ...@@ -154,30 +187,29 @@ export default {
"m-Payment": Payment, "m-Payment": Payment,
// "m-Payment103": Payment103, // "m-Payment103": Payment103,
// "m-Payment202": Payment202 // "m-Payment202": Payment202
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal:"opnp1", tabVal: "opnp1",
trnName:"cptopn", trnName: "cptopn",
model: new Cptopn().data, model: new Cptopn().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules:null, rules: null,
codes: {...CodeTable}, codes: { ...CodeTable },
}; };
}, },
methods:{ methods: {
mimeTabClick(tab) { mimeTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
const name = tab.name const name = tab.name;
let rulePath; let rulePath;
if (name === "setpan") { if (name === "setpan") {
rulePath = "pyenam"; rulePath = "pyenam";
...@@ -198,19 +230,19 @@ export default { ...@@ -198,19 +230,19 @@ export default {
rulePath = "trd.ownref,cnyp"; rulePath = "trd.ownref,cnyp";
} }
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then(res => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.updateModel(res.data) this.updateModel(res.data);
}
})
} }
});
} }
}, },
},
created: async function () { created: async function () {
console.log("进入cptopn交易"); console.log("进入cptopn交易");
let rtnmsg = await this.init(this.$route.query); let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model,rtnmsg.data) Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
...@@ -218,14 +250,14 @@ export default { ...@@ -218,14 +250,14 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}, },
watch:{ watch: {
"model.cpdgrp.cbs.nom1.amt": { "model.cpdgrp.cbs.nom1.amt": {
handler(val, oldVal) { handler(val, oldVal) {
this.changeFormItemRequired("cpdgrp.rec.swftyp", val != '0.000'); this.changeFormItemRequired("cpdgrp.rec.swftyp", val != "0.000");
}, },
immediate: true, immediate: true,
}, },
} },
}; };
</script> </script>
<style> <style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment