Commit 483f68c5 by 潘际乾
parents a0c9309a c813192c
...@@ -2,41 +2,34 @@ import Api from "~/service/Api" ...@@ -2,41 +2,34 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onAcbpDet(){ async onAcbpDet() {
let rtnmsg = await this.executeRule("acbp.det") let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onRmbpDet() {
}, let rtnmsg = await this.executeRule("rmbp.det")
async onRmbpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("rmbp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onBebpDet() {
}, let rtnmsg = await this.executeRule("bebp.det")
async onBebpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("bebp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} onSeainf() {},
}, onDetpButgetref() {},
} }
\ No newline at end of file
...@@ -22,10 +22,8 @@ let checkObj = { ...@@ -22,10 +22,8 @@ let checkObj = {
"bfdgrp.oth.pts.dizhii" :null, "bfdgrp.oth.pts.dizhii" :null,
"idcode" :null, "idcode" :null,
"bfdgrp.doc.adrelc" :null, "bfdgrp.doc.adrelc" :null,
"bftp.dedget.sdamod.dadsnd" :null,
"bfdgrp.rec.disdat" :null, "bfdgrp.rec.disdat" :null,
"bfdgrp.rec.matdat" :null, "bfdgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.apl.pts.nam" :null, "bfdgrp.apl.pts.nam" :null,
"bfdsnd.usadet" :null, "bfdsnd.usadet" :null,
"bfdgrp.rec.rcvdat" :null, "bfdgrp.rec.rcvdat" :null,
...@@ -38,16 +36,12 @@ let checkObj = { ...@@ -38,16 +36,12 @@ let checkObj = {
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bfdgrp.rec.anobnkcod" :null, "bfdgrp.rec.anobnkcod" :null,
"bfdgrp.blk.docdis" :null, "bfdgrp.blk.docdis" :null,
"bftp.recget.sdamod.dadsnd" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.rec.invref" :null, "bfdgrp.rec.invref" :null,
"bfdgrp.rec.docrol" :null, "bfdgrp.rec.docrol" :null,
"bfdgrp.prb.pts.nam" :null, "bfdgrp.prb.pts.nam" :null,
"bfdgrp.rec.anodsp" :null, "bfdgrp.rec.anodsp" :null,
"bfdgrp.doc.pts.extkey" :null, "bfdgrp.doc.pts.extkey" :null,
"setmod.redamt" :null,
"bfdgrp.oth.pts.jigomc" :null, "bfdgrp.oth.pts.jigomc" :null,
"bftp.docp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.oth.pts.bankno" :null, "bfdgrp.oth.pts.bankno" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bfdsnd.addphr" :null, "bfdsnd.addphr" :null,
...@@ -60,7 +54,6 @@ let checkObj = { ...@@ -60,7 +54,6 @@ let checkObj = {
"bfdgrp.rec.predat" :null, "bfdgrp.rec.predat" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bfdgrp.blk.benref" :null, "bfdgrp.blk.benref" :null,
"bftp.prbp.ptsget.sdamod.dadsnd" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -8,7 +8,6 @@ import Utils from "~/utils/index" ...@@ -8,7 +8,6 @@ import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bftp.msgtyp" :Utils.defaultFunction, "bftp.msgtyp" :Utils.defaultFunction,
"setmod.setamt" :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,
...@@ -23,7 +22,6 @@ export default { ...@@ -23,7 +22,6 @@ export default {
"bfdgrp.cbs.max.cur" :Utils.defaultFunction, "bfdgrp.cbs.max.cur" :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,
"bfdgrp.rec.docrol" :Utils.defaultFunction,
"bfdgrp.rec.docrolflg" :Utils.defaultFunction, "bfdgrp.rec.docrolflg" :Utils.defaultFunction,
"bfdgrp.doc.pts.extkey" :Utils.defaultFunction, "bfdgrp.doc.pts.extkey" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction, "bfdgrp.cbs.max.amt" :Utils.defaultFunction,
......
...@@ -2,49 +2,12 @@ import Api from "~/service/Api" ...@@ -2,49 +2,12 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onDadsnd() {
let rtnmsg = await this.executeRule("bftp.dedget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
async onBFDDadsnd() {
let rtnmsg = await this.executeRule("bftp.recget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.rec.ownref = rtnmsg.data.bfdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onBFDSeainf() {
},
async onPrbpDet() { async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -53,8 +16,7 @@ export default { ...@@ -53,8 +16,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -63,8 +25,7 @@ export default { ...@@ -63,8 +25,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -73,8 +34,7 @@ export default { ...@@ -73,8 +34,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -83,8 +43,7 @@ export default { ...@@ -83,8 +43,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -93,8 +52,7 @@ export default { ...@@ -93,8 +52,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -103,8 +61,7 @@ export default { ...@@ -103,8 +61,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -113,38 +70,34 @@ export default { ...@@ -113,38 +70,34 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmisamt() { async onSetmodDet() {
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmissig() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onSetmodDet() { async onLiaallButmissig() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -153,8 +106,7 @@ export default { ...@@ -153,8 +106,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -163,8 +115,7 @@ export default { ...@@ -163,8 +115,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -173,8 +124,7 @@ export default { ...@@ -173,8 +124,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -183,8 +133,7 @@ export default { ...@@ -183,8 +133,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -193,30 +142,13 @@ export default { ...@@ -193,30 +142,13 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
} }
\ No newline at end of file
import Utils from "~/utils"
/**
* Brtdcr Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.oth.pts.extkey" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"brdgrp.blk.disdoc" :null,
"setmod.dspflg" :null,
"brtp.oth.pts.adrblk" :null,
"brdgrp.rec.orddat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brdgrp.rec.advdocflg" :null,
"advdisflg" :null,
"brdgrp.prb.pts.extkey" :null,
"brtp.oth.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brtp.oth.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.blk.docdis" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.blk.disdocflg" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brtp.oth.pts.extkey" :Utils.defaultFunction,
"brtp.oth.adrelc" :Utils.defaultFunction,
"brtp.oth.namelc" :Utils.defaultFunction,
"brtp.oth.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.advdocflg" :Utils.defaultFunction,
"brtp.oth.pts.adrblk" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.disdoc" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"brdgrp.rec.payrol" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :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,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
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)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Brtdcr{
constructor () {
this.data = {
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
advdat:"", // Date of Advice of Payment .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
payrol:"", // Payer .brdgrp.rec.payrol
orddat:"", // Order Date .brdgrp.rec.orddat
advdocflg:"", // Return of Documents .brdgrp.rec.advdocflg
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
blk:{
disdoc:"", // Disposal of Documents .brdgrp.blk.disdoc
disdocflg:"", // Defaulted content of Disposal of Documents .brdgrp.blk.disdocflg
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .brtp.oth.namelc
adrelc:"", // 地址 .brtp.oth.adrelc
dbfadrblkcn:"", // Chinese address .brtp.oth.dbfadrblkcn
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.othp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
},
advrefflg:"", // Advice of Refusal MT734 .advrefflg
refdocflg:"", // Refund Document Amount .refdocflg
advdisflg:"", // Advice of Discrepancy MT750 .advdisflg
rejpenins:"", // Rejection pending instructions .rejpenins
rejtype:"", // 退单方式 .rejtype
swtdat:"", // SWIFT message dated .swtdat
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Brtset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"brdgrp.prb.adrelc" :null,
"cnybop.outflg" :null,
"cfatrt.cfaflg" :null,
"brdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"cfatrt.ownextkey" :null,
"liaall.liaccv.totcovamt" :null,
"cfabrt.ownextkey" :null,
"cfabrt.cfaflg" :null,
"cfatrt.cda.useofunds" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"cfatrt.cda.cfeogudamount" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"cfadft.ownextkey" :null,
"brtp.ischktyp" :null,
"hmdmod2.bennam" :null,
"trnmod.swftyp" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bopmod.szflg" :null,
"brdgrp.cbs.max.amt" :null,
"cfadft.cfaflg" :null,
"cnybop.traflg" :null,
"brdgrp.prb.namelc" :null,
"brtp.prechkdat" :null,
"brdgrp.prb.pts.nam" :null,
"liaall.tenstm" :null,
"brdgrp.ben.pts.nam" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"brdgrp.prb.pts.extkey" :null,
"trnmod.cmtflg" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"brdgrp.rec.frepayflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"cfatrt.cda.cfeogudcurr" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"bopmod.acttyp" :null,
"liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"dftcre.dfflag" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cfatrt.cdaflg" :Utils.defaultFunction,
"cfabrt.cfaflg" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"trnmod.swftyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brtp.ischktyp" :Utils.defaultFunction,
"brdgrp.rec.frepayflg" :Utils.defaultFunction,
"trnmod.cmtflg" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"paypsb" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"cfatrt.basflg" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"cfabrt.basflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"cfadft.cfaflg" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"brdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"brdgrp.cbs.opn1.amt" :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处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
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 onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
...@@ -4,6 +4,42 @@ import Utils from "~/utils" ...@@ -4,6 +4,42 @@ import Utils from "~/utils"
* Litdck Check规则 * Litdck Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.rec.ownref" :null,
"brdgrp.srm.djutyp" :null,
"brdgrp.cbs.max.amt" :null,
"brdgrp.blk.docdis" :null,
"brdgrp.srm.djuref" :null,
"brtp.furide" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"brdgrp.rec.rcvdat" :null,
"brdgrp.rec.docflg" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.rec.orddat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brdgrp.rec.predat" :null,
"brdgrp.prb.pts.extkey" :null,
"brdgrp.rec.matdat" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"brdgrp.srm.djudat" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.srm.djuusr" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.rec.docprbrol" :null,
"brdgrp.blk.comcon" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -6,5 +6,63 @@ import Api from "~/service/Api"; ...@@ -6,5 +6,63 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"brdgrp.rec.igndisflg" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.rec.matdat" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"brdgrp.blk.matper" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"brdgrp.rec.dscinsflg" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.approvcod" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.advtyp" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"brtp.setnowflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.rec.utlnbr" :Utils.defaultFunction,
"brdgrp.rec.predat" :Utils.defaultFunction,
"brdgrp.rec.shpdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"brtp.cre752flg" :Utils.defaultFunction,
"lidgrp.rec.redclsflg" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,5 +2,209 @@ import Api from "~/service/Api" ...@@ -2,5 +2,209 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
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)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',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"
export default class Litdck{ export default class Litdck{
constructor () { constructor () {
this.data = { this.data = { zcsdrq:"",
invtyp:"",
outlen:{
szflg:"",
acttyp:"",
},
lidgrp:{
rec:{
inr:"",
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 简略信息 .lidgrp.rec.nam
revflg:"", // Revolving Flag .lidgrp.rec.revflg
avbby:"", // Available by .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开证日期 .lidgrp.rec.opndat
shpdat:"", // 最迟装运日期 .lidgrp.rec.shpdat
expdat:"", // 到期日/到期地点 .lidgrp.rec.expdat
expplc:"", // 到期日/到期地点 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
utlnbr:"", // Count of Received Document Sets .lidgrp.rec.utlnbr
},
cbs:{
nom1:{
cur:"", // 信用证金额 .lidgrp.cbs.nom1.cur
amt:"", // 信用证金额 .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
avbnam:"", // 指定银行 .lidgrp.avbnam
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .brtp.aammod.addamtflg
},
recget:{
sdamod:{
seainf:"", // .brtp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
},
},
setnowflg:"", // Register to Send and Settle Document .brtp.setnowflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
cre752flg:"", // Create 752 .brtp.cre752flg
furide:"", // Further Identification .brtp.furide
cre732flg:"", // Create MT 732 .brtp.cre732flg
},
brdgrp:{
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
rec:{
ownref:"", // Document Reference .brdgrp.rec.ownref
nam:"", // Name .brdgrp.rec.nam
docflg:"", // Document Type .brdgrp.rec.docflg
rcvdat:"", // Received on .brdgrp.rec.rcvdat
predat:"", // Presentation Date .brdgrp.rec.predat
matdat:"", // Maturity Date .brdgrp.rec.matdat
shpdat:"", // Date of Shipment .brdgrp.rec.shpdat
orddat:"", // Order Date .brdgrp.rec.orddat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .brdgrp.rec.dscinsflg
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
docsta:"", // Document Set Status .brdgrp.rec.docsta
igndisflg:"", // Ignore Discrepancies .brdgrp.rec.igndisflg
advtyp:"", // Type of Advice Received .brdgrp.rec.advtyp
totdat:"", // 付款日期 .brdgrp.rec.totdat
disdat:"", // Discrepancy Advice Dated .brdgrp.rec.disdat
approvcod:"", // Documents on Approval Basis .brdgrp.rec.approvcod
stadat:"", //Start Date
tenmaxday:"", //Tenor day
rptref:"", //合同号
invref:"",
},
cbs:{
max:{
cur:"", // Document Amount .brdgrp.cbs.max.cur
amt:"", // Document Amount .brdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
blk:{
matper:"", // Maturity Period .brdgrp.blk.matper
comcon:"", // Comments and Conclusions .brdgrp.blk.comcon
setinsbr:"", // Settlement Instructions BR .brdgrp.blk.setinsbr
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
},
srm:{
djuusr:"", // 单据出具人 .brdgrp.srm.djuusr
djudat:"", // 单据出具日期 .brdgrp.srm.djudat
djuref:"", // 货权单据编号 .brdgrp.srm.djuref
djutyp:"", // 单据类型 .brdgrp.srm.djutyp
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -238,6 +238,7 @@ export default class Litopn{ ...@@ -238,6 +238,7 @@ export default class Litopn{
outamt:"", // Sight Amount .liaall.outamt outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaallg:"", //公共交易booking 表外
liaccv:{ liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur concur:"", // 应付保证金金额 .liaall.liaccv.concur
...@@ -249,6 +250,8 @@ export default class Litopn{ ...@@ -249,6 +250,8 @@ export default class Litopn{
gleflg:"", // Create gle flag .liaall.liaccv.gleflg gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg:"", //公共交易booking 表外
stgstm:"" //公共交易booking 表外
}, },
limmod:{ limmod:{
limpts:{ limpts:{
...@@ -299,18 +302,22 @@ export default class Litopn{ ...@@ -299,18 +302,22 @@ export default class Litopn{
xreflg:"", // Recalculate Rates .setmod.xreflg xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:"", // 公共交易settlement
}, },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: { setfog: {
setfol: [] setfol: [] // 公共交易settlement
}, },
setfeg: { setfeg: {
setfel: [] setfel: [] // 公共交易settlement
}, },
glemod:{ glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
}, },
msgmod:{
docpth:"", // 公共交易settlement
}
}, },
bcbtyp1:"", // 不在名录 .bcbtyp1 bcbtyp1:"", // 不在名录 .bcbtyp1
bcbtyp2:"", // 异地付汇 .bcbtyp2 bcbtyp2:"", // 异地付汇 .bcbtyp2
......
...@@ -183,10 +183,10 @@ export default { ...@@ -183,10 +183,10 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"brdgrp.rec.rcvdat":[ "brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.advdat":[ "brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bpdgrp.cbs.opn1.cur":[ "bpdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
], ],
"lidgrp.rec.opndat":[ "lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.cbs.max.amt":[ "trdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
...@@ -215,7 +215,7 @@ export default { ...@@ -215,7 +215,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"lidgrp.rec.shpdat":[ "lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.fip.pts.nam":[ "trdgrp.fip.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -237,13 +237,13 @@ export default { ...@@ -237,13 +237,13 @@ export default {
], ],
"brdgrp.rec.matdat":[ "brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bpdgrp.rec.opndat":[ "bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bpdgrp.rec.matdat":[ "bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"dfdgrp.dff.pts.ref":[ "dfdgrp.dff.pts.ref":[
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"lidgrp.rec.expplc":[ "lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -275,7 +275,7 @@ export default { ...@@ -275,7 +275,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dfdgrp.rec.opndat":[ "dfdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"dfdgrp.rec.fintyp":[ "dfdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -300,16 +300,16 @@ export default { ...@@ -300,16 +300,16 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"trdgrp.rec.stttendat":[ "trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"dfdgrp.rec.stttendat":[ "dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"dfdgrp.rec.matdat":[ "dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.matdat":[ "trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"trdgrp.rec.finact":[ "trdgrp.rec.finact":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -27,6 +27,7 @@ export default class Litsel{ ...@@ -27,6 +27,7 @@ export default class Litsel{
trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
lidgrp:{ lidgrp:{
rec:{ rec:{
inr:"",
ownref:"", // L/C Reference .lidgrp.rec.ownref ownref:"", // L/C Reference .lidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .lidgrp.rec.nam nam:"", // Externally Displayed Name to Identify the Contract .lidgrp.rec.nam
avbby:"", // Available by .lidgrp.rec.avbby avbby:"", // Available by .lidgrp.rec.avbby
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -46,6 +64,7 @@ import Api from "~/service/Api" ...@@ -46,6 +64,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bftacc from "~/model/Bftacc" import Bftacc from "~/model/Bftacc"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check" import Check from "~/model/Bftacc/Check"
import Default from "~/model/Bftacc/Default" import Default from "~/model/Bftacc/Default"
import Pattern from "~/model/Bftacc/Pattern" import Pattern from "~/model/Bftacc/Pattern"
...@@ -72,10 +91,10 @@ export default { ...@@ -72,10 +91,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "accp",
trnName: "bftacc", trnName: "bftacc",
model: new Bftacc().data, model: new Bftacc().data,
checkRules: Check, checkRules: Check,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= --> <!-- left -->
<c-col :span="11"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
label="参考号" label="参考号"
prop="dedgrp.rec.ownref" prop="bfdgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.dedgrp.rec.ownref" v-model="model.bfdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
style="width: 95%" style="width: 95%"
...@@ -97,8 +97,6 @@ ...@@ -97,8 +97,6 @@
</c-col> </c-col>
<!-- </c-col> --> <!-- </c-col> -->
</c-col> </c-col>
<!-- 变动 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
...@@ -158,6 +156,7 @@ ...@@ -158,6 +156,7 @@
v-model="model.bfdgrp.rec.matdat" v-model="model.bfdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择远期单据到期日" placeholder="请选择远期单据到期日"
value-format="yyyy-MM-dd"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -196,53 +195,10 @@ ...@@ -196,53 +195,10 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-checkbox v-model="model.advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.bfdgrp.rec.advdocflg"
style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.mtabut.clsflg"
style="margin-left: 150px"
disabled
>闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.advdisflg"
style="margin-left: 150px;margin-top:100px"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="给受益人信息" prop="trnmod.trndoc.addstr750">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.addstr750"
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <!-- right -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
...@@ -309,6 +265,61 @@ ...@@ -309,6 +265,61 @@
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>拒付通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="advdocflg"
style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="clsflg"
style="margin-left: 150px"
disabled
>闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.advdisflg"
style="margin-left: 150px; margin-top: 100px;margin-bottom: 10px;"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="给受益人信息" prop="trnmod.trndoc.addstr750">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.addstr750"
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol"> <el-form-item label="付款人" prop="bfdgrp.rec.payrol">
...@@ -316,7 +327,15 @@ ...@@ -316,7 +327,15 @@
v-model="model.bfdgrp.rec.payrol" v-model="model.bfdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请选择付款人" placeholder="请选择付款人"
disabled
> >
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -328,6 +347,7 @@ ...@@ -328,6 +347,7 @@
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bfdgrp.oth.pts.extkey')" @keyup.enter.native="showGridPromptDialog('bfdgrp.oth.pts.extkey')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -340,20 +360,28 @@ ...@@ -340,20 +360,28 @@
:argadr="{ :argadr="{
title: '', title: '',
rol: 'oth', rol: 'oth',
grp: 'bfdgrp' grp: 'bfdgrp',
}" }"
></c-ptapdome> ></c-ptapdome>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行" prop="bfdgrp.rec.docprbrol"> <el-form-item label="交单行" prop="bfdgrp.rec.docprbrol">
<c-select <c-select
v-model="model.bfdgrp.rec.docprbrol" v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择交单行" placeholder="请选择交单行"
> disabled
</c-select> >
</el-form-item> <el-option
</c-col> v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
...@@ -373,8 +401,6 @@ ...@@ -373,8 +401,6 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- 勾选 -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item <el-form-item
label="External Key of Address" label="External Key of Address"
...@@ -532,13 +558,39 @@ import PtapDome from "~/views/Public/PtapDome"; ...@@ -532,13 +558,39 @@ import PtapDome from "~/views/Public/PtapDome";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptsmsg": Ptsmsg ,"c-ptapdome": PtapDome ,"c-ptap": Ptap}, components: { "c-ptsmsg": Ptsmsg, "c-ptapdome": PtapDome, "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
}, },
mounted:{
advrefflg: {
get() {
return this.model.advrefflg != ''
},
set(val) {
this.model.advrefflg = val ? "X" : ""
}
},
advdocflg: {
get() {
return this.model.bfdgrp.rec.advdocflg != ''
},
set(val) {
this.model.bfdgrp.rec.advdocflg = val ? "X" : ""
}
},
clsflg: {
get() {
return this.model.mtabut.clsflg != 'O'
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O"
}
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000009 --> :handleCheck="handleCheck"
<el-tab-pane label="明细" name="betdcrs"> :handleStash="handleStash"
<m-betdcrs :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<!--PD000026 --> <el-button size="small">备忘录</el-button>
<el-tab-pane label="不符点/拒付" name="betdcrd"> <el-button size="small">影像信息</el-button>
<m-betdcrd :model="model" :codes="codes"/> <!-- <el-button size="small">保存模板</el-button> -->
</el-tab-pane> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!--PD000027 --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-tab-pane label="或有" name="engp"> <el-button size="small">智能提示</el-button>
<m-engp :model="model" :codes="codes"/> </c-function-btn>
</el-tab-pane> <el-form
:model="model"
<!--PD000000 --> :rules="rules"
<el-tab-pane label="账务" name="setpan"> ref="modelForm"
<m-setpan :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
size="small"
<!--PD000000 --> :validate-on-rule-change="false"
<el-tab-pane label="附言" name="coninfp"> >
<m-coninfp :model="model" :codes="codes"/> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
</el-tab-pane> <!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs">
<!--PD000529 --> <c-content>
<el-tab-pane label="报文及面函" name="docpan"> <m-betdcrs :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000026 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="不符点/拒付" name="betdcrd">
<m-limitbody :model="model" :codes="codes"/> <m-betdcrd :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bftdcr from "~/model/Bftdcr" import Bftdcr from "~/model/Bftdcr";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bftdcr/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Bftdcr/Default" import Check from "~/model/Bftdcr/Check";
import Pattern from "~/model/Bftdcr/Pattern" import Default from "~/model/Bftdcr/Default";
import Betdcrs from "./Betdcrs" import Pattern from "~/model/Bftdcr/Pattern";
import Betdcrd from "./Betdcrd" import Betdcrs from "./Betdcrs";
import Betdcrd from "./Betdcrd";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftdcr", name: "Bftdcr",
components:{ components: {
"m-betdcrs" : Betdcrs, "m-betdcrs": Betdcrs,
"m-betdcrd" : Betdcrd, "m-betdcrd": Betdcrd,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "betdcrs",
trnName: "bftdcr", trnName: "bftdcr",
model: new Bftdcr().data, model: new Bftdcr().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {},
}, };
} },
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bftdcr交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入bftdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="远期单据指示" prop="bfdsnd.usadet"> <el-form-item label="远期单据指示" prop="bfdsnd.usadet">
<c-input <c-input type="textarea" v-model="model.bfdsnd.usadet" maxlength="65" show-word-limit placeholder="请输入远期单据指示" ></c-input>
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onUsatxtButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="远期单据指示"
type="primary" prop="bfdsnd.usadet"
icon="el-icon-search" style="width: 100%"
@click="onUsatxtButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="偿付条款" prop="bfdsnd.addphr"> <el-form-item label="偿付条款" prop="bfdsnd.addphr">
<c-input <c-input type="textarea" v-model="model.bfdsnd.addphr" maxlength="65" show-word-limit placeholder="请输入偿付条款" ></c-input>
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRgfphrButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="偿付条款"
type="primary" prop="bfdsnd.addphr"
icon="el-icon-search" style="width: 100%"
@click="onRgfphrButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人地址" prop="bfdsnd.newbenadr"> <el-form-item label="新受益人地址" prop="bfdsnd.newbenadr">
<c-input <c-input type="textarea" v-model="model.bfdsnd.newbenadr" maxlength="150" show-word-limit placeholder="请输入新受益人地址" disabled></c-input>
type="textarea"
v-model="model.bfdsnd.newbenadr"
maxlength="35"
show-word-limit
placeholder="请输入新受益人地址"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人编号" prop="bfdgrp.blk.benref"> <el-form-item label="新受益人编号" prop="bfdgrp.blk.benref">
<c-input <c-input type="textarea" v-model="model.bfdgrp.blk.benref" maxlength="16" show-word-limit placeholder="请输入新受益人编号" ></c-input>
type="textarea"
v-model="model.bfdgrp.blk.benref"
maxlength="16"
show-word-limit
placeholder="请输入新受益人编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftsnd/Event"; import Event from "~/model/Bftsnd/Event"
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data(){
return {}; return {
},
methods: { ...Event }, }
created: function () {}, },
}; methods:{...Event},
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="24">
<el-form-item label="受益人统一社会信用代码" prop="idcode"> <el-form-item label="受益人统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input> <c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人名称" prop="skrnam"> <el-form-item label="收款人名称" prop="skrnam">
<c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称"></c-input> <c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人账号" prop="skracc"> <el-form-item label="收款人账号" prop="skracc">
<c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号"></c-input> <c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="快递单号" prop="bfdgrp.rec.expmno"> <el-form-item label="快递单号" prop="bfdgrp.rec.expmno">
<c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="发票信息" prop="bfdgrp.rec.invref"> <el-form-item label="发票信息" prop="bfdgrp.rec.invref">
<c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行行号" prop="skhhao"> <el-form-item label="收款行行号" prop="skhhao">
<c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input> <c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行名称" prop="skhnam"> <el-form-item label="收款行名称" prop="skhnam">
<c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input> <c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod"> <el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号"></c-input> <c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat"> <el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期"></c-date-picker> <c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp"> <el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="报文类型" prop="bftp.msgtyp"> <el-form-item label="报文类型" prop="bftp.msgtyp">
<c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型"> <c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.doccur"> <el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择减少后的结算金额"> <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<c-page title="卖方信用证寄单">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
<el-button size="small">流程附言</el-button> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button> <el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button> <el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> --> <!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> --> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button> <el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <el-form
:model="model"
<!--PD000021 --> :rules="rules"
<el-tab-pane label="寄单" name="rgfp"> ref="modelForm"
<c-content> label-width="150px"
<m-rgfp :model="model" :codes="codes"/> label-position="right"
</c-content> size="small"
</el-tab-pane> :validate-on-rule-change="false"
>
<!--PD000259 --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="寄单1" name="rgfp1"> <!--PD000021 -->
<c-content> <el-tab-pane label="寄单" name="rgfp">
<m-rgfp1 :model="model" :codes="codes"/> <c-content>
</c-content> <m-rgfp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000050 -->
<el-tab-pane label="指示/不符点" name="dscins"> <!--PD000259 -->
<c-content> <el-tab-pane label="寄单1" name="rgfp1">
<m-dscins :model="model" :codes="codes"/> <m-rgfp1 :model="model" :codes="codes" />
</c-content> </el-tab-pane>
</el-tab-pane>
<!--PD000050 -->
<!--PD000049 --> <el-tab-pane label="指示/不符点" name="dscins">
<el-tab-pane label="单据描述" name="rgfdet"> <m-dscins :model="model" :codes="codes" />
<c-content> </el-tab-pane>
<m-rgfdet :model="model" :codes="codes"/>
</c-content> <!--PD000049 -->
</el-tab-pane> <el-tab-pane label="单据描述" name="rgfdet">
<m-rgfdet :model="model" :codes="codes" />
<!--PD000027 --> </el-tab-pane>
<el-tab-pane label="表外" name="engp">
<c-content> <!--PD000027 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="或有" name="engp">
</c-content> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<!-- <m-setpan :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/> </el-tab-pane>
-->
<c-content> <!--PD000000 -->
<m-setpan :model="model" :codes="codes" /> <el-tab-pane label="附言" name="coninfp">
</c-content> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000529 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="报文及面函" name="docpan">
<c-content> <m-docpan :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes"/> </el-tab-pane>
</c-content>
</el-tab-pane> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<!--PD000529 --> <m-limitbody :model="model" :codes="codes" />
<el-tab-pane label="报文及面函" name="docpan"> </el-tab-pane>
<c-content> </c-tabs>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Bftsnd from "~/model/Bftsnd"; import Bftsnd from "~/model/Bftsnd";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
...@@ -105,69 +90,64 @@ import Rgfp from "./Rgfp"; ...@@ -105,69 +90,64 @@ import Rgfp from "./Rgfp";
import Rgfp1 from "./Rgfp1"; import Rgfp1 from "./Rgfp1";
import Dscins from "./Dscins"; import Dscins from "./Dscins";
import Rgfdet from "./Rgfdet"; import Rgfdet from "./Rgfdet";
import Detp from "./Detp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftsnd", name: "Bftsnd",
components:{ components: {
"m-rgfp" : Rgfp, "m-rgfp": Rgfp,
"m-rgfp1" : Rgfp1, "m-rgfp1": Rgfp1,
"m-dscins" : Dscins, "m-dscins": Dscins,
"m-rgfdet" : Rgfdet, "m-rgfdet": Rgfdet,
"m-engp" : Engp, "m-setpan": Setpan,
"m-setpan" : Setpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-engp": Engp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-detp" : Detp, },
}, provide() {
provide() { return {
return { root: this,
root: this };
} },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "rgfp",
trnName: "bftsnd",
model: new Bftsnd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 },
computed: {}, created: async function () {
data(){ console.log("进入bftsnd交易");
return { let rtnmsg = await this.init({});
tabVal: "rgfp", if (rtnmsg.respCode == SUCCESS) {
trnName: "bftsnd", this.updateModel(rtnmsg.data);
model: new Bftsnd().data, //TODO 处理数据逻辑
checkRules: Check, } else {
defaultRules: Default, this.$notify.error({ title: "错误", message: "服务请求失败!" });
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bftsnd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/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">
<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>
</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>
<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>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/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">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/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">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/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">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/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">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthp1Det">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</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/Brtdcr/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">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000037 -->
<el-tab-pane label="Details" name="utlp">
<m-utlp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000059 -->
<el-tab-pane label="Discrepancies" name="brtdcrd">
<m-brtdcrd :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtdcr from "~/model/Brtdcr"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Brtdcr/Check"
import Default from "~/model/Brtdcr/Default"
import Pattern from "~/model/Brtdcr/Pattern"
import Utlp from "./Utlp"
import Brtdcrd from "./Brtdcrd"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre"
export default {
name: "Brtdcr",
components:{
"m-utlp" : Utlp,
"m-brtdcrd" : Brtdcrd,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "utlp",
trnName: "brtdcr",
model: new Brtdcr().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入brtdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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="24">
<c-col :span="11">
<el-form-item label="外汇贷款" prop="cfatrt.cfaflg">
<c-select v-model="model.cfatrt.cfaflg" style="width:100%" placeholder="请选择外汇贷款">
</c-select>
</el-form-item>
<el-form-item label="地区机构号" prop="cfatrt.ownextkey">
<c-select v-model="model.cfatrt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-fullbox>
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
<el-form-item label="是否外保内贷" prop="cfatrt.cdaflg">
<c-select v-model="model.cfatrt.cdaflg" style="width:100%" placeholder="请选择是否外保内贷">
</c-select>
</el-form-item>
</c-fullbox>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="海外代付" prop="cfadft.cfaflg">
<c-select v-model="model.cfadft.cfaflg" style="width:100%" placeholder="请选择海外代付">
</c-select>
</el-form-item>
<el-form-item label="地区机构号" prop="cfadft.ownextkey">
<c-select v-model="model.cfadft.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期信用证" prop="cfabrt.cfaflg">
<c-select v-model="model.cfabrt.cfaflg" style="width:100%" placeholder="请选择远期信用证">
</c-select>
</el-form-item>
<el-form-item label="地区机构号" prop="cfadft.ownextkey">
<c-select v-model="model.cfadft.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="cfatrt.cda.useofunds">
<c-select v-model="model.cfatrt.cda.useofunds" style="width:100%" placeholder="请选择资金用途">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中资企业境外担保项下境内贷款额度币种" prop="cfatrt.cda.cfeogudcurr">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:100%" placeholder="请选择中资企业境外担保项下境内贷款额度币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中资企业境外担保项下境内贷款额度金额" prop="cfatrt.cda.cfeogudamount">
<c-input v-model="model.cfatrt.cda.cfeogudamount" placeholder="请输入中资企业境外担保项下境内贷款额度金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中资企业境外担保项下贷款业务批准文件号" prop="cfatrt.cda.cfeogudad">
<c-input type="textarea" v-model="model.cfatrt.cda.cfeogudad" maxlength="32" show-word-limit placeholder="请输入中资企业境外担保项下贷款业务批准文件号" ></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-checkbox
v-model="model.cfadft.basflg"
>签约信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabrt.basflg">签约信息</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabrt.dclflg">变动信息</c-checkbox>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<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>
</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>
<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>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</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/Brtset/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="24">
<c-col :span="11">
<el-form-item
label="进口开证额度主体"
prop="brdgrp.apl.pts.extkey"
style="width = 100%">
<c-fullbox>
<c-input
v-model="model.brdgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入信用证编号"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family:'宋体';font-weight:bold">details</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width:100%"
placeholder="请选择Date of Expiry">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/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="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment