Commit c5d72b42 by huangxin

botame,botset优化

parent c10e11d6
...@@ -21509,6 +21509,13 @@ const CodeTable = { ...@@ -21509,6 +21509,13 @@ const CodeTable = {
{ label: "Advance/Down Payment Guarantee", value: "00000203" }, { label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" }, { label: "performance Gua for Project contracting", value: "00000202" },
{ label: "blank text", value: "<NILTXT>" }, { label: "blank text", value: "<NILTXT>" },
],
docstabot:[
{label:"Collection pre-opened",value:"A"},
{label:"Collection opened",value:"B"},
{label:"Usance Documents accepted",value:"C"},
{label:"Collection settled / free of payment ",value:"D"},
{label:"Collection closed",value:"E"},
] ]
} }
export default CodeTable; export default CodeTable;
\ No newline at end of file
...@@ -4,31 +4,27 @@ import Utils from "~/utils" ...@@ -4,31 +4,27 @@ import Utils from "~/utils"
* Botame Check规则 * Botame Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"bodgrp.blk.setinsbo" :null, "bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null, "bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null, "bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null, "bodgrp.blk.proins" :null,
"trnmod.swiadd.newamt" :null, "trnmod.swiadd.newamt" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.adrblk" :null, "bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null, "bodgrp.dre.adrelc" :null,
"bodgrp.rec.matdat" :null, "bodgrp.rec.matdat" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null, "bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null, "bodgrp.col.pts.adrblk" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null, "bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null, "bodgrp.blk.dftins" :null,
"botp.usr.extkey" :null, "botp.usr.extkey" :null,
"bodgrp.blk.delins" :null, "bodgrp.blk.delins" :null,
"botamep.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null, "bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null, "bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null, "bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null, "bodgrp.dre.namelc" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null, "bodgrp.blk.colins" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bodgrp.drr.namelc" :null, "bodgrp.drr.namelc" :null,
......
...@@ -6,21 +6,6 @@ import Api from "~/service/Api"; ...@@ -6,21 +6,6 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.swiadd.newmatpercnt" :Utils.defaultFunction,
"trnmod.swiadd.newmatpertyp" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"trnmod.swiadd.newmatdat" :Utils.defaultFunction,
"trnmod.swiadd.newmatperbeg" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
...@@ -28,19 +13,43 @@ export default { ...@@ -28,19 +13,43 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction, "bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction, "bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction, "bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction, "bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction, "bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"oldbodgrp.rec.matperbeg" :Utils.defaultFunction,
"trnmod.swiadd.newmatdat" :Utils.defaultFunction,
"trnmod.swiadd.newmatperbeg" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction, "bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trnmod.swiadd.newmatpercnt" :Utils.defaultFunction,
"oldbodgrp.rec.matdat" :Utils.defaultFunction, "oldbodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction, "bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"botp.usr.extkey" :Utils.defaultFunction, "botp.usr.extkey" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction, "bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"trnmod.swiadd.newmatpertyp" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"liaall.misamt" :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,
"bodgrp.blk.bogdet" :Utils.defaultFunction, "bodgrp.blk.bogdet" :Utils.defaultFunction,
...@@ -58,14 +67,6 @@ export default { ...@@ -58,14 +67,6 @@ export default {
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"oldbodgrp.rec.matpertyp" :Utils.defaultFunction, "oldbodgrp.rec.matpertyp" :Utils.defaultFunction,
"botamep.amedat" :Utils.defaultFunction, "botamep.amedat" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"oldbodgrp.rec.matpercnt" :Utils.defaultFunction, "oldbodgrp.rec.matpercnt" :Utils.defaultFunction,
"oldbodgrp.rec.matperbeg" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -122,6 +122,30 @@ export default { ...@@ -122,6 +122,30 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){ async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -37,8 +37,8 @@ export default { ...@@ -37,8 +37,8 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"oldbodgrp.rec.matpercnt":[ "oldbodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"}, //{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} //{max: 3,message:"长度不能超过3"}
], ],
"oldbodgrp.rec.matpertyp":[ "oldbodgrp.rec.matpertyp":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -55,10 +55,10 @@ export default { ...@@ -55,10 +55,10 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"trnmod.swiadd.newmatdat":[ "trnmod.swiadd.newmatdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"trnmod.swiadd.ametxt":[ "trnmod.swiadd.ametxt":[
//{type: "string", required: true, message: "必输项"}, //type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"botp.recget.sdamod.dadsnd":[ "botp.recget.sdamod.dadsnd":[
...@@ -286,6 +286,7 @@ export default { ...@@ -286,6 +286,7 @@ export default {
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bodgrp.blk.intins":[ "bodgrp.blk.intins":[
//{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -311,6 +312,36 @@ export default { ...@@ -311,6 +312,36 @@ export default {
//{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -150,7 +150,6 @@ export default class Botame{ ...@@ -150,7 +150,6 @@ export default class Botame{
}, },
}, },
docgrdm:{ docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
}, },
drrp:{ drrp:{
...@@ -177,6 +176,17 @@ export default class Botame{ ...@@ -177,6 +176,17 @@ export default class Botame{
}, },
}, },
}, },
ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
}, },
setmod:{ setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab docamttyplab:"", // settled amount description as label .setmod.docamttyplab
...@@ -217,10 +227,10 @@ export default class Botame{ ...@@ -217,10 +227,10 @@ export default class Botame{
}, },
}, },
}, },
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -6,47 +6,61 @@ import Utils from "~/utils" ...@@ -6,47 +6,61 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"bodgrp.rec.matpertyp" :null, "bodgrp.rec.matpertyp" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.dre.adrelc" :null, "bodgrp.dre.adrelc" :null,
"cnybop.outflg" :null, "cnybop.outflg" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"bodgrp.dre.pts.nam" :null, "bodgrp.dre.pts.nam" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bodgrp.col.pts.adrblk" :null, "bodgrp.col.pts.adrblk" :null,
"bodgrp.blk.dftins" :null, "bodgrp.blk.dftins" :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,
"bodgrp.blk.delins" :null, "bodgrp.blk.delins" :null,
"bodgrp.rec.focflg" :null, "bodgrp.rec.focflg" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bodgrp.drr.adrelc" :null, "bodgrp.drr.adrelc" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"bodgrp.dre.namelc" :null, "bodgrp.dre.namelc" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"lendoc.account" :null, "lendoc.account" :null,
"bodgrp.dre.pts.adrblk" :null, "bodgrp.dre.pts.adrblk" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bodgrp.drr.pts.extkey" :null, "bodgrp.drr.pts.extkey" :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,
"bodgrp.rec.matperbeg" :null, "bodgrp.rec.matperbeg" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"bodgrp.blk.proins" :null, "bodgrp.blk.proins" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"bodgrp.drr.pts.adrblk" :null, "bodgrp.drr.pts.adrblk" :null,
"bopmod.szflg" :null, "bopmod.szflg" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null, "bopmod.dbdgrp.bas.actiontype" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null, "cnybop.traflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null, "bodgrp.col.adrelc" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null, "bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"bodgrp.col.pts.extkey" :null, "bodgrp.col.pts.extkey" :null,
"liaall.tenstm" :null, "liaall.tenstm" :null,
"setmod.redamt" :null, "setmod.redamt" :null,
"bodgrp.drr.pts.nam" :null, "bodgrp.drr.pts.nam" :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.basflg" :null, "bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null, "bodgrp.col.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null, "cnybop.libflg" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null, "bodgrp.blk.colins" :null,
"bopmod.ownextkey" :null, "bopmod.ownextkey" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
...@@ -55,6 +69,7 @@ let checkObj = { ...@@ -55,6 +69,7 @@ let checkObj = {
"bopmod.acttyp" :null, "bopmod.acttyp" :null,
"bodgrp.blk.othins" :null, "bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null, "bodgrp.dre.pts.extkey" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
"cnybop.vouflg" :null, "cnybop.vouflg" :null,
} }
......
...@@ -6,17 +6,12 @@ import Api from "~/service/Api"; ...@@ -6,17 +6,12 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction, "bptbck.dscbckcur" :Utils.defaultFunction,
"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,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
...@@ -24,46 +19,57 @@ export default { ...@@ -24,46 +19,57 @@ export default {
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction, "bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction, "bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction, "bopmod.basflg" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :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.vrfflg" :Utils.defaultFunction, "bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction, "bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction, "bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction, "cnybop.vouflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction, "cnybop.traflg" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction, "bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction, "bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :Utils.defaultFunction, "bodgrp.drr.pts.nam" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction, "bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :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,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.nam" :Utils.defaultFunction, "bodgrp.dre.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction, "bodgrp.rec.predat" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction, "lendoc.actflg" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction, "bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction, "setmod.redamt" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -266,5 +266,101 @@ export default { ...@@ -266,5 +266,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 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
export default { export default {
"botp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"liaall.tenstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bptbck.dscbckcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.blk.colins":[ "bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
...@@ -124,6 +29,7 @@ export default { ...@@ -124,6 +29,7 @@ export default {
], ],
"bodgrp.rec.lescom":[ "bodgrp.rec.lescom":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"} {max: 18,message:"长度不能超过18"}
...@@ -133,6 +39,14 @@ export default { ...@@ -133,6 +39,14 @@ export default {
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.drrp.ptsget.sdamod.dadsnd":[ "botp.drrp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -191,6 +105,10 @@ export default { ...@@ -191,6 +105,10 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.drep.ptsget.sdamod.dadsnd":[ "botp.drep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -257,6 +175,12 @@ export default { ...@@ -257,6 +175,12 @@ export default {
], ],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
...@@ -349,7 +273,7 @@ export default { ...@@ -349,7 +273,7 @@ export default {
"bopmod.outchargeamt":[ "bopmod.outchargeamt":[
{type: "string", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
...@@ -424,4 +348,160 @@ export default { ...@@ -424,4 +348,160 @@ export default {
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"botp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"botp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.col.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"liaall.tenstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bptbck.dscbckcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bopmod.dbdgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbdgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbdgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbdgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbdgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbdgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbdgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbdgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
export default class Botset{ export default class Botset{
constructor () { constructor () {
this.data = { this.data = {
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
bodgrp:{ bodgrp:{
blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
rec:{ rec:{
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam nam:"", // Name .bodgrp.rec.nam
...@@ -64,21 +32,16 @@ export default class Botset{ ...@@ -64,21 +32,16 @@ export default class Botset{
matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg matperbeg:"", // Start of Maturity Period MATBEG .bodgrp.rec.matperbeg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat predat:"", // Presentation Date .bodgrp.rec.predat
chato:"", // Our Charges to .bodgrp.rec.chato
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
}, },
cbs:{ cbs:{
opn1:{
cur:"", // Open Amount .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
max:{ max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt amt:"", // Document Amount .bodgrp.cbs.max.amt
}, },
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
}, },
drr:{ drr:{
pts:new Pts().data, pts:new Pts().data,
...@@ -98,30 +61,8 @@ export default class Botset{ ...@@ -98,30 +61,8 @@ export default class Botset{
adrelc:"", // 地址 .bodgrp.dre.adrelc adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
}, },
blk:{
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
dftins:"", // Draft Instructions .bodgrp.blk.dftins
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
}, },
botp:{ botp:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
drrp:{ drrp:{
ptsget:{ ptsget:{
sdamod:{ sdamod:{
...@@ -149,14 +90,69 @@ export default class Botset{ ...@@ -149,14 +90,69 @@ export default class Botset{
ptsaddp:{ ptsaddp:{
ptsaddg:[], // .botp.ptsaddp.ptsaddg ptsaddg:[], // .botp.ptsaddp.ptsaddg
}, },
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .botp.recget.sdamod.dadsnd
seainf:"", // .botp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .botp.matp.mattxtlab
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
tenstm:"", // Tenor Stream .liaall.tenstm
}, },
setmod:{ setmod:{
doccur:"", // document currency .setmod.doccur
redamt:"", // Reduction Amt. .setmod.redamt
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // Settle Amt. .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ setglg:{
...@@ -167,9 +163,9 @@ export default class Botset{ ...@@ -167,9 +163,9 @@ export default class Botset{
glemod:{ glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
}, },
redamt:"", // Reduction Amt. .setmod.redamt
}, },
mtabut:{ mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{ coninf:{
oitinf:{ oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
...@@ -190,6 +186,7 @@ export default class Botset{ ...@@ -190,6 +186,7 @@ export default class Botset{
extkey:"", // User ID .mtabut.coninf.usr.extkey extkey:"", // User ID .mtabut.coninf.usr.extkey
}, },
}, },
clsflg:"", // Close Flag .mtabut.clsflg
}, },
trnmod:{ trnmod:{
trndoc:{ trndoc:{
...@@ -224,6 +221,45 @@ export default class Botset{ ...@@ -224,6 +221,45 @@ export default class Botset{
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
},
},
}, },
cnybop:{ cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
...@@ -232,10 +268,14 @@ export default class Botset{ ...@@ -232,10 +268,14 @@ export default class Botset{
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
}, },
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -168,15 +168,15 @@ ...@@ -168,15 +168,15 @@
<!-- ====================底部======================= --> <!-- ====================底部======================= -->
<c-col> <c-col>
<c-row> <c-row>
<c-col :span="13"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="10"> <c-col :span="8">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt"> <el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input disabled v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input> <c-input disabled v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px"> <el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period"></c-select> <c-select disabled v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period"></c-select>
<el-option <el-option
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px"> <el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period"> <c-select disabled v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
</c-select> </c-select>
...@@ -200,15 +200,15 @@ ...@@ -200,15 +200,15 @@
</c-row> </c-row>
<c-row> <c-row>
<c-col :span="13"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="10"> <c-col :span="8">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt"> <el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input> <c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matper" label-width="5px"> <el-form-item label="" prop="oldbodgrp.rec.matper" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matper" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period"> <c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matper" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-option <el-option
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px"> <el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG"> <c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<el-option <el-option
...@@ -278,6 +278,16 @@ export default { ...@@ -278,6 +278,16 @@ export default {
} }
}, },
watch:{
"model.bodgrp.rec.doctypcod":function(){
if(this.model.bodgrp.rec.doctypcod=='P'){
this.model.oldbodgrp.rec.matpercnt="";
this.model.oldbodgrp.rec.matper="";
this.model.oldbodgrp.rec.matperbeg="";
this.model.trnmod.swiadd.newmatdat="";
}
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
...@@ -133,12 +133,13 @@ ...@@ -133,12 +133,13 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input <c-select
disabled disabled
v-model="model.bodgrp.rec.docsta" v-model="model.bodgrp.rec.docsta"
maxlength="40" style="width:100%"
placeholder="请输入Document Set Status" placeholder="请选择Document Set Status"
></c-input> :code="codes.docstabot"
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -328,7 +329,8 @@ export default { ...@@ -328,7 +329,8 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function() {}, created: function() {},
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
&Save
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
Modify
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.roptnam" data-path=".bopmod.dbdp.baspp.roptnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="申报号码" prop="bopmod.dbdgrp.bas.rptno">
<c-input v-model="model.bopmod.dbdgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="�'时申报流�'号" prop="bopmod.dbdgrp.bas.tmpref">
<c-input v-model="model.bopmod.dbdgrp.bas.tmpref" maxlength="16" placeholder="请输入�'时申报流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetreftmp">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetref">
GetRef
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.tmprefnew" data-path=".bopmod.dbdp.baspp.tmprefnew" > </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
&Check
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
Delete
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入操作类型" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiontype">
<c-select v-model="model.bopmod.dbdgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.dbdgrp.bas.ownextkey">
<c-select v-model="model.bopmod.dbdgrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="银行业务编号" prop="bopmod.dbdgrp.bas.buscode">
<c-input v-model="model.bopmod.dbdgrp.bas.buscode" maxlength="22" placeholder="请输入银行业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="结算方式" prop="bopmod.dbdgrp.bas.methods">
<c-select v-model="model.bopmod.dbdgrp.bas.methods" style="width:100%" placeholder="请选择结算方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="组织机构" prop="bopmod.dbdgrp.bas.custcod">
<c-input v-model="model.bopmod.dbdgrp.bas.custcod" maxlength="18" placeholder="请输入组织机构"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.cusnam" data-path=".bopmod.dbdp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="类型" prop="bopmod.dbdgrp.bas.custype">
<c-select v-model="model.bopmod.dbdgrp.bas.custype" style="width:100%" placeholder="请选择类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款人名称" prop="bopmod.dbdgrp.bas.custnm">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.custnm" maxlength="63" show-word-limit placeholder="请输入收款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.cornam" data-path=".bopmod.dbdp.baspp.cornam" > </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
&Error
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="付款人名称" prop="bopmod.dbdgrp.bas.oppuser">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.oppuser" maxlength="63" show-word-limit placeholder="请输入付款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.corpnam" data-path=".bopmod.dbdp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dbdp.baspp.acp">确认</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="身份证件号码" prop="bopmod.dbdgrp.bas.idcode">
<c-input v-model="model.bopmod.dbdgrp.bas.idcode" maxlength="32" placeholder="请输入身份证件号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.exratelab" data-path=".bopmod.dbdp.baspp.exratelab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇汇率" prop="bopmod.dbdgrp.bas.exrate">
<c-input v-model="model.bopmod.dbdgrp.bas.exrate" placeholder="请输入结汇汇率"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.lcyamtlab" data-path=".bopmod.dbdp.baspp.lcyamtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="人民币帐号/银行卡号" prop="bopmod.dbdgrp.bas.lcyacc">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyacc" maxlength="32" placeholder="请输入人民币帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇帐号/银行卡号" prop="bopmod.dbdgrp.bas.fcyacc">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyacc" maxlength="32" placeholder="请输入外汇帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt">
<c-input v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其它帐号/银行卡号" prop="bopmod.dbdgrp.bas.othacc">
<c-input v-model="model.bopmod.dbdgrp.bas.othacc" maxlength="32" placeholder="请输入其它帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收入款币种及金额" prop="bopmod.dbdgrp.bas.txccy">
<c-select v-model="model.bopmod.dbdgrp.bas.txccy" style="width:100%" placeholder="请选择收入款币种及金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收入款币种及金额" prop="bopmod.dbdgrp.bas.txamt">
<c-input v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内银行扣费" prop="bopmod.dbdgrp.bas.inchargeccy">
<c-select v-model="model.bopmod.dbdgrp.bas.inchargeccy" style="width:100%" placeholder="请选择国内银行扣费">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内银行扣费" prop="bopmod.dbdgrp.bas.inchargeamt">
<c-input v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
&Save
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
Modify
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.roptnam" data-path=".bopmod.dbdp.baspp.roptnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="申报号码" prop="bopmod.dbdgrp.bas.rptno">
<c-input v-model="model.bopmod.dbdgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="�'时申报流�'号" prop="bopmod.dbdgrp.bas.tmpref">
<c-input v-model="model.bopmod.dbdgrp.bas.tmpref" maxlength="16" placeholder="请输入�'时申报流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetreftmp">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetref">
GetRef
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.tmprefnew" data-path=".bopmod.dbdp.baspp.tmprefnew" > </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
&Check
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
Delete
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入操作类型" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="bopmod.dbdgrp.bas.actiontype">
<c-select v-model="model.bopmod.dbdgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.dbdgrp.bas.ownextkey">
<c-select v-model="model.bopmod.dbdgrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="银行业务编号" prop="bopmod.dbdgrp.bas.buscode">
<c-input v-model="model.bopmod.dbdgrp.bas.buscode" maxlength="22" placeholder="请输入银行业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="结算方式" prop="bopmod.dbdgrp.bas.methods">
<c-select v-model="model.bopmod.dbdgrp.bas.methods" style="width:100%" placeholder="请选择结算方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="组织机构" prop="bopmod.dbdgrp.bas.custcod">
<c-input v-model="model.bopmod.dbdgrp.bas.custcod" maxlength="18" placeholder="请输入组织机构"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.cusnam" data-path=".bopmod.dbdp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="类型" prop="bopmod.dbdgrp.bas.custype">
<c-select v-model="model.bopmod.dbdgrp.bas.custype" style="width:100%" placeholder="请选择类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款人名称" prop="bopmod.dbdgrp.bas.custnm">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.custnm" maxlength="63" show-word-limit placeholder="请输入收款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.cornam" data-path=".bopmod.dbdp.baspp.cornam" > </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
&Error
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="付款人名称" prop="bopmod.dbdgrp.bas.oppuser">
<c-input type="textarea" v-model="model.bopmod.dbdgrp.bas.oppuser" maxlength="63" show-word-limit placeholder="请输入付款人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.corpnam" data-path=".bopmod.dbdp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dbdp.baspp.acp">确认</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="身份证件号码" prop="bopmod.dbdgrp.bas.idcode">
<c-input v-model="model.bopmod.dbdgrp.bas.idcode" maxlength="32" placeholder="请输入身份证件号码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.exratelab" data-path=".bopmod.dbdp.baspp.exratelab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇汇率" prop="bopmod.dbdgrp.bas.exrate">
<c-input v-model="model.bopmod.dbdgrp.bas.exrate" placeholder="请输入结汇汇率"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopmod.dbdp.baspp.lcyamtlab" data-path=".bopmod.dbdp.baspp.lcyamtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="人民币帐号/银行卡号" prop="bopmod.dbdgrp.bas.lcyacc">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyacc" maxlength="32" placeholder="请输入人民币帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇帐号/银行卡号" prop="bopmod.dbdgrp.bas.fcyacc">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyacc" maxlength="32" placeholder="请输入外汇帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt">
<c-input v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其它帐号/银行卡号" prop="bopmod.dbdgrp.bas.othacc">
<c-input v-model="model.bopmod.dbdgrp.bas.othacc" maxlength="32" placeholder="请输入其它帐号/银行卡号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收入款币种及金额" prop="bopmod.dbdgrp.bas.txccy">
<c-select v-model="model.bopmod.dbdgrp.bas.txccy" style="width:100%" placeholder="请选择收入款币种及金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收入款币种及金额" prop="bopmod.dbdgrp.bas.txamt">
<c-input v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内银行扣费" prop="bopmod.dbdgrp.bas.inchargeccy">
<c-select v-model="model.bopmod.dbdgrp.bas.inchargeccy" style="width:100%" placeholder="请选择国内银行扣费">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内银行扣费" prop="bopmod.dbdgrp.bas.inchargeamt">
<c-input v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input disabled v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"></c-input> <c-select disabled v-model="model.bodgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status" :code="codes.docstabot"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="18">
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
<template slot="footer"> <template slot="footer">
<el-form-item label="" prop="lendoc.actflg"> <el-form-item label="" prop="lendoc.actflg">
<c-checkbox <c-checkbox
:disabled="model.bopmod.szflg==='3'"
v-model="model.lendoc.actflg" v-model="model.lendoc.actflg"
style="margin-left: 10px" style="margin-left: 10px"
disabled
>基础数据</c-checkbox >基础数据</c-checkbox
> >
</el-form-item> </el-form-item>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
v-model="model.bopmod.acttyp" v-model="model.bopmod.acttyp"
style="width: 100%" style="width: 100%"
placeholder="请选择款项来源" placeholder="请选择款项来源"
:disabled="model.bopmod.szflg==='2' || model.bopmod.szflg==='3'"
> >
<el-option <el-option
v-for="item in acttyp" v-for="item in acttyp"
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3'"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<c-select <c-select
v-model="model.bopmod.outchargeccy" v-model="model.bopmod.outchargeccy"
placeholder="请选择国外银行扣费(涉外收入申报专用)" placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%" style="width: 100%"
> >
<el-option <el-option
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<c-input <c-input
v-model="model.bopmod.outchargeamt" v-model="model.bopmod.outchargeamt"
placeholder="请输入国外银行扣费(涉外收入申报专用)" placeholder="请输入国外银行扣费(涉外收入申报专用)"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -77,6 +77,18 @@ ...@@ -77,6 +77,18 @@
<el-tab-pane label="外管信息" name="wg"> <el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/> <m-wg :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='1' && model.lendoc.actflg=='X'" label="涉外收入申请单-基础信息" name="basp1">
<c-content>
<m-basp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.lendoc.actflg=='X'" label="境内收入申请单-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--跨境人民币申报 --> <!--跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp"> <el-tab-pane label="跨境人民币申报" name="cnyp">
...@@ -87,6 +99,9 @@ ...@@ -87,6 +99,9 @@
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
...@@ -120,6 +135,8 @@ import Docpan1 from "./Docpan1" ...@@ -120,6 +135,8 @@ import Docpan1 from "./Docpan1"
import Wg from "./Wg" import Wg from "./Wg"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Basp from "./Basp"
import Basp1 from "./Basp1"
export default { export default {
...@@ -139,6 +156,8 @@ export default { ...@@ -139,6 +156,8 @@ export default {
"m-cnyp" : Cnyp, "m-cnyp" : Cnyp,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
"m-docpan1" : Docpan1, "m-docpan1" : Docpan1,
"m-basp" : Basp,
"m-basp1" : Basp1,
}, },
provide() { provide() {
return { return {
...@@ -160,8 +179,24 @@ export default { ...@@ -160,8 +179,24 @@ export default {
}, },
} }
}, },
computed: {
actflg: {
get() {
return this.model.lendoc.actflg === "X";
},
set(val) {
this.model.lendoc.actflg = val ? "X" : "";
},
},
},
methods:{ methods:{
//tabClick(){} //tabClick(){}
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
}, },
created:async function(){ created:async function(){
console.log("进入botset交易"); console.log("进入botset交易");
......
...@@ -268,6 +268,7 @@ ...@@ -268,6 +268,7 @@
<div class="line" /> <div class="line" />
<hr /> <hr />
<el-row> <el-row>
<!--左边--> <!--左边-->
...@@ -466,6 +467,21 @@ export default { ...@@ -466,6 +467,21 @@ export default {
}; };
}, },
watch:{
"model.bddgrp.rec.advtyp":function(){
if(this.model.bddgrp.rec.advtyp=='750'){
this.model.bddgrp.rec.advdat="";
}
else if(this.model.bddgrp.rec.advtyp=='754'){
this.model.bddgrp.rec.disdat="";
}
else if (this.model.bddgrp.rec.advtyp=='oth'){
this.model.bddgrp.rec.disdat="";
this.model.bddgrp.rec.advdat="";
}
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
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