Commit b5d18aaa by lianyang
parents b44e28b5 8e66ff6e
...@@ -2919,6 +2919,17 @@ const CodeTable = { ...@@ -2919,6 +2919,17 @@ const CodeTable = {
{ label: "Other Type of Advice, wait for documents", value: "O" }, { label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" }, { label: "Documents have been refused and returned", value: "R" },
], ],
docsta1: [
{ label: "Advice of Payment rec., wait for docs", value: "A" },
{ label: "Advice of Payment rec., documents rec.", value: "B" },
{ label: "Advice of Discrepancy rec, wait for doc", value: "C" },
{ label: "Advice of Discrepancy rec, docs rec.", value: "D" },
{ label: "Clean documents received", value: "E" },
{ label: "Discrepant documents received", value: "F" },
{ label: "Documents taken up", value: "I" },
{ label: "Documents settled free of payment", value: "J" },
{ label: "Documents have been refused and returned", value: "R" },
],
doctyp: [ doctyp: [
{ label: "买方单据", value: "BDD" }, { label: "买方单据", value: "BDD" },
{ label: "进口代收", value: "BCD" }, { label: "进口代收", value: "BCD" },
......
...@@ -5,26 +5,29 @@ import Utils from "~/utils" ...@@ -5,26 +5,29 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"bedgrp.oth.namelc" :null, "bedgrp.oth.namelc" :null,
"liaall.limmod.ecifno" :null,
"bedgrp.prb.pts.nam" :null,
"bedgrp.oth.adrelc" :null, "bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null, "bedgrp.prb.namelc" :null,
"setmod.dspflg" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.blk.docdis" :null, "bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null, "bedgrp.prb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"bedgrp.blk.docins" :null, "bedgrp.blk.docins" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.blk.intdis" :null, "bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null, "bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null, "bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null, "bedgrp.prb.pts.adrblk" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null, "bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null,
"bedgrp.blk.disdoc" :null, "bedgrp.blk.disdoc" :null,
"bedgrp.iss.pts.nam" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
} }
......
...@@ -7,48 +7,49 @@ import Utils from "~/utils/index" ...@@ -7,48 +7,49 @@ import Utils from "~/utils/index"
export default { export default {
"bedgrp.blk.docdis" :Utils.defaultFunction, "bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bedgrp.rec.advdocflg" :Utils.defaultFunction, "bedgrp.rec.advdocflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "bedgrp.blk.disdoc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction, "advrefflg" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction, "bedgrp.cbs.max.amt" :Utils.defaultFunction,
"rejpenins" :Utils.defaultFunction, "rejpenins" :Utils.defaultFunction,
"bedgrp.cbs.opn1.amt" :Utils.defaultFunction, "bedgrp.cbs.opn1.amt" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction, "bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction, "bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :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,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction, "bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction, "bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction, "bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction, "bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction, "bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction, "bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction, "bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction, "bedgrp.rec.docsta" :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,
"ledgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,201 +2,160 @@ import Api from "~/service/Api" ...@@ -2,201 +2,160 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onIntdisButtxmsel() { async onOthpDet(){
let rtnmsg = await this.executeRule("intdis.buttxmsel") let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onPrbpDet(){
onSeainf(data) { let rtnmsg = await this.executeRule("prbp.det")
console.log('测试。。。。。。。', data) if(rtnmsg.respCode == SUCCESS)
}, {
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onIntdisButtxmsel(){
async onAplpDet() { let rtnmsg = await this.executeRule("intdis.buttxmsel")
let rtnmsg = await this.executeRule("aplp.det") if(rtnmsg.respCode == SUCCESS)
if (rtnmsg.respCode == SUCCESS) { {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onResrejButtxmsel(){
async onResrejButtxmsel() {
let rtnmsg = await this.executeRule("resrej.buttxmsel") let rtnmsg = await this.executeRule("resrej.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDisdocButtxmsel() { async onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel") let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDocdisButtxmsel() { async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel") let rtnmsg = await this.executeRule("docdis.buttxmsel")
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 onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt") 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 onLiaallButmissig() { async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig") 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: '服务请求失败!'});
} }
}, },
async onMtdbutButapy() { async onWrkpDet(){
let rtnmsg = await this.executeRule("mtdbut.butapy") let rtnmsg = await this.executeRule("wrkp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButcan() { async onOthp1Det(){
let rtnmsg = await this.executeRule("mtdbut.butcan") let rtnmsg = await this.executeRule("othp1.det")
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 onLimptsGet1(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("limpts.get1")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButshw() { async onLimptsGet2(){
let rtnmsg = await this.executeRule("trndoc.butshw") let rtnmsg = await this.executeRule("limpts.get2")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd() { async onLimmodTrycal(){
let rtnmsg = await this.executeRule("trndoc.butadd") let rtnmsg = await this.executeRule("limmod.trycal")
if (rtnmsg.respCode == SUCCESS) { 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 onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -2,221 +2,170 @@ import Api from "~/service/Api" ...@@ -2,221 +2,170 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onPayinsButtxmsel(){ async onPayinsButtxmsel() {
let rtnmsg = await this.executeRule("payins.buttxmsel") let rtnmsg = await this.executeRule("payins.buttxmsel")
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 onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt") 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 onLiaallButmissig(){ async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig") 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: '服务请求失败!'});
} }
}, },
async onTrndocButshw(){ async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw") let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd(){ async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd") let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButnew(){ async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew") let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButattto(){ async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto") let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButdel(){ async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel") let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButatt(){ async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt") let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onRmbpDet(){ async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp.det") let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAcwpDet(){ async onAcwpDet() {
let rtnmsg = await this.executeRule("acwp.det") let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBebpDet(){ async onBebpDet() {
let rtnmsg = await this.executeRule("bebp.det") let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onWrkpDet(){ async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det") let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onOthpDet(){ async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det") let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet1(){ async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1") let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet2(){ async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2") let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimmodTrycal(){ async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal") let rtnmsg = await this.executeRule("limmod.trycal")
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 onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det") 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: '服务请求失败!'});
} }
}, },
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
} }
\ No newline at end of file
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"lidgrp.cbs.nom1.amt":[ "lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
], ],
"brdgrp.blk.relstoadr":[ "brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 180,message:"长度不能超过180"}
], ],
"brdgrp.blk.vesnam":[ "brdgrp.blk.vesnam":[
......
...@@ -87,6 +87,10 @@ export default class Brtame{ ...@@ -87,6 +87,10 @@ export default class Brtame{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt amt:"", // Balance .brdgrp.cbs.max.amt
}, },
opn1:{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
}, },
blk:{ blk:{
vesnam:"", // Vessel Name .brdgrp.blk.vesnam vesnam:"", // Vessel Name .brdgrp.blk.vesnam
......
import Utils from "~/utils"
/**
* Litacp Check规则
*/
let checkObj = {
"lidgrp.apl.namelc" :null,
"lidgrp.rec.prepers18" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.rec.apprul" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"lidgrp.rec.stacty" :null,
"lidgrp.ini.pts.adrblk" :null,
"lidgrp.blk.lcrdoc" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.apl.adrelc" :null,
"litp.usr.extkey" :null,
"lidgrp.avb.pts.adrblk" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.adv.pts.nam" :null,
"lidgrp.rec.opndat" :null,
"lidgrp.a2b.adrelc" :null,
"ameamt" :null,
"lidgrp.avb.namelc" :null,
"lidgrp.blk.feetxt" :null,
"lidgrp.blk.preper" :null,
"lidgrp.ben.pts.nam" :null,
"lidgrp.ben.adrelc" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"lidgrp.blk.mixdet" :null,
"lidgrp.apl.pts.nam" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.drw.adrelc" :null,
"lidgrp.rec.expplc" :null,
"lidgrp.rmb.pts.extkey" :null,
"lidgrp.adv.pts.extkey" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.avb.pts.extkey" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"lidgrp.blk.insbnk" :null,
"lidgrp.con.pts.extkey" :null,
"lidgrp.apl.pts.adrblk" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"lidgrp.rmb.pts.nam" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.blk.dftat" :null,
"lidgrp.apl.pts.extkey" :null,
"lidgrp.rec.tenmaxday" :null,
"lidgrp.ben.namelc" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.con.namelc" :null,
"ptspta.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Litacp Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbwth" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"litp.usr.extkey" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction,
"lidgrp.apl.namelc" :Utils.defaultFunction,
"lidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"litp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
"lidgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.adrelc" :Utils.defaultFunction,
"lidgrp.ini.namelc" :Utils.defaultFunction,
"lidgrp.ini.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"lidgrp.drw.adrelc" :Utils.defaultFunction,
"lidgrp.drw.namelc" :Utils.defaultFunction,
"lidgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.apl.pts.nam" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction,
"ptspta.pts.adrblk":Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litacp{
constructor () {
this.data = {
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
setmod :new Pub().data.Setmod,
mtabut :new Pub().data.Mtabut,
ptspta:{
pts:{
ref:"",
extkey:"",
adrblk:"",
}
},
lidgrp:{
rec:{
ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam
avbby:"", // Available by .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // L/C Issued on .lidgrp.rec.opndat
shpdat:"", // Latest Shipment Date .lidgrp.rec.shpdat
expdat:"", // L/C Expiring on .lidgrp.rec.expdat
expplc:"", // in (Place)/ counters of .lidgrp.rec.expplc
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
revflg:"", // Revolving Flag .lidgrp.rec.revflg
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
shppar:"", // Partial Shipment .lidgrp.rec.shppar
shptrs:"", // Transhipment .lidgrp.rec.shptrs
apprul:"", // Applicable Rules .lidgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .lidgrp.rec.apprultxt
cnfdet:"", // Confirm. Instructions .lidgrp.rec.cnfdet
rmbflg:"", // Reimbursement Information .lidgrp.rec.rmbflg
resflg:"", // Reserved Contract .lidgrp.rec.resflg
shppars18:"", // Partial Shipment .lidgrp.rec.shppars18
shptrss18:"", // Transhipment .lidgrp.rec.shptrss18
guaflg:"", // Mortgage Flag .lidgrp.rec.guaflg
regref:"", // Register Ref. .lidgrp.rec.regref
rptref:"", // 合同号 .lidgrp.rec.rptref
oppbnk:"", // 对手行代码 .lidgrp.rec.oppbnk
dkflg:"", // 是否代开信用证 .lidgrp.rec.dkflg
stagod:"", // Goods Code .lidgrp.rec.stagod
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .lidgrp.rec.spcrcbflg
avbwth:"", // Available with .lidgrp.rec.avbwth
shpfro:"", // Dispatch from .lidgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .lidgrp.rec.porloa
pordis:"", // Air-/Port of Destination .lidgrp.rec.pordis
shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
},
cbs:{
nom1:{
cur:"", // Nominal Amount .lidgrp.cbs.nom1.cur
amt:"", // Nominal Amount .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
max:{
cur:"", // Maximum Amount .lidgrp.cbs.max.cur
amt:"", // Maximum Amount .lidgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.apl.namelc
adrelc:"", // 地址 .lidgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.ben.namelc
adrelc:"", // 地址 .lidgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.ben.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.adv.namelc
adrelc:"", // 地址 .lidgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.adv.dbfadrblkcn
},
avbnam:"", // 指定银行 .lidgrp.avbnam
ini:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.ini.namelc
adrelc:"", // 地址 .lidgrp.ini.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.ini.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
},
a2b:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.a2b.namelc
adrelc:"", // 地址 .lidgrp.a2b.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.a2b.dbfadrblkcn
},
avb:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.avb.namelc
adrelc:"", // 地址 .lidgrp.avb.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.avb.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.con.namelc
adrelc:"", // 地址 .lidgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.con.dbfadrblkcn
},
blk:{
lcrgod:"", // Description. of Goods .lidgrp.blk.lcrgod
lcrdoc:"", // Documents Required .lidgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .lidgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .lidgrp.blk.insbnk
avbwthtxt:"", // Available in .lidgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .lidgrp.blk.defdet
dftat:"", // Drafts at .lidgrp.blk.dftat
shpper:"", // Shipment Period .lidgrp.blk.shpper
preper:"", // Presentation Period .lidgrp.blk.preper
preperflg:"", // Presentation Period modified .lidgrp.blk.preperflg
feetxt:"", // Additional Details to Code for Charges .lidgrp.blk.feetxt
mixdet:"", // Mixed Payment Details .lidgrp.blk.mixdet
decamtstm:"",
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .lidgrp.drw.namelc
adrelc:"", // 地址 .lidgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .lidgrp.drw.dbfadrblkcn
},
},
litp:{
litp0:{
recget:{
sdamod:{
seainf:"", // 参考号 .litp.litp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.litp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .litp.litp0.aammod.addamtflg
},
thdate:"", // 提货日期/服务提供日 .litp.litp0.thdate
},
recget:{
sdamod:{
seainf:"", // .litp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .litp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .litp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .litp.aamp.aammod.addamtflg
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .litp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.aplp.ptsget.sdamod.dadsnd
},
},
},
advp:{
ptsget:{
sdamod:{
seainf:"", // .litp.advp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.advp.ptsget.sdamod.dadsnd
},
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .litp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.benp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl:"", // 对手行代码 .litp.oppbnkl
avblab:"", // Label Available with Bank .litp.avblab
inip:{
ptsget:{
sdamod:{
seainf:"", // .litp.inip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.inip.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .litp.rmbp.ptsget.sdamod.dadsnd
seainf:"", // .litp.rmbp.ptsget.sdamod.seainf
},
},
},
a2bp:{
ptsget:{
sdamod:{
seainf:"", // .litp.a2bp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.a2bp.ptsget.sdamod.dadsnd
},
},
},
avbp:{
ptsget:{
sdamod:{
seainf:"", // .litp.avbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.avbp.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .litp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
seainf:"", // .litp.conp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.conp.ptsget.sdamod.dadsnd
},
},
},
drwp:{
ptsget:{
sdamod:{
seainf:"", // .litp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp.drwp.ptsget.sdamod.dadsnd
},
},
},
defdetlab:"", // Label DEFDET .litp.defdetlab
},
amedat:"", // Amount Amend Date .amedat
decstm:"", // Amount Amend StreamGrid .decstm
nbr:"", // number .nbr
amecur:"", // Amount Amend Ccy .amecur
ameamt:"", // 修改金额 .ameamt
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -58,6 +58,10 @@ export default class Litsel{ ...@@ -58,6 +58,10 @@ export default class Litsel{
pts:new Pts().data, pts:new Pts().data,
}, },
avbnam:"", // Available with .lidgrp.avbnam avbnam:"", // Available with .lidgrp.avbnam
blk:{
decamtstm:"",
}
}, },
lidget:{ lidget:{
lid:{ lid:{
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="18"> <c-col :span="12">
<el-form-item label="初审的不符点" prop="bedgrp.blk.intdis"> <el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input <c-input type="textarea" v-model="model.bedgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
type="textarea"
:rows="5"
v-model="model.bedgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入初审的不符点"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="12">
<c-col> &nbsp; </c-col> <c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIntdisButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="12">
<c-col :span="18"> <el-form-item label="Reasons for Rejection" prop="bedgrp.blk.docins">
<el-form-item label="不符点描述" prop="bedgrp.blk.docdis"> <c-input type="textarea" v-model="model.bedgrp.blk.docins" maxlength="35" show-word-limit placeholder="请输入Reasons for Rejection" ></c-input>
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>是否录入不符点</c-checkbox
>
<c-input
type="textarea"
:rows="5"
v-model="model.bedgrp.blk.docdis"
:disabled="model.bedgrp.blk.docdisflg ? false : true"
maxlength="50"
show-word-limit
placeholder="请输入不符点描述"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="12">
<c-col> &nbsp; </c-col> <c-button size="small" type="primary" icon="el-icon-search" @click="onResrejButtxmsel">
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="12">
<c-col :span="18"> <el-form-item label="Disposal of Documents" prop="bedgrp.blk.disdoc">
<el-form-item label="拒付理由" prop="bedgrp.blk.docins"> <c-input type="textarea" v-model="model.bedgrp.blk.disdoc" maxlength="35" show-word-limit placeholder="请输入Disposal of Documents" ></c-input>
<c-input
type="textarea"
:rows="3"
v-model="model.bedgrp.blk.docins"
maxlength="35"
show-word-limit
placeholder="请输入拒付理由"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="12">
<c-col> &nbsp; </c-col> <c-button size="small" type="primary" icon="el-icon-search" @click="onDisdocButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onResrejButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="12">
<c-col :span="18"> <el-form-item label="Discrepancies" prop="bedgrp.blk.docdis">
<el-form-item label="单据处理说明" prop="bedgrp.blk.disdoc"> <c-input type="textarea" v-model="model.bedgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
<c-input
type="textarea"
:rows="3"
v-model="model.bedgrp.blk.disdoc"
maxlength="35"
show-word-limit
placeholder="请输入单据处理说明"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="12">
<c-col> &nbsp; </c-col> <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDisdocButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop=""> <c-checkbox v-model="model.rejpenins">Rejection pending instructions</c-checkbox>
<c-checkbox v-model="model.rejpenins">是否保留单据</c-checkbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="12">
<c-istream-table :list="model.betp.docgrdm.docgrd" :columns="columns"> --> <c-checkbox v-model="model.bedgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-istream-table>
</c-col> </c-col>
<!-- <c-col :span="12"> <c-col :span="12">
<span <span v-text="model.betp.docgrdm.docdsclab" data-path=".betp.docgrdm.docdsclab" > </span>
v-text="model.betp.docgrdm.docdsclab" </c-col>
data-path=".betp.docgrdm.docdsclab"
>
</span>
</c-col> -->
</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/Betdcr/Event"; import Event from "~/model/Betdcr/Event"
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data(){
return { return {
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
};
},
methods: {
...Event,
changed(e) {
if (!e) {
this.model.bedgrp.blk.docdis = "";
} }
}, },
}, methods:{...Event},
created: function () {}, created:function(){
};
}
}
</script> </script>
<style> <style>
</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/Betdcr/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="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</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/Betdcr/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="19">
<c-col>
<el-form-item label="接收的文件">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入接收的文件"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="文件列表">
<c-input
type="textarea"
:rows="10"
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入文件列表"
></c-input>
</el-form-item> </c-col
></c-col>
<c-col :offset="1" :span="4">
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButshw">
出示
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButadd">
详情
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButnew">
新增
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
disabled
>
附加
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button type="primary" size="small" @click="onTrndocButdel" disabled>
删除
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButatt" disabled>
附加
</c-button>
</c-col>
</c-col>
<c-col :offset="8" :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">展示来报信息</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout">展示发报信息</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdcr/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/Betdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<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> -->
<el-form <c-function-btn
:model="model" :handleSubmit="handleSubmit"
:rules="rules" :handleCheck="handleCheck"
ref="modelForm" :handleStash="handleStash"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000009 --> <!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs"> <el-tab-pane label="Details" name="betdcrs">
<c-content> <c-content>
<m-betdcrs :model="model" :codes="codes" /> <m-betdcrs :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000026 --> <!--PD000026 -->
<el-tab-pane label="概况" name="betdcrd"> <el-tab-pane label="Discrepancies/Refusal Details" name="betdcrd">
<c-content> <m-betdcrd :model="model" :codes="codes"/>
<m-betdcrd :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content> <m-engp :model="model" :codes="codes"/>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 -->
<!--PD000020 --> <el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="信用证详情" name="detp"> <m-setpan :model="model" :codes="codes"/>
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<c-content> <m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 -->
<!--PD000546 --> <el-tab-pane label="统一授信" name="limitbody">
<el-tab-pane label="附件" name="doctre"> <m-limitbody :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </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 CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Betdcr from "~/model/Betdcr"; import Betdcr from "~/model/Betdcr"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Betdcr/Check"; import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Betdcr/Default"; import Check from "~/model/Betdcr/Check"
import Pattern from "~/model/Betdcr/Pattern"; import Default from "~/model/Betdcr/Default"
import Betdcrd from "./Betdcrd"; import Pattern from "~/model/Betdcr/Pattern"
//import Engp from "./Engp" import Betdcrs from "./Betdcrs"
import Detp from "./Detp"; import Betdcrd from "./Betdcrd"
//import Setpan from "./Setpan" import Engp from "~/views/Public/Engp";
//import Glepan from "./Glepan"
//import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
import Doctre from "./Doctre";
import Betdcrs from "./Betdcrs";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"; import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
components: { name: "Betdcr",
"m-betdcrd": Betdcrd, components:{
"m-engp": Engp, "m-betdcrs" : Betdcrs,
"m-detp": Detp, "m-betdcrd" : Betdcrd,
"m-setpan": Setpan, "m-engp" : Engp,
"m-glepan": Glepan, "m-setpan":Setpan,
"m-coninfp": Coninfp, "m-limitbody" : Limitbody,
"m-docpan": Docpan, "m-docpan" : Docpan,
"m-doctre": Doctre, "m-coninfp" : Coninfp,
"m-betdcrs": Betdcrs,
}, },
provide() { provide() {
return { return {
root: this, root: this
}; }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "betdcrs", tabVal: "betdcrs",
trnName: "betdcr", trnName: "betdcr",
...@@ -130,27 +101,34 @@ export default { ...@@ -130,27 +101,34 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: {
};
}, },
methods: { }
tabClick() {},
}, },
created: async function () { methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入betdcr交易"); console.log("进入betdcr交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} }
} else { else
this.$notify.error({ title: "错误", message: "服务请求失败!" }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, }
}; }
</script> </script>
<style> <style>
</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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'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>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-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="$t('other.please_enter')+'Infotext'" ></c-input>
</c-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="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-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">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</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">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-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>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-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="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-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="$t('other.please_enter')+'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">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<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="$t('other.please_enter')+'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">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<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">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Betrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please select Reimbursement Bank"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
:noRef="false"
:disabled="true"
:isAdrblk="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker
type="date"
v-model="model.rmbclm.valdat"
style="width: 100%"
placeholder="Please select value date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'rmbclm',
rol: 'acwacw',
}"
:noRef="false"
:disabled="true"
:isAdrblk="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Beneficiary Bank',
grp: 'rmbclm',
rol: 'bebbeb',
}"
:noRef="false"
:disabled="true"
:isAdrblk="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol"> <el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')"> <c-select v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000021 : 偿付行 --> SF000021 : 偿付行
<!-- SF000020 : 编号 --> SF000020 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref"> <c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref">
...@@ -63,8 +148,8 @@ ...@@ -63,8 +148,8 @@
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000011 : Account with Bank --> SF000011 : Account with Bank
<!-- SF000018 : 编号 --> SF000018 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref"> <c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
...@@ -119,8 +204,8 @@ ...@@ -119,8 +204,8 @@
<c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000016 : Beneficiary Bank --> SF000016 : Beneficiary Bank
<!-- SF000019 : 编号 --> SF000019 : 编号
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref"> <c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
...@@ -181,30 +266,27 @@ ...@@ -181,30 +266,27 @@
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" :placeholder="$t('other.please_enter')+'value date'"></c-date-picker> <c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" :placeholder="$t('other.please_enter')+'value date'"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SG000133 : value date --> SG000133 : value date -->
</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/Betrcl/Event" import Event from "~/model/Betrcl/Event";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: {"c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-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="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<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="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</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">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<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/Betrcl/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="right" size="small" :validate-on-rule-change="false"> <!-- <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"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--betrcl PD000034 Claim Reimb. --> <!--betrcl PD000034 Claim Reimb. -->
<el-tab-pane :label="$t('betrcl.PD000034')" name="rclp"> <el-tab-pane label="Claim Reimb." name="rclp">
<m-rclp :model="model" :codes="codes"/> <c-content>
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--liaall PD000027 Liability --> <!--liaall PD000027 Liability -->
<el-tab-pane :label="$t('liaall.PD000027')" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages --> <!--trndoc PD000529 &Messages -->
<el-tab-pane :label="$t('trndoc.PD000529')" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments --> <!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane :label="$t('coninf.PD000000')" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details --> <!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane :label="$t('rmbclm.PD000128')" name="remp"> <el-tab-pane v-if="model.rmbclm.clmrmbflg" label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes"/> <m-remp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--limmod PD000001 统一授信 --> <!--limmod PD000001 统一授信 -->
<el-tab-pane :label="$t('limmod.PD000001')" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane :label="$t('setmod.PD000000')" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </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 Betrcl from "~/model/Betrcl" import Betrcl from "~/model/Betrcl";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Betrcl/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Betrcl/Default" import Check from "~/model/Betrcl/Check";
import Pattern from "~/model/Betrcl/Pattern" import Default from "~/model/Betrcl/Default";
import Rclp from "./Rclp" import Pattern from "~/model/Betrcl/Pattern";
import Engp from "./Engp" import Rclp from "./Rclp";
import Docpan from "./Docpan" import Remp from "./Remp";
import Doctre from "./Doctre" import Engp from "~/views/Public/Engp";
import Coninfp from "./Coninfp" import Doctre from "~/views/Public/Doctre";
import Remp from "./Remp" import Setpan from "~/views/Public/Setpan";
import Limitbody from "./Limitbody" import Coninfp from "~/views/Public/Coninfp";
import Setpan from "./Setpan" import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Betrcl", name: "Betrcl",
components:{ components: {
"m-rclp" : Rclp, "m-rclp": Rclp,
"m-engp" : Engp, "m-engp": Engp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-remp" : Remp, "m-remp": Remp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-setpan" : Setpan, "m-setpan": Setpan,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "rclp",
trnName: "betrcl", trnName: "betrcl",
trnType: "", trnType: "",
model: new Betrcl().data, model: new Betrcl().data,
...@@ -85,33 +112,30 @@ export default { ...@@ -85,33 +112,30 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入betrcl交易"); console.log("进入betrcl交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data) this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
else },
{ };
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -72,6 +72,7 @@ import Api from "~/service/Api"; ...@@ -72,6 +72,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Brtame from "~/model/Brtame"; import Brtame from "~/model/Brtame";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtame/Check"; import Check from "~/model/Brtame/Check";
import Default from "~/model/Brtame/Default"; import Default from "~/model/Brtame/Default";
import Pattern from "~/model/Brtame/Pattern"; import Pattern from "~/model/Brtame/Pattern";
...@@ -102,7 +103,7 @@ export default { ...@@ -102,7 +103,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "rog", tabVal: "rog",
...@@ -113,7 +114,9 @@ export default { ...@@ -113,7 +114,9 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {}, codes: {
...CodeTable
},
}; };
}, },
methods: { methods: {
......
...@@ -161,6 +161,8 @@ import Brtacp from "./Brtacp" ...@@ -161,6 +161,8 @@ import Brtacp from "./Brtacp"
import Brtame from "./Brtame" import Brtame from "./Brtame"
import Litrog from "./Litrog" import Litrog from "./Litrog"
import Litacp from "./Litacp"
/** /**
* 带有name的才会被添加进顶部的标签页里 * 带有name的才会被添加进顶部的标签页里
...@@ -334,5 +336,6 @@ const BusRouter = [ ...@@ -334,5 +336,6 @@ const BusRouter = [
{ path: 'Brtame', component: Brtame, name: 'Brtame', meta: { title: 'Brtame' } }, { path: 'Brtame', component: Brtame, name: 'Brtame', meta: { title: 'Brtame' } },
{ path: 'Litrog', component: Litrog, name: 'Litrog', meta: { title: '进口信用证提货担保' } }, { path: 'Litrog', component: Litrog, name: 'Litrog', meta: { title: '进口信用证提货担保' } },
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- right --> <!-- right -->
...@@ -187,7 +186,7 @@ ...@@ -187,7 +186,7 @@
<c-col :span="24" style="height: 0px"> <c-col :span="24" style="height: 0px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24" style="margin-bottom: 30px;"> <c-col :span="24" style="margin-bottom: 30px">
<c-table <c-table
height="200px" height="200px"
style="text-align: center" style="text-align: center"
...@@ -195,25 +194,14 @@ ...@@ -195,25 +194,14 @@
:paginationShow="false" :paginationShow="false"
:border="true" :border="true"
> >
<el-table-column <el-table-column label="1st" width="auto">
label="1st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail1"></c-input>
v-model="scope.row.cmail1"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="2nd" width="auto">
label="2nd"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail2"></c-input>
v-model="scope.row.cmail2"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
...@@ -490,7 +478,7 @@ import Event from "~/model/Letdrv/Event"; ...@@ -490,7 +478,7 @@ import Event from "~/model/Letdrv/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components:{"c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -566,4 +554,9 @@ export default { ...@@ -566,4 +554,9 @@ export default {
}; };
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-col :span="11">
<c-col :span="12"> <c-col :span="24">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span> <el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-fullbox>
<c-input disabled :rows="15" type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam"> <c-checkbox disabled v-model="model.lidgrp.rec.spcbenflg">Special payment conditions for beneficiary exists</c-checkbox>
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl"> <c-checkbox disabled v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
<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>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span> <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col> </c-col>
</el-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc"> <el-col :span="11" :offset="1">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input> <c-col :span="24">
<el-form-item label="Instructions to Pay.," prop="lidgrp.blk.insbnk">
<c-fullbox>
<c-input disabled rows="15" type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col>
</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/Betdcr/Event" import Event from "~/model/Litacp/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="20">
<c-button size="small" type="primary" @click="onSetmodDet"> <el-form-item label="Description. of Goods" prop="lidgrp.blk.lcrgod">
细节 <c-input disabled type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
</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> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="2">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span> <c-button size="small" type="primary" icon="el-icon-search" @click="">
</c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="18">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span> <el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select
disabled
v-model="model.lidgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
</c-select>
</el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -30,7 +27,7 @@ ...@@ -30,7 +27,7 @@
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/Betdcr/Event" import Event from "~/model/Litacp/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="20">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm"> <el-form-item label="Documents Required" prop="lidgrp.blk.lcrdoc">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input> <c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" :rows="30" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
</c-button>
</c-col>
</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/Betdcr/Event" import Event from "~/model/Litacp/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 -->
<el-tab-pane label="Amend Accept" name="acpp">
<c-content>
<m-acpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="Goods" name="dogp">
<m-dogp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="Documents" name="dorp">
<m-dorp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000074 -->
<el-tab-pane label="Additional Conditions" name="adcp">
<m-adcp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<c-content>
<m-detp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litacp from "~/model/Litacp"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litacp/Check"
import Default from "~/model/Litacp/Default"
import Pattern from "~/model/Litacp/Pattern"
import Acpp from "./Acpp"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Dogp from "./Dogp"
import Dorp from "./Dorp"
import Adcp from "./Adcp"
import Detp from "./Detp"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Litacp",
components:{
"m-acpp" : Acpp,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-dogp" : Dogp,
"m-dorp" : Dorp,
"m-adcp" : Adcp,
"m-detp" : Detp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "acpp",
trnName: "litacp",
model: new Litacp().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div>
<c-col :span="24">
<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: [],
};
},
watch: {},
methods: {},
created: function () {},
};
</script>
<style>
</style>
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
</el-table-column> </el-table-column>
<el-table-column label="Payee" width="101px"> <el-table-column label="Payee" width="101px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model="scope.row.payee"> <c-select v-model="scope.row.ptypay">
<el-option <el-option
v-for="item in codes.payee" v-for="item in codes.payee"
:key="item.value" :key="item.value"
......
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