Commit c813192c by 严一鸣
parents 3092d225 13ec4f14
...@@ -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
...@@ -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>
...@@ -146,6 +146,8 @@ import Fund from "./Fund" ...@@ -146,6 +146,8 @@ import Fund from "./Fund"
import Brtdck from "./Brtdck" import Brtdck from "./Brtdck"
import Litsel from "./Litsel" import Litsel from "./Litsel"
import Brtdcr from "./Brtdcr"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
*/ */
...@@ -304,6 +306,7 @@ const BusRouter = [ ...@@ -304,6 +306,7 @@ const BusRouter = [
{ path: 'fund', component: Fund, name: 'Fund', meta: { title: '资金信息管理' } }, { path: 'fund', component: Fund, name: 'Fund', meta: { title: '资金信息管理' } },
{ path: 'Litsel', component: Litsel, name: 'Litsel', meta: { title: '进口信用证入口' } }, { path: 'Litsel', component: Litsel, name: 'Litsel', meta: { title: '进口信用证入口' } },
{ path: 'Brtdcr', component: Brtdcr, name: 'Brtdcr', meta: { title: 'Brtdcr' } },
] ]
......
<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/Litdck/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/Litdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-col :span="24">
<el-form-item label="Documents Presented">
<c-table>
<el-table-column prop="CMAIL1"
label="1st"
sortable
>
</el-table-column>
<el-table-column prop="CMAIL2"
label="2nd"
sortable
>
</el-table-column>
</el-table-column>
<el-table-column prop="DOCNAM"
label="Document"
sortable
>
</el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header">
<el-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</el-button>
</template>
<template slot-scope="scoped">
<el-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</el-button
>
</template>
</el-table-column>
</c-table>
</el-form-item>
</el-col>
</el-col>
<el-col :span="11" :offset="1">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-input disabled v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker disabled type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Discrepancy Advice Dated"
label-width="150px"
prop="brdgrp.rec.disdat">
<c-date-picker disabled type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<c-checkbox disabled v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
</el-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/Litdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event
,addRow(){},
removeRow(){},},
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/Litdck/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/Litdck/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/Litdck/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/Litdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="单据类型" prop="brdgrp.srm.djutyp">
<c-select v-model="model.brdgrp.srm.djutyp" style="width:100%" placeholder="请选择单据类型"
:code="codes.djutyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据出具人" prop="brdgrp.srm.djuusr">
<c-input disabled v-model="model.brdgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input>
</el-form-item>
</c-col>
</el-col>
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="单据出具日期" prop="brdgrp.srm.djudat">
<c-date-picker disabled type="date" v-model="model.brdgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货权单据编号" prop="brdgrp.srm.djuref">
<c-input disabled v-model="model.brdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" 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="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
</c-tabs>
<!--PD000047 -->
<el-tab-pane label="Docs. Received" name="litdckp">
<c-content>
<m-litdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000062 -->
<el-tab-pane v-if="this.model.brdgrp.rec.dscinsflg" label="Discr./lnstr." name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="货权单据" name="srmp">
<m-srmp :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>
...@@ -14,10 +63,35 @@ import commonProcess from "~/mixin/commonProcess" ...@@ -14,10 +63,35 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Litdck/Check" import Check from "~/model/Litdck/Check"
import Default from "~/model/Litdck/Default" import Default from "~/model/Litdck/Default"
import Pattern from "~/model/Litdck/Pattern" import Pattern from "~/model/Litdck/Pattern"
import Litdckp from "./Litdckp"
import Docpre from "./Docpre"
// 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 Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Limitbody from "~/views/Public/Limitbody"
export default { export default {
name: "Litdck",
components:{ components:{
"m-litdckp" : Litdckp,
"m-docpre" : Docpre,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-srmp" : Srmp,
}, },
provide() { provide() {
return { return {
...@@ -27,33 +101,38 @@ export default { ...@@ -27,33 +101,38 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "litdckp",
trnName: "litdck", trnName: "litdck",
model: new Litdck().data, model: new Litdck().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {... CodeTable
}, },
} }
}, },
methods:{ methods:{
tabClick(){ myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
} }
}, },
created:async function(){ created:async function(){
console.log("进入litdck交易"); console.log("进入litdck交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ { //TODO 处理数据逻辑
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
} }
else else
{ {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} }
} }
</script> </script>
......
...@@ -16,8 +16,15 @@ ...@@ -16,8 +16,15 @@
<!-- <el-tab-pane :label="$t('syswrn.PD000005')" name="syswrndisplay"> <!-- <el-tab-pane :label="$t('syswrn.PD000005')" name="syswrndisplay">
<m-syswrndisplay :model="model" :codes="codes"/> <m-syswrndisplay :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -75,6 +75,7 @@ export default { ...@@ -75,6 +75,7 @@ export default {
{ inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" }, { inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" },
{ inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" }, { inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" }, { inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "litsel", ininam: "进口信用证入口", pntmiu: "4" },
{ inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" }, { inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" },
{ inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" }, { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
{ inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" }, { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
......
<template>
<div>
<c-col :span="12">
<el-form-item :label="`${argadr.title}`" :prop="`${argadr.trans}.cbs.opn1.cur`">
<c-select
disabled
v-model="model[argadr.trans].cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Currency"
><!--@keyup.enter.native="nom1CurEvent"-->
<el-option
v-for="item in cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="5px"
:prop="`${argadr.trans}.cbs.opn1.amt`"
>
<c-input
v-model="model[argadr.trans].cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
trans: "", //所属模块
};
},
},
},
data() {
return {
data: [],
cur: [
{ label: "HKD", value: "HKD" },
{ label: "CHF", value: "CHF" },
{ label: "EUR", value: "EUR" },
{ label: "USD", value: "USD" },
{ label: "CAD", value: "CAD" },
{ label: "CNY", value: "CNY" },
{ label: "AUD", value: "AUD" },
{ label: "SGD", value: "SGD" },
{ label: "KRW", value: "KRW" },
{ label: "JPY", value: "JPY" },
{ label: "GBP", value: "GBP" },
{ label: "N/A(仅限汇总填报时使用)", value: "N/A" },
{ label: "SEK", value: "SEK" },
{ label: "NZD", value: "NZD" },
],
};
},
watch: {},
methods: {},
created: function () {},
};
</script>
<style>
</style>
<template>
<div>
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="Document Amount"
:prop="`${argadr.trans}.cbs.max.cur`"
>
<c-select
disabled
v-model="model[argadr.trans].cbs.max.cur"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item
label=""
label-width="5px"
:prop="`${argadr.trans}.cbs.max.amt`"
>
<c-input
disabled
v-model="model[argadr.trans].cbs.max.amt"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="Open Amount" :prop="`${argadr.trans}.cbs.opn1.cur`">
<c-input
disabled
v-model="model[argadr.trans].cbs.opn1.cur"
maxlength="3"
></c-input>
</c-form-item>
</c-col>
<c-col :span="11">
<c-form-item
label=""
label-width="5px"
:prop="`${argadr.trans}.cbs.opn1.amt`"
>
<c-input
disabled
v-model="model[argadr.trans].cbs.opn1.amt"
:placeholder="$t('other.please_enter') + 'Balance'"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Received on" :prop="`${argadr.trans}.rec.rcvdat`">
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Advised on"
label-width="90px"
:prop="`${argadr.trans}.rec.advdat`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.advdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="brtp.matp.mattxtlab">
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" :prop="`${argadr.trans}.rec.docflg`">
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
>
<c-input
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
disabled
>
</c-input>
</c-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-col :span="24">
<c-form-item label="Applicant Ref." :prop="`${argadr.trans}.apl.pts.ref`">
<c-input
disabled
v-model="model[argadr.trans].apl.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.apl.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Beneficiary Ref." :prop="`${argadr.trans}.ben.pts.ref`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.ben.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Presenting Bank Ref."
:prop="`${argadr.trans}.prb.pts.ref`"
>
<c-input
disabled
v-model="model[argadr.trans].prb.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.prb.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].prb.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- Right -->
<c-col :span="12">
<div v-for="(item, idx) in rol" :key="idx">
<c-ptsmsg
:model="model"
:argadr="{
title: item.title,
grp: `${argadr.trans}`,
rol: item.trans,
}"
:disabled="true"
></c-ptsmsg>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Ptsmsg from "~/views/Public/Ptsmsg";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
components: {
"c-ptsmsg": Ptsmsg,
},
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
trans: "", //所属模块
};
},
},
rol: {
type: Array,
default: ()=>[]
},
},
data() {
return {
data: [],
cur: [
{ label: "HKD", value: "HKD" },
{ label: "CHF", value: "CHF" },
{ label: "EUR", value: "EUR" },
{ label: "USD", value: "USD" },
{ label: "CAD", value: "CAD" },
{ label: "CNY", value: "CNY" },
{ label: "AUD", value: "AUD" },
{ label: "SGD", value: "SGD" },
{ label: "KRW", value: "KRW" },
{ label: "JPY", value: "JPY" },
{ label: "GBP", value: "GBP" },
{ label: "N/A(仅限汇总填报时使用)", value: "N/A" },
{ label: "SEK", value: "SEK" },
{ label: "NZD", value: "NZD" },
],
};
},
watch: {},
methods: {},
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