Commit ae7deba8 by wangren
parents 04db4024 208286d7
...@@ -2,41 +2,34 @@ import Api from "~/service/Api" ...@@ -2,41 +2,34 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onAcbpDet(){ async onAcbpDet() {
let rtnmsg = await this.executeRule("acbp.det") let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onRmbpDet() {
}, let rtnmsg = await this.executeRule("rmbp.det")
async onRmbpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("rmbp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onBebpDet() {
}, let rtnmsg = await this.executeRule("bebp.det")
async onBebpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("bebp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} onSeainf() {},
}, onDetpButgetref() {},
} }
\ No newline at end of file
...@@ -71,52 +71,6 @@ export default class Bftcan { ...@@ -71,52 +71,6 @@ export default class Bftcan {
}, },
sndmsg: "", // Send Message .sndmsg sndmsg: "", // Send Message .sndmsg
rebkpflg: "", // Booking Procedure .rebkpflg rebkpflg: "", // Booking Procedure .rebkpflg
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
mtabut: { mtabut: {
coninf: { coninf: {
oitinf: { oitinf: {
...@@ -142,6 +96,7 @@ export default class Bftcan { ...@@ -142,6 +96,7 @@ export default class Bftcan {
pageId: "", // ctx的key pageId: "", // ctx的key
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
} }
} }
} }
\ No newline at end of file
...@@ -2,137 +2,108 @@ import Api from "~/service/Api" ...@@ -2,137 +2,108 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onPrbpDet(){ async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onIntdisButtxmsel() {
}, let rtnmsg = await this.executeRule("intdis.buttxmsel")
async onIntdisButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("intdis.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onDocdisButtxmsel() {
}, let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onDocdisButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("docdis.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLiaallButmisamt() {
}, let rtnmsg = await this.executeRule("liaall.butmisamt")
async onLiaallButmisamt(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("liaall.butmisamt") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLiaallButmissig() {
}, let rtnmsg = await this.executeRule("liaall.butmissig")
async onLiaallButmissig(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("liaall.butmissig") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onSetmodDet() {
}, let rtnmsg = await this.executeRule("setmod.det")
async onSetmodDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("setmod.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onWrkpDet() {
}, let rtnmsg = await this.executeRule("wrkp.det")
async onWrkpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("wrkp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onOthpDet() {
}, let rtnmsg = await this.executeRule("othp.det")
async onOthpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("othp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimptsGet1() {
}, let rtnmsg = await this.executeRule("limpts.get1")
async onLimptsGet1(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limpts.get1") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimptsGet2() {
}, let rtnmsg = await this.executeRule("limpts.get2")
async onLimptsGet2(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limpts.get2") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimmodTrycal() {
}, let rtnmsg = await this.executeRule("limmod.trycal")
async onLimmodTrycal(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limmod.trycal") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} onSeainf() {},
}, onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
} }
\ No newline at end of file
...@@ -2,149 +2,118 @@ import Api from "~/service/Api" ...@@ -2,149 +2,118 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onPrbpDet(){ async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ //TODO 处理数据逻辑
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onDocdisButtxmsel() {
}, let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onDocdisButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("docdis.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onIntdisButtxmsel() {
}, let rtnmsg = await this.executeRule("intdis.buttxmsel")
async onIntdisButtxmsel(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("intdis.buttxmsel") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onOthpDet() {
}, let rtnmsg = await this.executeRule("othp.det")
async onOthpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("othp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLiaallButmisamt() {
}, let rtnmsg = await this.executeRule("liaall.butmisamt")
async onLiaallButmisamt(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("liaall.butmisamt") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLiaallButmissig() {
}, let rtnmsg = await this.executeRule("liaall.butmissig")
async onLiaallButmissig(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("liaall.butmissig") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onSetmodDet() {
}, let rtnmsg = await this.executeRule("setmod.det")
async onSetmodDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("setmod.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onWrkpDet() {
}, let rtnmsg = await this.executeRule("wrkp.det")
async onWrkpDet(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("wrkp.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onOthp1Det() {
}, let rtnmsg = await this.executeRule("othp1.det")
async onOthp1Det(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("othp1.det") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimptsGet1() {
}, let rtnmsg = await this.executeRule("limpts.get1")
async onLimptsGet1(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limpts.get1") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimptsGet2() {
}, let rtnmsg = await this.executeRule("limpts.get2")
async onLimptsGet2(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limpts.get2") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
} } else {
else this.$notify.error({ title: '错误', message: '服务请求失败!' });
{ }
this.$notify.error({title: '错误',message: '服务请求失败!'}); },
} async onLimmodTrycal() {
}, let rtnmsg = await this.executeRule("limmod.trycal")
async onLimmodTrycal(){ if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.executeRule("limmod.trycal") //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS)
{ } else {
//TODO 处理数据逻辑 this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"dedgrp.cbs.opn1.amt": [ "dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" }, { type: "string" },
{ 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位" }
], ],
......
...@@ -8,54 +8,6 @@ export default class Bftset { ...@@ -8,54 +8,6 @@ export default class Bftset {
bptbck: { bptbck: {
bptbckg: "", bptbckg: "",
}, },
liaall: {
tenstm: "",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 閸ョ晫绮ㄦ稉姘缂傛牕褰� .liaall.limmod.ownref
comamt: "", // 娑撴艾濮熸担娆擃杺 .liaall.limmod.comamt
ccvamt: "", // 娣囨繆鐦夐柌鎴滅稇妫帮拷 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
tenstm: "", // Tenor Stream .liaall.tenstm
},
mtabut: { mtabut: {
coninf: { coninf: {
oitinf: { oitinf: {
...@@ -154,6 +106,7 @@ export default class Bftset { ...@@ -154,6 +106,7 @@ export default class Bftset {
pageId: "", // ctx閻ㄥ埍ey pageId: "", // ctx閻ㄥ埍ey
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
} }
} }
} }
\ No newline at end of file
...@@ -22,10 +22,8 @@ let checkObj = { ...@@ -22,10 +22,8 @@ let checkObj = {
"bfdgrp.oth.pts.dizhii" :null, "bfdgrp.oth.pts.dizhii" :null,
"idcode" :null, "idcode" :null,
"bfdgrp.doc.adrelc" :null, "bfdgrp.doc.adrelc" :null,
"bftp.dedget.sdamod.dadsnd" :null,
"bfdgrp.rec.disdat" :null, "bfdgrp.rec.disdat" :null,
"bfdgrp.rec.matdat" :null, "bfdgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.apl.pts.nam" :null, "bfdgrp.apl.pts.nam" :null,
"bfdsnd.usadet" :null, "bfdsnd.usadet" :null,
"bfdgrp.rec.rcvdat" :null, "bfdgrp.rec.rcvdat" :null,
...@@ -38,16 +36,12 @@ let checkObj = { ...@@ -38,16 +36,12 @@ let checkObj = {
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bfdgrp.rec.anobnkcod" :null, "bfdgrp.rec.anobnkcod" :null,
"bfdgrp.blk.docdis" :null, "bfdgrp.blk.docdis" :null,
"bftp.recget.sdamod.dadsnd" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.rec.invref" :null, "bfdgrp.rec.invref" :null,
"bfdgrp.rec.docrol" :null, "bfdgrp.rec.docrol" :null,
"bfdgrp.prb.pts.nam" :null, "bfdgrp.prb.pts.nam" :null,
"bfdgrp.rec.anodsp" :null, "bfdgrp.rec.anodsp" :null,
"bfdgrp.doc.pts.extkey" :null, "bfdgrp.doc.pts.extkey" :null,
"setmod.redamt" :null,
"bfdgrp.oth.pts.jigomc" :null, "bfdgrp.oth.pts.jigomc" :null,
"bftp.docp.ptsget.sdamod.dadsnd" :null,
"bfdgrp.oth.pts.bankno" :null, "bfdgrp.oth.pts.bankno" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bfdsnd.addphr" :null, "bfdsnd.addphr" :null,
...@@ -60,7 +54,6 @@ let checkObj = { ...@@ -60,7 +54,6 @@ let checkObj = {
"bfdgrp.rec.predat" :null, "bfdgrp.rec.predat" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bfdgrp.blk.benref" :null, "bfdgrp.blk.benref" :null,
"bftp.prbp.ptsget.sdamod.dadsnd" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -8,7 +8,6 @@ import Utils from "~/utils/index" ...@@ -8,7 +8,6 @@ import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bftp.msgtyp" :Utils.defaultFunction, "bftp.msgtyp" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
...@@ -23,7 +22,6 @@ export default { ...@@ -23,7 +22,6 @@ export default {
"bfdgrp.cbs.max.cur" :Utils.defaultFunction, "bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bfdgrp.rec.docrol" :Utils.defaultFunction,
"bfdgrp.rec.docrolflg" :Utils.defaultFunction, "bfdgrp.rec.docrolflg" :Utils.defaultFunction,
"bfdgrp.doc.pts.extkey" :Utils.defaultFunction, "bfdgrp.doc.pts.extkey" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction, "bfdgrp.cbs.max.amt" :Utils.defaultFunction,
......
...@@ -2,49 +2,12 @@ import Api from "~/service/Api" ...@@ -2,49 +2,12 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onDadsnd() {
let rtnmsg = await this.executeRule("bftp.dedget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
async onBFDDadsnd() {
let rtnmsg = await this.executeRule("bftp.recget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.rec.ownref = rtnmsg.data.bfdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onBFDSeainf() {
},
async onPrbpDet() { async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -53,8 +16,7 @@ export default { ...@@ -53,8 +16,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -63,8 +25,7 @@ export default { ...@@ -63,8 +25,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -73,8 +34,7 @@ export default { ...@@ -73,8 +34,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -83,8 +43,7 @@ export default { ...@@ -83,8 +43,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -93,8 +52,7 @@ export default { ...@@ -93,8 +52,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -103,8 +61,7 @@ export default { ...@@ -103,8 +61,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -113,38 +70,34 @@ export default { ...@@ -113,38 +70,34 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmisamt() { async onSetmodDet() {
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLiaallButmissig() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onSetmodDet() { async onLiaallButmissig() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -153,8 +106,7 @@ export default { ...@@ -153,8 +106,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -163,8 +115,7 @@ export default { ...@@ -163,8 +115,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -173,8 +124,7 @@ export default { ...@@ -173,8 +124,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -183,8 +133,7 @@ export default { ...@@ -183,8 +133,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
...@@ -193,30 +142,13 @@ export default { ...@@ -193,30 +142,13 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
} }
\ No newline at end of file
import Utils from "~/utils"
/**
* Brtacp Check规则
*/
let checkObj = {
"brdgrp.acb.namelc" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.furide" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.rec.disdat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"brdgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"brdgrp.rec.totamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtacp Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"brdgrp.acb.pts.extkey" :Utils.defaultFunction,
"brdgrp.acb.adrelc" :Utils.defaultFunction,
"brdgrp.acb.namelc" :Utils.defaultFunction,
"brdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max2.amt" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.disdat" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"brtp.lidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.lidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"brtp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Brtacp{
constructor () {
this.data = {
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
advdat:"", // Date of Advice of Payment .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
disdat:"", // Discrep. advised on .brdgrp.rec.disdat
totcur:"", // Amount to be Paid .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .brdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .brdgrp.cbs.max2.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
blk:{
chaded:"", // Charges Deducted .brdgrp.blk.chaded
chaadd:"", // Charges Added .brdgrp.blk.chaadd
docdis:"", // 不符点 .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.acb.namelc
adrelc:"", // 地址 .brdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.acb.dbfadrblkcn
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
furide:"", // Further Identification .brtp.furide
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.acbp.ptsget.sdamod.dadsnd
},
},
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -4,20 +4,15 @@ import Utils from "~/utils" ...@@ -4,20 +4,15 @@ import Utils from "~/utils"
* Brtcan Check规则 * Brtcan Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"brtp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"brtp0.lidget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
} }
......
...@@ -7,30 +7,29 @@ import Utils from "~/utils/index" ...@@ -7,30 +7,29 @@ import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction, "brdgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,31 +2,7 @@ import Api from "~/service/Api" ...@@ -2,31 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onLiaallButmisamt(){ async onSetmodDet(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -96,36 +96,6 @@ export default { ...@@ -96,36 +96,6 @@ export default {
], ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -243,7 +213,7 @@ export default { ...@@ -243,7 +213,7 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
...@@ -256,7 +226,7 @@ export default { ...@@ -256,7 +226,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"}, {required: true, 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位" }
], ],
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Setmod from "../Public/Setmod"
export default class Brtcan{ export default class Brtcan{
constructor () { constructor () {
this.data = { this.data = {
...@@ -66,66 +68,7 @@ export default class Brtcan{ ...@@ -66,66 +68,7 @@ export default class Brtcan{
}, },
sndmsg:"", // Send Message .sndmsg sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg rebkpflg:"", // Booking Procedure .rebkpflg
liaall:{ setmod:new Setmod().data,
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{ mtabut:{
coninf:{ coninf:{
oitinf:{ oitinf:{
...@@ -166,6 +109,46 @@ export default class Brtcan{ ...@@ -166,6 +109,46 @@ export default class Brtcan{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, },
}, },
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Brtdck{ export default class Brtdck{
constructor () { constructor () {
this.data = { this.data = {
setmod: new Pub().data.Setmod, //引入公共面板
// mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //引入公共面板
liaall: new Pub().data.Liaall, //引入公共面板
oridoclab:"", // Label original .oridoclab oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab oriaddlab:"", // Label original .oriaddlab
brdgrp:{ brdgrp:{
...@@ -171,66 +180,66 @@ export default class Brtdck{ ...@@ -171,66 +180,66 @@ export default class Brtdck{
}, },
mhtyp:"", // Transaction Type .mhtyp mhtyp:"", // Transaction Type .mhtyp
days:"", // days .days days:"", // days .days
liaall:{ // liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt // misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur // concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct // outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt // outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt // exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt // exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{ // limmod:{
limpts:{ // limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab // wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab // othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss // othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{ // wrk:{
pts:new Pts().data, // pts:new Pts().data,
}, // },
oth:{ // oth:{
pts:new Pts().data, // pts:new Pts().data,
}, // },
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh // lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1 // nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1 // pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2 // nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2 // pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
}, // },
wrkp:{ // wrkp:{
ptsget:{ // ptsget:{
sdamod:{ // sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd // dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf // seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
}, // },
}, // },
}, // },
othp:{ // othp:{
ptsget:{ // ptsget:{
sdamod:{ // sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd // dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf // seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
}, // },
}, // },
}, // },
ownref:"", // 国结业务编号 .liaall.limmod.ownref // ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt // comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt // ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno // ecifno:"", // ECIFNO .liaall.limmod.ecifno
}, // },
}, // },
setmod:{ // setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref // ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur // doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt // docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg // dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg // xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ // setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
}, // },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
}, // },
mtabut:{ mtabut:{
coninf:{ coninf:{
oitinf:{ oitinf:{
...@@ -253,24 +262,24 @@ export default class Brtdck{ ...@@ -253,24 +262,24 @@ export default class Brtdck{
}, },
}, },
}, },
trnmod:{ // trnmod:{
trndoc:{ // trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{ // rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf // seainf:"", // .trnmod.trndoc.rcvatt.seainf
}, // },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // filrecv:"", // File Receiver .trnmod.trndoc.filrecv
}, // },
}, // },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
import Utils from "~/utils"
/**
* Brtdcr Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"brdgrp.prb.adrelc" :null,
"brdgrp.blk.docdis" :null,
"brtp.oth.pts.extkey" :null,
"brdgrp.prb.pts.adrblk" :null,
"brdgrp.prb.namelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"brdgrp.blk.disdoc" :null,
"setmod.dspflg" :null,
"brtp.oth.pts.adrblk" :null,
"brdgrp.rec.orddat" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brdgrp.rec.advdocflg" :null,
"advdisflg" :null,
"brdgrp.prb.pts.extkey" :null,
"brtp.oth.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brdgrp.prb.pts.ref" :null,
"brtp.oth.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"brdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Brtdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"brdgrp.blk.docdis" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.blk.disdocflg" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction,
"brdgrp.prb.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.adrelc" :Utils.defaultFunction,
"brdgrp.prb.namelc" :Utils.defaultFunction,
"brdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brtp.oth.pts.extkey" :Utils.defaultFunction,
"brtp.oth.adrelc" :Utils.defaultFunction,
"brtp.oth.namelc" :Utils.defaultFunction,
"brtp.oth.dbfadrblkcn" :Utils.defaultFunction,
"brdgrp.rec.advdocflg" :Utils.defaultFunction,
"brtp.oth.pts.adrblk" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docprbrol" :Utils.defaultFunction,
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.disdoc" :Utils.defaultFunction,
"brdgrp.rec.advdat" :Utils.defaultFunction,
"brdgrp.rec.docsta" :Utils.defaultFunction,
"brdgrp.rec.rcvdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"brdgrp.rec.stadat" :Utils.defaultFunction,
"brdgrp.rec.payrol" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Brtdcr{
constructor () {
this.data = {
brdgrp:{
rec:{
ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
advdat:"", // Date of Advice of Payment .brdgrp.rec.advdat
docflg:"", // 单据类型 .brdgrp.rec.docflg
docsta:"", // 单据状态 .brdgrp.rec.docsta
matdat:"", // Maturity Date .brdgrp.rec.matdat
tenmaxday:"", // Tenor day .brdgrp.rec.tenmaxday
stadat:"", // 远期单据到期日 .brdgrp.rec.stadat
docprbrol:"", // Presented by .brdgrp.rec.docprbrol
payrol:"", // Payer .brdgrp.rec.payrol
orddat:"", // Order Date .brdgrp.rec.orddat
advdocflg:"", // Return of Documents .brdgrp.rec.advdocflg
},
cbs:{
max:{
cur:"", // 单据金额 .brdgrp.cbs.max.cur
amt:"", // 单据金额 .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .brdgrp.cbs.opn1.cur
amt:"", // Balance .brdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .brdgrp.prb.namelc
adrelc:"", // 地址 .brdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .brdgrp.prb.dbfadrblkcn
},
blk:{
disdoc:"", // Disposal of Documents .brdgrp.blk.disdoc
disdocflg:"", // Defaulted content of Disposal of Documents .brdgrp.blk.disdocflg
docdis:"", // Discrepancies .brdgrp.blk.docdis
docdisflg:"", // discrepancies modified .brdgrp.blk.docdisflg
},
},
lidgrp:{
rec:{
ownref:"", // 信用证编号 .lidgrp.rec.ownref
expdat:"", // Date of Expiry .lidgrp.rec.expdat
},
cbs:{
opn1:{
cur:"", // Currency .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
},
brtp:{
lidget:{
sdamod:{
seainf:"", // .brtp.lidget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.lidget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .brtp.recget.sdamod.dadsnd
seainf:"", // .brtp.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .brtp.matp.mattxtlab
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.prbp.ptsget.sdamod.dadsnd
},
},
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .brtp.oth.namelc
adrelc:"", // 地址 .brtp.oth.adrelc
dbfadrblkcn:"", // Chinese address .brtp.oth.dbfadrblkcn
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .brtp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .brtp.othp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .brtp.docgrdm.docdsclab
},
},
advrefflg:"", // Advice of Refusal MT734 .advrefflg
refdocflg:"", // Refund Document Amount .refdocflg
advdisflg:"", // Advice of Discrepancy MT750 .advdisflg
rejpenins:"", // Rejection pending instructions .rejpenins
rejtype:"", // 退单方式 .rejtype
swtdat:"", // SWIFT message dated .swtdat
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -450,5 +450,12 @@ export default { ...@@ -450,5 +450,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"bopmod.basflg":[
{required: true, message: "必输项"},
],
"brtp.ischktyp":[
{required: true, message: "必输项"},
],
} }
\ No newline at end of file
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -246,7 +246,7 @@ export default { ...@@ -246,7 +246,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.jigomc":[ "dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.bankno":[ "dedgrp.apc.pts.bankno":[
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.dizhii":[ "dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.jigomc":[ "dedgrp.apc.pts.jigomc":[
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
], ],
"dedgrp.rec.conamt":[ "dedgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"}, {max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
......
...@@ -568,7 +568,7 @@ export default { ...@@ -568,7 +568,7 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"liaall.limmod.limpts.nonrevflg1": [ "liaall.limmod.limpts.nonrevflg1": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 10, message: "长度不能超过10" } { max: 10, message: "长度不能超过10" }
], ],
"liaall.limmod.othp.ptsget.sdamod.seainf": [ "liaall.limmod.othp.ptsget.sdamod.seainf": [
...@@ -661,5 +661,9 @@ export default { ...@@ -661,5 +661,9 @@ export default {
"litameadv": [ "litameadv": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 30, message: "长度不能超过30" } { max: 30, message: "长度不能超过30" }
],
"didgrp.rec.elcflg": [
{ type: "string", required: true, message: "必输项" },
{ max: 1, message: "长度不能超过1" }
] ]
} }
...@@ -2,64 +2,65 @@ import Pts from "../Pts" ...@@ -2,64 +2,65 @@ import Pts from "../Pts"
export default class Liaall { export default class Liaall {
constructor() { constructor() {
this.data = { this.data = {
misamt: "", // Amount not yet assigned .liaall.misamt tenstm: "",
concur: "", // External Booking Amount .liaall.concur misamt: "", // Amount not yet assigned .liaall.misamt
outpct: "", // Sight Amount Percentage .liaall.outpct concur: "", // External Booking Amount .liaall.concur
outamt: "", // Sight Amount .liaall.outamt outpct: "", // Sight Amount Percentage .liaall.outpct
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", exttotamt: "",
liaallg: [], // Total booking amount external assinged .liaall.exttotamt liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: { limmod: {
limgrd: [], limgrd: [],
lmegrd: [], lmegrd: [],
limpts: { limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: { wrk: {
pts: new Pts().data, pts: new Pts().data,
}, },
oth: { oth: {
pts: new Pts().data, pts: new Pts().data,
}, },
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1 nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1 pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2 nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2 pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
}, },
wrkp: { wrkp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
}, },
}, },
}, },
othp: { othp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
}, },
}, },
}, },
ownref: "", // 国结业务编号 .liaall.limmod.ownref ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno ecifno: "", // ECIFNO .liaall.limmod.ecifno
}, },
liaccv: { liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [], liaccvg: [],
}, },
} }
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -46,6 +64,7 @@ import Api from "~/service/Api" ...@@ -46,6 +64,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bftacc from "~/model/Bftacc" import Bftacc from "~/model/Bftacc"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check" import Check from "~/model/Bftacc/Check"
import Default from "~/model/Bftacc/Default" import Default from "~/model/Bftacc/Default"
import Pattern from "~/model/Bftacc/Pattern" import Pattern from "~/model/Bftacc/Pattern"
...@@ -72,10 +91,10 @@ export default { ...@@ -72,10 +91,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "accp",
trnName: "bftacc", trnName: "bftacc",
model: new Bftacc().data, model: new Bftacc().data,
checkRules: Check, checkRules: Check,
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -48,6 +66,7 @@ import Api from "~/service/Api"; ...@@ -48,6 +66,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Bftcan from "~/model/Bftcan"; import Bftcan from "~/model/Bftcan";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftcan/Check"; import Check from "~/model/Bftcan/Check";
import Default from "~/model/Bftcan/Default"; import Default from "~/model/Bftcan/Default";
import Pattern from "~/model/Bftcan/Pattern"; import Pattern from "~/model/Bftcan/Pattern";
...@@ -73,10 +92,10 @@ export default { ...@@ -73,10 +92,10 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "", tabVal: "canp",
trnName: "bftcan", trnName: "bftcan",
model: new Bftcan().data, model: new Bftcan().data,
checkRules: Check, checkRules: Check,
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入单据不符点" placeholder="请输入单据不符点"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入不符点" placeholder="请输入不符点"
:disabled="!docdisflg"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -42,6 +44,7 @@ ...@@ -42,6 +44,7 @@
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onDocdisButtxmsel" @click="onDocdisButtxmsel"
:disabled="!docdisflg"
> >
... ...
</c-button> </c-button>
...@@ -52,10 +55,10 @@ ...@@ -52,10 +55,10 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">不符点修改</c-checkbox> <c-checkbox v-model="docdisflg">不符点修改</c-checkbox>
</c-col> </c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px"> <!-- <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -101,6 +104,60 @@ ...@@ -101,6 +104,60 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="TableValue"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -115,9 +172,62 @@ export default { ...@@ -115,9 +172,62 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
};
},
computed:{
docdisflg: {
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods: { ...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000009 --> :handleCheck="handleCheck"
<el-tab-pane label="明细" name="betdcrs"> :handleStash="handleStash"
<m-betdcrs :model="model" :codes="codes"/> >
</el-tab-pane> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<!--PD000026 --> <el-button size="small">备忘录</el-button>
<el-tab-pane label="不符点/拒付" name="betdcrd"> <el-button size="small">影像信息</el-button>
<m-betdcrd :model="model" :codes="codes"/> <!-- <el-button size="small">保存模板</el-button> -->
</el-tab-pane> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!--PD000027 --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-tab-pane label="或有" name="engp"> <el-button size="small">智能提示</el-button>
<m-engp :model="model" :codes="codes"/> </c-function-btn>
</el-tab-pane>
<el-form
<!--PD000000 --> :model="model"
<el-tab-pane label="账务" name="setpan"> :rules="rules"
<m-setpan :model="model" :codes="codes"/> ref="modelForm"
</el-tab-pane> label-width="150px"
label-position="right"
<!--PD000000 --> size="small"
<el-tab-pane label="附言" name="coninfp"> :validate-on-rule-change="false"
<m-coninfp :model="model" :codes="codes"/> >
</el-tab-pane> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000009 -->
<!--PD000529 --> <el-tab-pane label="明细" name="betdcrs">
<el-tab-pane label="报文及面函" name="docpan"> <c-content>
<m-docpan :model="model" :codes="codes"/> <m-betdcrs :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <!--PD000026 -->
<m-limitbody :model="model" :codes="codes"/> <el-tab-pane label="不符点/拒付" name="betdcrd">
</el-tab-pane> <m-betdcrd :model="model" :codes="codes" />
</c-tabs> </el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bftdcr from "~/model/Bftdcr" import Bftdcr from "~/model/Bftdcr";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bftdcr/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Bftdcr/Default" import Check from "~/model/Bftdcr/Check";
import Pattern from "~/model/Bftdcr/Pattern" import Default from "~/model/Bftdcr/Default";
import Betdcrs from "./Betdcrs" import Pattern from "~/model/Bftdcr/Pattern";
import Betdcrd from "./Betdcrd" import Betdcrs from "./Betdcrs";
import Betdcrd from "./Betdcrd";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftdcr", name: "Bftdcr",
components:{ components: {
"m-betdcrs" : Betdcrs, "m-betdcrs": Betdcrs,
"m-betdcrd" : Betdcrd, "m-betdcrd": Betdcrd,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "betdcrs",
trnName: "bftdcr", trnName: "bftdcr",
model: new Bftdcr().data, model: new Bftdcr().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
}, ...CodeTable
} },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bftdcr交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, } else {
created:async function(){ this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("进入bftdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -26,9 +26,10 @@ ...@@ -26,9 +26,10 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span >i</span
> >
</c-button> </c-button>
...@@ -74,9 +75,10 @@ ...@@ -74,9 +75,10 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span >i</span
> >
</c-button> </c-button>
...@@ -141,12 +143,20 @@ ...@@ -141,12 +143,20 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod"> <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input <c-select
v-model="model.bfdgrp.rec.doctypcod" v-model="model.bfdgrp.rec.doctypcod"
maxlength="1" style="width: 100%"
placeholder="请输入单据类型" placeholder="请输入单据类型"
disabled disabled
></c-input> >
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -186,12 +196,20 @@ ...@@ -186,12 +196,20 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta"> <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input <c-select
v-model="model.bfdgrp.rec.docsta" v-model="model.bfdgrp.rec.docsta"
maxlength="40" style="width: 100%"
placeholder="请输入单据状态" placeholder="请输入单据状态"
disabled disabled
></c-input> >
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -200,9 +218,9 @@ ...@@ -200,9 +218,9 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.cur" v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入信用证余额" placeholder="请输入信用证余额"
disabled disabled
...@@ -210,9 +228,9 @@ ...@@ -210,9 +228,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt"> <el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.amt" v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
disabled disabled
></c-input> ></c-input>
...@@ -235,14 +253,14 @@ ...@@ -235,14 +253,14 @@
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ :argadr="{
title: '交单', title: '交单',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -252,6 +270,28 @@ ...@@ -252,6 +270,28 @@
}" }"
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
...@@ -276,14 +316,23 @@ ...@@ -276,14 +316,23 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod"> <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input <c-select
v-model="model.bfdgrp.rec.doctypcod" v-model="model.bfdgrp.rec.doctypcod"
maxlength="1" style="width: 100%"
placeholder="请输入单据类型" placeholder="请输入单据类型"
disabled disabled
></c-input> >
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
...@@ -399,6 +448,13 @@ ...@@ -399,6 +448,13 @@
placeholder="请选择付款人" placeholder="请选择付款人"
disabled disabled
> >
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -449,7 +505,7 @@ ...@@ -449,7 +505,7 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '受益人', title: '',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'prb', rol: 'prb',
}" }"
...@@ -1022,6 +1078,11 @@ export default { ...@@ -1022,6 +1078,11 @@ export default {
data() { data() {
return {}; return {};
}, },
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
v-model="model.bfdgrp.rec.anobnkcod" v-model="model.bfdgrp.rec.anobnkcod"
maxlength="20" maxlength="20"
placeholder="请输入交单批注行行号" placeholder="请输入交单批注行行号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
v-model="model.bfdgrp.rec.anodat" v-model="model.bfdgrp.rec.anodat"
style="width: 100%" style="width: 100%"
placeholder="请选择交单批注日期" placeholder="请选择交单批注日期"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -29,6 +31,7 @@ ...@@ -29,6 +31,7 @@
maxlength="55" maxlength="55"
show-word-limit show-word-limit
placeholder="请输入交单批注描述" placeholder="请输入交单批注描述"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -39,6 +42,7 @@ ...@@ -39,6 +42,7 @@
v-model="model.bftp.msgtyp" v-model="model.bftp.msgtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择报文类型" placeholder="请选择报文类型"
disabled
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
......
...@@ -15,13 +15,14 @@ ...@@ -15,13 +15,14 @@
maxlength="50" maxlength="50"
show-word-limit show-word-limit
placeholder="请输入不符点" placeholder="请输入不符点"
disabled :disabled="!docdisflg"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px" style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
:disabled="!docdisflg"
> >
... ...
</c-button> </c-button>
...@@ -99,11 +100,16 @@ ...@@ -99,11 +100,16 @@
style="width: 100%" style="width: 100%"
placeholder="请选择寄单状态" placeholder="请选择寄单状态"
> >
<el-option
v-for="item in codes.folwupopt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-checkbox <c-checkbox v-model="docdisflg" style="margin-left: 10px"
v-model="model.bfdgrp.blk.docdisflg"
style="margin-left: 10px"
>录入不符点</c-checkbox >录入不符点</c-checkbox
> >
</template> </template>
...@@ -117,6 +123,13 @@ ...@@ -117,6 +123,13 @@
style="width: 100%" style="width: 100%"
placeholder="请选择付款人" placeholder="请选择付款人"
> >
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -124,14 +137,28 @@ ...@@ -124,14 +137,28 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '付款人', title: '',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'oth', rol: 'oth',
}" }"
:disabled="true" :disabled="true"
:noRef="true"
:isAdrblk="false"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '付款人',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled="true"
>
</c-ptap>
</c-col> -->
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
...@@ -141,7 +168,8 @@ ...@@ -141,7 +168,8 @@
> >
</span> </span>
</c-col> --> </c-col> -->
<c-col :span="24" style="height: 24px; margin-top: 20px">
<!-- <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -187,6 +215,60 @@ ...@@ -187,6 +215,60 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="TableValue"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -205,9 +287,62 @@ export default { ...@@ -205,9 +287,62 @@ export default {
"c-ptap": Ptap, "c-ptap": Ptap,
}, },
data() { data() {
return {}; return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
};
},
computed: {
docdisflg: {
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
}, },
methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="修改单据" name="drv"> <el-tab-pane label="修改单据" name="drv">
<m-drv :model="model" :codes="codes"/> <c-content>
<m-drv :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000175 --> <!--PD000175 -->
...@@ -51,6 +71,7 @@ import Api from "~/service/Api" ...@@ -51,6 +71,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bftdrv from "~/model/Bftdrv" import Bftdrv from "~/model/Bftdrv"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftdrv/Check" import Check from "~/model/Bftdrv/Check"
import Default from "~/model/Bftdrv/Default" import Default from "~/model/Bftdrv/Default"
import Pattern from "~/model/Bftdrv/Pattern" import Pattern from "~/model/Bftdrv/Pattern"
...@@ -81,10 +102,10 @@ export default { ...@@ -81,10 +102,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "drv",
trnName: "bftdrv", trnName: "bftdrv",
model: new Bftdrv().data, model: new Bftdrv().data,
checkRules: Check, checkRules: Check,
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
...@@ -74,6 +75,7 @@ ...@@ -74,6 +75,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
...@@ -200,9 +202,9 @@ ...@@ -200,9 +202,9 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.cur" v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入信用证余额" placeholder="请输入信用证余额"
disabled disabled
...@@ -210,9 +212,9 @@ ...@@ -210,9 +212,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt"> <el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.amt" v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
disabled disabled
></c-input> ></c-input>
...@@ -235,14 +237,14 @@ ...@@ -235,14 +237,14 @@
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ :argadr="{
title: '交单', title: '交单',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -252,6 +254,27 @@ ...@@ -252,6 +254,27 @@
}" }"
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
...@@ -275,7 +298,12 @@ ...@@ -275,7 +298,12 @@
<!-- left --> <!-- left -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24" style="margin-bottom:35px"> <c-col :span="24" style="margin-bottom:35px">
<c-istream-table :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" :showSelection="true"> <c-istream-table
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
...@@ -426,6 +454,7 @@ ...@@ -426,6 +454,7 @@
<c-input <c-input
v-model="model.setmod.redamt" v-model="model.setmod.redamt"
placeholder="请输入扣减金额" placeholder="请输入扣减金额"
:disabled="frepayflg"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -846,7 +875,16 @@ export default { ...@@ -846,7 +875,16 @@ export default {
return this.model.mtabut.coninf.usr.extkey == ""; return this.model.mtabut.coninf.usr.extkey == "";
}, },
}, },
methods: { ...Event }, methods: {
...Event,
multipleSelect(selection) {
console.log(selection)
if (selection) {
const rtnmsg = this.executeRule('tenstm')
this.updateModel(rtnmsg.data)
}
}
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -44,6 +62,7 @@ import Api from "~/service/Api" ...@@ -44,6 +62,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bftset from "~/model/Bftset" import Bftset from "~/model/Bftset"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftset/Check" import Check from "~/model/Bftset/Check"
import Default from "~/model/Bftset/Default" import Default from "~/model/Bftset/Default"
import Pattern from "~/model/Bftset/Pattern" import Pattern from "~/model/Bftset/Pattern"
...@@ -70,10 +89,10 @@ export default { ...@@ -70,10 +89,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "setp",
trnName: "bftset", trnName: "bftset",
model: new Bftset().data, model: new Bftset().data,
checkRules: Check, checkRules: Check,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="远期单据指示" prop="bfdsnd.usadet"> <el-form-item label="远期单据指示" prop="bfdsnd.usadet">
<c-input <c-input type="textarea" v-model="model.bfdsnd.usadet" maxlength="65" show-word-limit placeholder="请输入远期单据指示" ></c-input>
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onUsatxtButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="远期单据指示"
type="primary" prop="bfdsnd.usadet"
icon="el-icon-search" style="width: 100%"
@click="onUsatxtButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="偿付条款" prop="bfdsnd.addphr"> <el-form-item label="偿付条款" prop="bfdsnd.addphr">
<c-input <c-input type="textarea" v-model="model.bfdsnd.addphr" maxlength="65" show-word-limit placeholder="请输入偿付条款" ></c-input>
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRgfphrButtxmsel">
...
</c-button>
</c-col> -->
<c-col :span="2"> <c-col :span="24">
<c-button <el-form-item
size="small" label="偿付条款"
type="primary" prop="bfdsnd.addphr"
icon="el-icon-search" style="width: 100%"
@click="onRgfphrButtxmsel"
> >
... <c-fullbox>
</c-button> <c-input
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人地址" prop="bfdsnd.newbenadr"> <el-form-item label="新受益人地址" prop="bfdsnd.newbenadr">
<c-input <c-input type="textarea" v-model="model.bfdsnd.newbenadr" maxlength="150" show-word-limit placeholder="请输入新受益人地址" disabled></c-input>
type="textarea"
v-model="model.bfdsnd.newbenadr"
maxlength="35"
show-word-limit
placeholder="请输入新受益人地址"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-row> <c-col :span="24">
<c-col :span="12">
<el-form-item label="新受益人编号" prop="bfdgrp.blk.benref"> <el-form-item label="新受益人编号" prop="bfdgrp.blk.benref">
<c-input <c-input type="textarea" v-model="model.bfdgrp.blk.benref" maxlength="16" show-word-limit placeholder="请输入新受益人编号" ></c-input>
type="textarea"
v-model="model.bfdgrp.blk.benref"
maxlength="16"
show-word-limit
placeholder="请输入新受益人编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftsnd/Event"; import Event from "~/model/Bftsnd/Event"
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data(){
return {}; return {
},
methods: { ...Event }, }
created: function () {}, },
}; methods:{...Event},
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="24">
<el-form-item label="受益人统一社会信用代码" prop="idcode"> <el-form-item label="受益人统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input> <c-input v-model="model.idcode" maxlength="18" placeholder="请输入受益人统一社会信用代码"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人名称" prop="skrnam"> <el-form-item label="收款人名称" prop="skrnam">
<c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称"></c-input> <c-input v-model="model.skrnam" maxlength="40" placeholder="请输入收款人名称" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款人账号" prop="skracc"> <el-form-item label="收款人账号" prop="skracc">
<c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号"></c-input> <c-input v-model="model.skracc" maxlength="40" placeholder="请输入收款人账号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="快递单号" prop="bfdgrp.rec.expmno"> <el-form-item label="快递单号" prop="bfdgrp.rec.expmno">
<c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="发票信息" prop="bfdgrp.rec.invref"> <el-form-item label="发票信息" prop="bfdgrp.rec.invref">
<c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.invref" maxlength="35" show-word-limit placeholder="请输入发票信息" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行行号" prop="skhhao"> <el-form-item label="收款行行号" prop="skhhao">
<c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input> <c-input v-model="model.skhhao" maxlength="40" placeholder="请输入收款行行号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="收款行名称" prop="skhnam"> <el-form-item label="收款行名称" prop="skhnam">
<c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input> <c-input v-model="model.skhnam" maxlength="40" placeholder="请输入收款行名称"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod"> <el-form-item label="交单批注行行号" prop="bfdgrp.rec.anobnkcod">
<c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号"></c-input> <c-input v-model="model.bfdgrp.rec.anobnkcod" maxlength="20" placeholder="请输入交单批注行行号" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat"> <el-form-item label="交单批注日期" prop="bfdgrp.rec.anodat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期"></c-date-picker> <c-date-picker type="date" v-model="model.bfdgrp.rec.anodat" style="width:100%" placeholder="请选择交单批注日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp"> <el-form-item label="交单批注描述" prop="bfdgrp.rec.anodsp">
<c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" ></c-input> <c-input type="textarea" v-model="model.bfdgrp.rec.anodsp" maxlength="55" show-word-limit placeholder="请输入交单批注描述" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="报文类型" prop="bftp.msgtyp"> <el-form-item label="报文类型" prop="bftp.msgtyp">
<c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型"> <c-select v-model="model.bftp.msgtyp" style="width:100%" placeholder="请选择报文类型" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.doccur"> <el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择减少后的结算金额"> <c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<c-page title="卖方信用证寄单">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
<el-button size="small">流程附言</el-button> <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button> <el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button> <el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> --> <!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> --> <!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button> <el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> --> <!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <el-form
:model="model"
<!--PD000021 --> :rules="rules"
<el-tab-pane label="寄单" name="rgfp"> ref="modelForm"
<c-content> label-width="150px"
<m-rgfp :model="model" :codes="codes"/> label-position="right"
</c-content> size="small"
</el-tab-pane> :validate-on-rule-change="false"
>
<!--PD000259 --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="寄单1" name="rgfp1"> <!--PD000021 -->
<c-content> <el-tab-pane label="寄单" name="rgfp">
<m-rgfp1 :model="model" :codes="codes"/> <c-content>
</c-content> <m-rgfp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000050 -->
<el-tab-pane label="指示/不符点" name="dscins"> <!--PD000259 -->
<c-content> <el-tab-pane label="寄单1" name="rgfp1">
<m-dscins :model="model" :codes="codes"/> <m-rgfp1 :model="model" :codes="codes" />
</c-content> </el-tab-pane>
</el-tab-pane>
<!--PD000050 -->
<!--PD000049 --> <el-tab-pane label="指示/不符点" name="dscins">
<el-tab-pane label="单据描述" name="rgfdet"> <m-dscins :model="model" :codes="codes" />
<c-content> </el-tab-pane>
<m-rgfdet :model="model" :codes="codes"/>
</c-content> <!--PD000049 -->
</el-tab-pane> <el-tab-pane label="单据描述" name="rgfdet">
<m-rgfdet :model="model" :codes="codes" />
<!--PD000027 --> </el-tab-pane>
<el-tab-pane label="表外" name="engp">
<c-content> <!--PD000027 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="或有" name="engp">
</c-content> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<!-- <m-setpan :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes"/> </el-tab-pane>
-->
<c-content> <!--PD000000 -->
<m-setpan :model="model" :codes="codes" /> <el-tab-pane label="附言" name="coninfp">
</c-content> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000529 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="报文及面函" name="docpan">
<c-content> <m-docpan :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes"/> </el-tab-pane>
</c-content>
</el-tab-pane> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<!--PD000529 --> <m-limitbody :model="model" :codes="codes" />
<el-tab-pane label="报文及面函" name="docpan"> </el-tab-pane>
<c-content> </c-tabs>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Bftsnd from "~/model/Bftsnd"; import Bftsnd from "~/model/Bftsnd";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
...@@ -105,69 +90,64 @@ import Rgfp from "./Rgfp"; ...@@ -105,69 +90,64 @@ import Rgfp from "./Rgfp";
import Rgfp1 from "./Rgfp1"; import Rgfp1 from "./Rgfp1";
import Dscins from "./Dscins"; import Dscins from "./Dscins";
import Rgfdet from "./Rgfdet"; import Rgfdet from "./Rgfdet";
import Detp from "./Detp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftsnd", name: "Bftsnd",
components:{ components: {
"m-rgfp" : Rgfp, "m-rgfp": Rgfp,
"m-rgfp1" : Rgfp1, "m-rgfp1": Rgfp1,
"m-dscins" : Dscins, "m-dscins": Dscins,
"m-rgfdet" : Rgfdet, "m-rgfdet": Rgfdet,
"m-engp" : Engp, "m-setpan": Setpan,
"m-setpan" : Setpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-engp": Engp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-detp" : Detp, },
}, provide() {
provide() { return {
return { root: this,
root: this };
} },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "rgfp",
trnName: "bftsnd",
model: new Bftsnd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 },
computed: {}, created: async function () {
data(){ console.log("进入bftsnd交易");
return { let rtnmsg = await this.init({});
tabVal: "rgfp", if (rtnmsg.respCode == SUCCESS) {
trnName: "bftsnd", this.updateModel(rtnmsg.data);
model: new Bftsnd().data, //TODO 处理数据逻辑
checkRules: Check, } else {
defaultRules: Default, this.$notify.error({ title: "错误", message: "服务请求失败!" });
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bftsnd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span> <span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col> </c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt"> <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="$t('other.please_enter')+'Infotext'" ></c-input> <c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</c-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev"> <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 v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span> <span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col> </c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt"> <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="$t('other.please_enter')+'Infotext'" ></c-input> <c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</c-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev"> <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 v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat"> <el-form-item label="执行日期" 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> <c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey"> <el-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-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</c-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
...@@ -56,7 +52,7 @@ ...@@ -56,7 +52,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/Brtdck/Event" import Event from "~/model/Brtacp/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
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