Commit 840476c7 by Eivi

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 dea7417b a68f016f
......@@ -33434,6 +33434,13 @@ const CodeTable = {
{ label: "Advance/Down Payment Guarantee", value: "00000203" },
{ label: "performance Gua for Project contracting", value: "00000202" },
{ 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;
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Botacc{
constructor () {
......@@ -166,6 +167,10 @@ export default class Botacc{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -4,31 +4,27 @@ import Utils from "~/utils"
* Botame Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"trnmod.swiadd.newamt" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"bodgrp.rec.matdat" :null,
"setmod.dspflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"botp.drrp.ptsget.sdamod.dadsnd" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"botp.usr.extkey" :null,
"bodgrp.blk.delins" :null,
"botamep.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"setmod.docamt" :null,
"bodgrp.drr.namelc" :null,
......
......@@ -6,21 +6,6 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
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.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
......@@ -28,19 +13,43 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :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,
"oldbodgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :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.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,
"trnmod.swiadd.newmatpercnt" :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,
"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.inflev" :Utils.defaultFunction,
"bodgrp.blk.bogdet" :Utils.defaultFunction,
......@@ -58,14 +67,6 @@ export default {
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"oldbodgrp.rec.matpertyp" :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.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处理
......@@ -122,6 +122,30 @@ export default {
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(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -37,8 +37,8 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oldbodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
//{type: "string", required: false, message: "必输项"},
//{max: 3,message:"长度不能超过3"}
],
"oldbodgrp.rec.matpertyp":[
{type: "string", required: false, message: "必输项"},
......@@ -55,10 +55,10 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newmatdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.ametxt":[
//{type: "string", required: true, message: "必输项"},
//type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"botp.recget.sdamod.dadsnd":[
......@@ -286,6 +286,7 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.intins":[
//{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -311,6 +312,36 @@ export default {
//{type: "string", required: true, message: "必输项"},
{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":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -150,7 +150,6 @@ export default class Botame{
},
},
docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
},
drrp:{
......@@ -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:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
......@@ -217,10 +227,10 @@ export default class Botame{
},
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -6,6 +6,7 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.blk.docpre" :Utils.defaultFunction,
"bodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.srm.djutyp" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
......
......@@ -55,6 +55,7 @@ export default class Botdav{
},
},
blk:{
docpre:"", // bodgrp.blk.docpre
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
......
......@@ -6,47 +6,61 @@ import Utils from "~/utils"
let checkObj = {
"liaall.misamt" :null,
"bodgrp.rec.matpertyp" :null,
"botp.recget.sdamod.dadsnd" :null,
"bodgrp.dre.adrelc" :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,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.blk.dftins" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"bodgrp.blk.delins" :null,
"bodgrp.rec.focflg" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bodgrp.drr.adrelc" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"bodgrp.dre.namelc" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"lendoc.account" :null,
"bodgrp.dre.pts.adrblk" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bodgrp.drr.pts.extkey" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"bopmod.dbdgrp.bas.custype" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bodgrp.rec.matperbeg" :null,
"liaall.limmod.ownref" :null,
"bodgrp.blk.proins" :null,
"liaall.limmod.ecifno" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"bodgrp.drr.pts.adrblk" :null,
"bopmod.szflg" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null,
"botp.colp.ptsget.sdamod.dadsnd" :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,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"bodgrp.drr.pts.nam" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null,
"botp.drep.ptsget.sdamod.dadsnd" :null,
"bodgrp.blk.colins" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
......@@ -55,6 +69,7 @@ let checkObj = {
"bopmod.acttyp" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
......
......@@ -6,17 +6,12 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :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,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
......@@ -24,46 +19,57 @@ export default {
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bopmod.szflg" :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,
"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.nonrevflg1" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"bodgrp.rec.focflg" :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,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.drr.pts.nam" :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.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :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,
"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,
"lendoc.actflg" :Utils.defaultFunction,
"bodgrp.col.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :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处理
......@@ -266,5 +266,101 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -159,7 +159,8 @@ export default {
docdisflg: {
get() {
return this.model.advdisflg === "X";
return this.model.advdisflg === "X" || this.model.advrefflg ==="X" ? true : false;
},
set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : "";
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt"
data-path=".mtabut.coninf.oitinf.labinftxt"></span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt">
</span>
</c-col>
<c-col :span="24">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60"
show-word-limit placeholder="请输入Infotext"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" :offset="1">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%"
placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%"
placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-fullbox>
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID">
</c-input>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -56,19 +74,18 @@ import Event from "~/model/Botacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
......@@ -2,7 +2,6 @@
<c-page title="出口托收承兑">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
......@@ -29,8 +28,13 @@
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="setpan" name="setpan">
<!-- <el-tab-pane label="setpan" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane> -->
<el-tab-pane label="setpan" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
......@@ -40,7 +44,9 @@
<!--PD000529 -->
<el-tab-pane label="docpan" name="docpan">
<m-docpan :model="model" :codes="codes" />
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
......@@ -66,10 +72,12 @@ import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
import Setpan from "./Setpan"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
export default {
......@@ -92,7 +100,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
tabVal: "ptyp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......@@ -100,6 +108,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
......@@ -168,15 +168,15 @@
<!-- ====================底部======================= -->
<c-col>
<c-row>
<c-col :span="13">
<c-col :span="11">
<c-col :span="24">
<c-col :span="10">
<c-col :span="8">
<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>
</el-form-item>
</c-col>
<c-col :span="7">
<c-col :span="5">
<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>
<el-option
......@@ -189,7 +189,7 @@
</el-form-item>
</c-col>
<c-col :span="7">
<c-col :span="11">
<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>
......@@ -200,15 +200,15 @@
</c-row>
<c-row>
<c-col :span="13">
<c-col :span="11">
<c-col :span="24">
<c-col :span="10">
<c-col :span="8">
<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>
</el-form-item>
</c-col>
<c-col :span="7">
<c-col :span="5">
<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">
<el-option
......@@ -222,7 +222,7 @@
</el-form-item>
</c-col>
<c-col :span="7">
<c-col :span="11">
<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">
<el-option
......@@ -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},
created:function(){
......
......@@ -133,12 +133,13 @@
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input
<c-select
disabled
v-model="model.bodgrp.rec.docsta"
maxlength="40"
placeholder="请输入Document Set Status"
></c-input>
style="width:100%"
placeholder="请选择Document Set Status"
:code="codes.docstabot"
></c-select>
</el-form-item>
</c-col>
......@@ -328,7 +329,8 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
};
},
methods: { ...Event },
created: function() {},
......
......@@ -122,8 +122,8 @@
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" onkeyup="value=value.replace(/[^\d]/g,' ')"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"
onkeyup="value=value.replace(/[^\d]/g,' ')" :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item>
</c-col>
......@@ -163,7 +163,7 @@
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
<c-input v-model="scope.row.cmail1" @change="docpre"></c-input>
</template>
</el-table-column>
......@@ -329,6 +329,16 @@ export default {
// }
// }
},
async docpre() {
let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
computed: {
......
......@@ -120,7 +120,7 @@
<c-col :span="24">
<el-form-item label="" prop="clsflg">
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Flag</c-checkbox>
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Contract</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="21">
......
......@@ -119,7 +119,7 @@
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="18">
......
......@@ -22,9 +22,9 @@
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<c-checkbox
:disabled="model.bopmod.szflg==='3'"
v-model="model.lendoc.actflg"
style="margin-left: 10px"
disabled
>基础数据</c-checkbox
>
</el-form-item>
......@@ -38,7 +38,7 @@
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
:disabled="model.bopmod.szflg==='2' || model.bopmod.szflg==='3'"
>
<el-option
v-for="item in acttyp"
......@@ -59,7 +59,7 @@
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3'"
>
</c-select>
</el-form-item>
......@@ -71,7 +71,7 @@
<c-select
v-model="model.bopmod.outchargeccy"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%"
>
<el-option
......@@ -89,7 +89,7 @@
<c-input
v-model="model.bopmod.outchargeamt"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -77,6 +77,18 @@
<el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/>
</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">
......@@ -87,6 +99,9 @@
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -120,6 +135,8 @@ import Docpan1 from "./Docpan1"
import Wg from "./Wg"
import Cnyp from "./Cnyp"
import Limitbody from "~/views/Public/Limitbody";
import Basp from "./Basp"
import Basp1 from "./Basp1"
export default {
......@@ -139,6 +156,8 @@ export default {
"m-cnyp" : Cnyp,
"m-limitbody" : Limitbody,
"m-docpan1" : Docpan1,
"m-basp" : Basp,
"m-basp1" : Basp1,
},
provide() {
return {
......@@ -160,8 +179,24 @@ export default {
},
}
},
computed: {
actflg: {
get() {
return this.model.lendoc.actflg === "X";
},
set(val) {
this.model.lendoc.actflg = val ? "X" : "";
},
},
},
methods:{
//tabClick(){}
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
},
created:async function(){
console.log("进入botset交易");
......
......@@ -268,6 +268,7 @@
<div class="line" />
<hr />
<el-row>
<!--左边-->
......@@ -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},
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