Commit f26183b2 by taojinrui

cptato,cptati交易添加面板

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