Commit e6f9bc56 by liyixun

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents ef769a29 2aef04bc
...@@ -5,32 +5,76 @@ import Utils from "~/utils" ...@@ -5,32 +5,76 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"bopmod.dbagrp.bas.methods" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"bedgrp.prb.pts.nam" :null, "bedgrp.prb.pts.nam" :null,
"cnybop.outflg" :null, "cnybop.outflg" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"bedgrp.rec.frepayflg" :null, "bedgrp.rec.frepayflg" :null,
"bopmod.dbagrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null, "cnybop.cnyflg" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null, "lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"bopmod.dbdgrp.bas.custype" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null, "bedgrp.apl.pts.nam" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"bopmod.szflg" :null, "bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null, "cnybop.traflg" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"liaall.tenstm" :null, "liaall.tenstm" :null,
"setmod.redamt" :null, "setmod.redamt" :null,
"aamset.utlamt2" :null, "aamset.utlamt2" :null,
"bopmod.dbagrp.bas.custype" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"bopmod.basflg" :null, "bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null, "cnybop.libflg" :null,
"bopmod.ownextkey" :null, "bopmod.ownextkey" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bopmod.acttyp" :null, "bopmod.acttyp" :null,
"bedgrp.iss.pts.nam" :null, "bedgrp.iss.pts.nam" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
"cnybop.vouflg" :null, "cnybop.vouflg" :null,
} }
......
...@@ -8,6 +8,7 @@ import Utils from "~/utils/index" ...@@ -8,6 +8,7 @@ import Utils from "~/utils/index"
export default { export default {
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction, "cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction, "setmod.setamt" :Utils.defaultFunction,
...@@ -20,12 +21,15 @@ export default { ...@@ -20,12 +21,15 @@ export default {
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction, "bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.frepayflg" :Utils.defaultFunction, "bedgrp.rec.frepayflg" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction, "cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction, "bopmod.vrfflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction, "setmod.redamt" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction, "cnybop.traflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
...@@ -37,6 +41,7 @@ export default { ...@@ -37,6 +41,7 @@ export default {
"bedgrp.prb.pts.nam" :Utils.defaultFunction, "bedgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction, "bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction, "trnmod.trndoc.nar754" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction, "bedgrp.apl.pts.nam" :Utils.defaultFunction,
...@@ -45,6 +50,7 @@ export default { ...@@ -45,6 +50,7 @@ export default {
"bedgrp.cbs.max.amt" :Utils.defaultFunction, "bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction, "bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction, "bedgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction, "aamset.utlamt" :Utils.defaultFunction,
"bedgrp.cbs.opn2.cur" :Utils.defaultFunction, "bedgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction, "aamset.utlamt2" :Utils.defaultFunction,
......
...@@ -170,5 +170,101 @@ export default { ...@@ -170,5 +170,101 @@ 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 onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
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: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -330,6 +330,163 @@ export default { ...@@ -330,6 +330,163 @@ export default {
{ type: "number", required: false, message: "必输项" } { type: "number", required: false, message: "必输项" }
], ],
"bopmod.dbdgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbdgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbdgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbdgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbdgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbdgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbdgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbdgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbagrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbagrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbagrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbagrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbagrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbagrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbagrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
......
...@@ -68,29 +68,6 @@ export default class Betset { ...@@ -68,29 +68,6 @@ export default class Betset {
pts: new Pts().data, pts: new Pts().data,
}, },
}, },
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
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
},
},
},
aamset: { aamset: {
utlamt: "", // 单据金额 .aamset.utlamt utlamt: "", // 单据金额 .aamset.utlamt
utlamt2: "", // 附加金额 .aamset.utlamt2 utlamt2: "", // 附加金额 .aamset.utlamt2
...@@ -110,6 +87,86 @@ export default class Betset { ...@@ -110,6 +87,86 @@ export default class Betset {
outchargeccy: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy outchargeccy: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt outchargeamt: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp: "", // 款项来源 .bopmod.acttyp acttyp: "", // 款项来源 .bopmod.acttyp
dbdp:{
baspp:{
cusnam:"", // .bopmod.dbdp.baspp.cusnam
cornam:"", // .bopmod.dbdp.baspp.cornam
corpnam:"", // .bopmod.dbdp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbdp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbdp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbdp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbdp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbdp.baspp.tmprefnew
},
},
dbdgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbdgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbdgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbdgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbdgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbdgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbdgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbdgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbdgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbdgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbdgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbdgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbdgrp.bas.buscode
custype:"", // 类型 .bopmod.dbdgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbdgrp.bas.actiondesc
exrate:"", // 结汇汇率 .bopmod.dbdgrp.bas.exrate
lcyamt:"", // 结汇金额 .bopmod.dbdgrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbdgrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbdgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbdgrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbdgrp.bas.inchargeamt
txccy:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txccy
txamt:"", // 收入款币种及金额 .bopmod.dbdgrp.bas.txamt
},
},
dbap:{
baspp:{
cusnam:"", // .bopmod.dbap.baspp.cusnam
cornam:"", // .bopmod.dbap.baspp.cornam
corpnam:"", // .bopmod.dbap.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbap.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbap.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbap.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbap.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbap.baspp.tmprefnew
},
},
dbagrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbagrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbagrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbagrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbagrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbagrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbagrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbagrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbagrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbagrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbagrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbagrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbagrp.bas.buscode
custype:"", // 类型 .bopmod.dbagrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbagrp.bas.actiondesc
exrate:"", // 结汇汇率 .bopmod.dbagrp.bas.exrate
lcyamt:"", // 结汇金额 .bopmod.dbagrp.bas.lcyamt
custnm:"", // 收款人名称 .bopmod.dbagrp.bas.custnm
oppuser:"", // 付款人名称 .bopmod.dbagrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbagrp.bas.custcod
inchargeccy:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeccy
inchargeamt:"", // 国内银行扣费 .bopmod.dbagrp.bas.inchargeamt
outchargeamt:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeamt
outchargeccy:"", // 国外银行扣费 .bopmod.dbagrp.bas.outchargeccy
txccy:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txccy
txamt:"", // 收入款币种及金额 .bopmod.dbagrp.bas.txamt
},
},
}, },
cnybop: { cnybop: {
cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg
...@@ -131,6 +188,7 @@ export default class Betset { ...@@ -131,6 +188,7 @@ export default class Betset {
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
} }
} }
} }
\ No newline at end of file
...@@ -5,6 +5,7 @@ import Pub from "../Public" ...@@ -5,6 +5,7 @@ import Pub from "../Public"
export default class Ccttra { export default class Ccttra {
constructor() { constructor() {
this.data = { this.data = {
ccttral1blk: "",
ccdgrp: { ccdgrp: {
rec: { rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref ownref: "", // Our Reference .ccdgrp.rec.ownref
......
...@@ -84,8 +84,7 @@ export default class Infgid{ ...@@ -84,8 +84,7 @@ export default class Infgid{
purpos:"", // Outgoing Purpose .gidgrp.rec.purpos purpos:"", // Outgoing Purpose .gidgrp.rec.purpos
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin gartypin:"", // Undertaking Type from Local Undertaking Seq. C
legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm
demand:"", // Demand Indicator .gidgrp.rec.demand demand:"", // Demand Indicator .gidgrp.rec.demand
giduil:"", // Language of Undertak. .gidgrp.rec.giduil giduil:"", // Language of Undertak. .gidgrp.rec.giduil
secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg
......
...@@ -6,6 +6,11 @@ export default { ...@@ -6,6 +6,11 @@ export default {
let rtnmsg = await this.executeRule("betmod.butgetref") let rtnmsg = await this.executeRule("betmod.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
} else { } else {
this.$notify.error({ this.$notify.error({
...@@ -255,23 +260,6 @@ export default { ...@@ -255,23 +260,6 @@ export default {
} }
}, },
onSeainf() {}, onSeainf() {},
async onDetpButgetref(){
let rtnmsg = await this.executeRule("butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onBenpDet() {}, onBenpDet() {},
} }
\ No newline at end of file
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
], ],
"ledgrp.blk.mixdet":[ "ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"letp.avbp.ptsget.sdamod.dadsnd":[ "letp.avbp.ptsget.sdamod.dadsnd":[
...@@ -223,11 +223,11 @@ export default { ...@@ -223,11 +223,11 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ledgrp.blk.avbwthtxt":[ "ledgrp.blk.avbwthtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.pts.adrblk":[ "ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.dbfadrblkcn":[ "ledgrp.avb.dbfadrblkcn":[
...@@ -254,17 +254,17 @@ export default { ...@@ -254,17 +254,17 @@ export default {
], ],
"ledgrp.blk.defdet":[ "ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.blk.feetxt":[ "ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"} {max: 210,message:"长度不能超过210"}
], ],
"ledgrp.blk.dftat":[ "ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 105,message:"长度不能超过105"}
], ],
"letp.drwp.ptsget.sdamod.dadsnd":[ "letp.drwp.ptsget.sdamod.dadsnd":[
...@@ -285,7 +285,7 @@ export default { ...@@ -285,7 +285,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ledgrp.drw.pts.adrblk":[ "ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"ledgrp.drw.dbfadrblkcn":[ "ledgrp.drw.dbfadrblkcn":[
......
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
], ],
"lidgrp.adv.pts.adrblk":[ "lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"} {max: 140,message:"长度不能超过35*4"}
], ],
"lidgrp.adv.dbfadrblkcn":[ "lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Sptneg Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptneg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"usfmod.usr.extkey" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"chkrim" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNegcnt(){
let rtnmsg = await this.executeRule("negcnt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onClmmodDet(){
let rtnmsg = await this.executeRule("clmmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"clmmod.wfs.objtyp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"clmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"clmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"clmmod.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptneg{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkrim:"", // Registered .chkrim
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
sptstm:"", // List of SPT records .sptstm
clmmod:{
wfs:{
objtyp:"", // Table Used to Store Associated Object .clmmod.wfs.objtyp
objinr:"", // Object .clmmod.wfs.objinr
objnam:"", // External Readable Object Identification .clmmod.wfs.objnam
},
wfestm:"", // WFEs for transaction for display .clmmod.wfestm
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<c-checkbox <c-checkbox
v-model="basflg" v-model="basflg"
style="margin-left: 10px" style="margin-left: 10px"
:disabled="this.model.bopmod.szflg == '3'" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''"
>基础数据</c-checkbox >基础数据</c-checkbox
> >
</el-form-item> </el-form-item>
......
...@@ -67,6 +67,16 @@ ...@@ -67,6 +67,16 @@
<m-wg :model="model" :codes="codes"/> <m-wg :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane label="涉外收入申报单-基础信息" name="basp" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="境内收入申报单-基础信息" name="basp1" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<m-basp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000002 --> <!--PD000002 -->
<el-tab-pane label="跨境人民币申报" name="cnyp"> <el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/> <m-cnyp :model="model" :codes="codes"/>
...@@ -94,6 +104,8 @@ import Setp from "./Setp" ...@@ -94,6 +104,8 @@ import Setp from "./Setp"
import Docpan1 from "./Docpan1" import Docpan1 from "./Docpan1"
import Wg from "./Wg" import Wg from "./Wg"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Basp from "./Basp"
import Basp1 from "./Basp1"
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
...@@ -117,6 +129,8 @@ export default { ...@@ -117,6 +129,8 @@ export default {
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-wg" : Wg, "m-wg" : Wg,
"m-cnyp" : Cnyp, "m-cnyp" : Cnyp,
"m-basp" : Basp,
"m-basp1" : Basp1,
}, },
provide() { provide() {
return { return {
......
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
v-model="model.rebkpflg" v-model="model.rebkpflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
:code="rebkpflg" :code="codes.rebkpflg"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -337,12 +337,7 @@ export default { ...@@ -337,12 +337,7 @@ export default {
"c-litTemp": LitTemp, "c-litTemp": LitTemp,
}, },
data() { data() {
return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
]
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -298,9 +298,9 @@ ...@@ -298,9 +298,9 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onDetpButgetref" @click="onBetmodButgetref"
:disabled=" :disabled="
model.ledgrp.adv.pts.inr &&!model.bedgrp.rec.ownref model.ledgrp.rec.inr &&!model.bedgrp.rec.ownref
? false ? false
: true : true
" "
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
maxlength="50" maxlength="50"
show-word-limit show-word-limit
placeholder="Please input Discrepancies" placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg" :disabled="!docdisflg"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -24,7 +25,6 @@ ...@@ -24,7 +25,6 @@
type="primary" type="primary"
:disabled="!docdisflg" :disabled="!docdisflg"
@click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')" @click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')"
@change="defaultFunction('betp.folwupopt')"
> >
... ...
</c-button> </c-button>
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Further Handling" placeholder="Please select Further Handling"
disabled disabled
@change="defaultFunction()"
> >
<el-option <el-option
v-for="item in codes.folwupopt1" v-for="item in codes.folwupopt1"
...@@ -138,7 +139,7 @@ ...@@ -138,7 +139,7 @@
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="docdisflg" style="margin-left: 10px" <c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
>Discrepancies modified</c-checkbox >Discrepancies modified</c-checkbox
> >
</template> </template>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
style="width: 100%" style="width: 100%"
placeholder="请选择指定银行" placeholder="请选择指定银行"
:code="codes.avbwth" :code="codes.avbwth"
@change="avbwthEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -19,7 +18,7 @@ ...@@ -19,7 +18,7 @@
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
v-if="model.ledgrp.rec.avbwth!='O'" v-if="model.ledgrp.rec.avbwth != 'O'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
...@@ -37,7 +36,25 @@ ...@@ -37,7 +36,25 @@
<!-- 名称地址 --> <!-- 名称地址 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"> <el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input <c-input
type="textarea" type="textarea"
:rows="3" :rows="3"
...@@ -45,21 +62,9 @@ ...@@ -45,21 +62,9 @@
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入名称地址"
:disabled="model.ledgrp.rec.avbwth!='O'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<!-- 信用证兑付方式 Available by--> <!-- 信用证兑付方式 Available by-->
<c-col :span="24"> <c-col :span="24">
...@@ -69,7 +74,6 @@ ...@@ -69,7 +74,6 @@
style="width: 100%" style="width: 100%"
placeholder="请选择兑付方式" placeholder="请选择兑付方式"
:code="codes.avbby0" :code="codes.avbby0"
@change="avbbykeyEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -109,7 +113,16 @@ ...@@ -109,7 +113,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('letp.lcrdftat.buttxmsel', null, null,{TXT: 'ledgrp.blk.dftat'}, {TXT: false},'doxpDialog')" @click="
showGridPromptDialog(
'letp.lcrdftat.buttxmsel',
null,
null,
{ TXT: 'ledgrp.blk.dftat' },
{ TXT: false },
'doxpDialog'
)
"
:disabled="blkDftatFlag" :disabled="blkDftatFlag"
> >
... ...
...@@ -131,6 +144,7 @@ ...@@ -131,6 +144,7 @@
:onlySearch="false" :onlySearch="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onDrwpDet" @onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag" :disabled="blkDftatFlag"
> >
</c-ptap> </c-ptap>
...@@ -267,7 +281,6 @@ ...@@ -267,7 +281,6 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!-- 交单期限 Days of presentation period--> <!-- 交单期限 Days of presentation period-->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单期限" prop="ledgrp.rec.prepers18"> <el-form-item label="交单期限" prop="ledgrp.rec.prepers18">
...@@ -282,8 +295,18 @@ ...@@ -282,8 +295,18 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('letp.preper.buttxmsel', null, null,{TXT: 'ledgrp.rec.prepers18'}, {TXT: false},'doxpDialog')" @click="
disabled > showGridPromptDialog(
'letp.preper.buttxmsel',
null,
null,
{ TXT: 'ledgrp.rec.prepers18' },
{ TXT: false },
'doxpDialog'
)
"
disabled
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -319,7 +342,16 @@ ...@@ -319,7 +342,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('letp.charia.buttxmsel', null, null,{TXT: 'ledgrp.blk.feetxt'}, {TXT: false},'doxpDialog')" @click="
showGridPromptDialog(
'letp.charia.buttxmsel',
null,
null,
{ TXT: 'ledgrp.blk.feetxt' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
...@@ -797,6 +829,7 @@ import commonProcess from '~/mixin/commonProcess' ...@@ -797,6 +829,7 @@ import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable' import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letdrw/Event' import Event from '~/model/Letdrw/Event'
import Ptap from '~/views/Public/Ptap' import Ptap from '~/views/Public/Ptap'
import Utils from '~/utils'
export default { export default {
components: { components: {
...@@ -812,30 +845,58 @@ export default { ...@@ -812,30 +845,58 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
avbwthEvent(){ // avbbykeyEvent() {
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') { // if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.avb.pts.extkey = '' // this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.avbwthtxt = '' // this.model.ledgrp.blk.defdet = ''
} // }
}, // if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this.model.ledgrp.blk.defdet = '' //汇票期限置空 // this.model.ledgrp.blk.defdet = '' //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''//付款人置空 // this.model.ledgrp.drw.pts.extkey = ''//付款人置空
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk // this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
} // }
this.executeCheck('ledgrp.rec.avbby').then((res) => { // this.executeCheck('ledgrp.rec.avbby').then((res) => {
if (res.respCode == SUCCESS) { // if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data) // Utils.copyValueFromVO(this.model, res.data)
} // }
}) // })
}, // },
openRevolvingDetails(val){
if(val ==='' && !(this.model.ledgrp.rec.revtyp ===''&& this.model.ledgrp.rec.revtimes == '0' && this.model.ledgrp.rec.revdat ===''
&&this.model.ledgrp.rec.revcum ===''&&this.model.ledgrp.blk.revcls ===''&&this.model.ledgrp.blk.revnotes ==='') ){
this.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
}, },
created: function () {}, created: function () {},
computed: { computed: {
...@@ -843,7 +904,8 @@ export default { ...@@ -843,7 +904,8 @@ export default {
get() { get() {
return ( return (
this.model.ledgrp.rec.avbwth == 'A' || this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S' this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
) )
}, },
}, },
......
...@@ -147,6 +147,7 @@ ...@@ -147,6 +147,7 @@
<c-checkbox <c-checkbox
v-model="model.letp.aamp.aammod.addamtflg" v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px" style="margin-left: 10px"
@change="openAddAmount"
>附加金额</c-checkbox >附加金额</c-checkbox
> >
</c-col> </c-col>
...@@ -415,6 +416,7 @@ ...@@ -415,6 +416,7 @@
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg" <c-checkbox v-model="model.ledgrp.rec.revflg"
@change="openRevolvingDetails"
>Revolving L/C</c-checkbox >Revolving L/C</c-checkbox
> >
</c-col> </c-col>
...@@ -1107,6 +1109,68 @@ export default { ...@@ -1107,6 +1109,68 @@ export default {
this.model.ledgrp.rec.apprultxt = '' this.model.ledgrp.rec.apprultxt = ''
} }
}, },
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.blk.addamtcov === '') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
openRevolvingDetails(val){
if(val ==='' && !(this.model.ledgrp.rec.revtyp ===''&& this.model.ledgrp.rec.revtimes == '0' && this.model.ledgrp.rec.revdat ===''
&&this.model.ledgrp.rec.revcum ===''&&this.model.ledgrp.blk.revcls ===''&&this.model.ledgrp.blk.revnotes ==='') ){
this.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
}, },
created: function () {}, created: function () {},
} }
......
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
:onlySearch="false" :onlySearch="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onDrwpDet" @onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag" :disabled="blkDftatFlag"
> >
</c-ptap> </c-ptap>
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<el-tab-pane <el-tab-pane
label="Special Paymt Cond. Beneficiary" label="Special Paymt Cond. Beneficiary"
name="spcbenp" name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg" v-if="model.ltdgrp.rec.spcbenflg"
> >
<m-doxp <m-doxp
:model="model" :model="model"
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<el-tab-pane <el-tab-pane
label="Special Paymt Cond. Bank only" label="Special Paymt Cond. Bank only"
name="spcrcvp" name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg" v-if="model.ltdgrp.rec.spcrcbflg"
> >
<m-doxp <m-doxp
:model="model" :model="model"
......
<template>
<div class="eibs-tab">
<!-- SF000045 : Type of Items -->
<c-col :span="12">
<c-checkbox v-model="model.chkinc">{{$t('sptneg.CF000040')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkrim">{{$t('sptneg.CF000035')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkpen">{{$t('sptneg.CF000036')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkcor">{{$t('sptneg.CF000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkaut">{{$t('sptneg.CF000067')}}</c-checkbox>
</c-col>
<!-- SF000049 : Reference -->
<c-col :span="12">
<c-form-item :label="$t('sptneg.SF000049')" prop="selobj">
<c-input v-model="model.selobj" maxlength="32" :placeholder="$t('other.please_enter')+$t('sptneg.SF000049')"></c-input>
</c-form-item>
</c-col>
<!-- SF000050 : Name -->
<c-col :span="12">
<c-form-item label="Selection Name" prop="seltxt">
<c-input v-model="model.seltxt" maxlength="32" :placeholder="$t('other.please_enter')+'Selection Name'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Filter" prop="usfmod.flt">
<c-select v-model="model.usfmod.flt" style="width:100%" :placeholder="$t('other.please_enter')+'Filter'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsfmodShwflt">
{{$t('usfmod.CF000033')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNegcnt">
{{$t('sptneg.CG000105')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.usfmod.labtxt" data-path=".usfmod.labtxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
<c-select v-model="model.usfmod.selusgset" style="width:100%" :placeholder="$t('other.please_enter')+'Selected User Group Set'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="User ID" prop="usfmod.usr.extkey">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group" prop="usfmod.selusg">
<c-select v-model="model.usfmod.selusg" style="width:100%" :placeholder="$t('other.please_enter')+'Selected User Group'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Select user branch" prop="usfmod.selusb">
<c-select v-model="model.usfmod.selusb" style="width:100%" :placeholder="$t('other.please_enter')+'Select user branch'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="usfmod.usrget.sdamod.seainf">
<c-input v-model="model.usfmod.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="List of SPT records" prop="sptstm">
<c-input v-model="model.sptstm" :placeholder="$t('other.please_enter')+'List of SPT records'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000004 : Object -->
<c-col :span="12">
<c-form-item label="Table Used to Store Associated Object" prop="clmmod.wfs.objtyp">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('clmmod.S0000004')" prop="clmmod.wfs.objinr">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('clmmod.S0000004')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : Object Name -->
<c-col :span="12">
<c-form-item label="External Readable Object Identification" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" :placeholder="$t('other.please_enter')+'External Readable Object Identification'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onClmmodDet">
{{$t('clmmod.CG000002')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--sptneg PD000042 Menu -->
<el-tab-pane :label="$t('sptneg.PD000042')" name="menu">
<m-menu :model="model" :codes="codes"/>
</el-tab-pane>
<!--clmmod PD000001 Workflow -->
<el-tab-pane :label="$t('clmmod.PD000001')" name="ordpwfm">
<m-ordpwfm :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptneg from "~/model/Sptneg"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptneg/Check"
import Default from "~/model/Sptneg/Default"
import Pattern from "~/model/Sptneg/Pattern"
import Menu from "./Menu"
import Ordpwfm from "./Ordpwfm"
export default {
name: "Sptneg",
components:{
"m-menu" : Menu,
"m-ordpwfm" : Ordpwfm,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "sptneg",
trnType: "",
model: new Sptneg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入sptneg交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template> <template>
<c-row class="eibs-tab"> <c-row class="eibs-tab">
<!-- ====================顶部==================== --> <!-- ====================顶部==================== -->
<c-col :span="6" style="margin-left:9px"> <c-col :span="6" style="margin-left:9px">
<el-form-item label="参考号" label-width="50px"> <el-form-item label="参考号" label-width="50px">
<c-input v-model="model.setmod.ref" maxlength="16" :readonly="true" placeholder="请输入our reference"> <c-input v-model="model.setmod.ref" maxlength="16" :disabled="true" :readonly="true" placeholder="请输入our reference">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label="结算金额" label-width="100px"> <el-form-item label="结算金额" label-width="100px">
<c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :readonly="true"></c-input> <c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :disabled="true" :readonly="true"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" label-width="7px"> <el-form-item label="" label-width="7px">
<c-input v-model="model.setmod.docamt" :readonly="true" placeholder="请输入document amount"></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -259,8 +259,8 @@ ...@@ -259,8 +259,8 @@
</c-table> </c-table>
</c-col> </c-col>
<div style="height=500px"> <div style="height=500px">
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" /> <setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
</div> </div>
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px"> <c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="100px"> <el-form-item class="formItemLabel" label="Settlement:" label-width="100px">
<span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span> <span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span>
...@@ -298,12 +298,12 @@ ...@@ -298,12 +298,12 @@
</el-table-column> </el-table-column>
<el-table-column label="Account" prop="act" width="auto"> <el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item label="0" :prop="'setglg.setgll.' + scope.$index + '.act'" > <el-form-item label="0" :prop="'setglg.setgll.' + scope.$index + '.act'" >
<c-select v-model="scope.row.act"> <c-select v-model="scope.row.act">
<el-option v-for="item in scope.act" :key="item.value" :label="item.label" <el-option v-for="item in scope.act" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>
......
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