Commit fa344fb4 by lianyang

betdrv交易初始化及页面修改

parent aee2f5a7
...@@ -5,29 +5,34 @@ import Utils from "~/utils" ...@@ -5,29 +5,34 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"bedgrp.oth.namelc" :null, "bedgrp.oth.namelc" :null,
"liaall.limmod.ecifno" :null,
"bedgrp.prb.pts.nam" :null,
"bedgrp.oth.adrelc" :null, "bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null, "bedgrp.prb.namelc" :null,
"bedgrp.blk.comcon" :null, "bedgrp.blk.comcon" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bedgrp.blk.setinsbe" :null, "bedgrp.blk.setinsbe" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.rec.matdat" :null, "bedgrp.rec.matdat" :null,
"bedgrp.blk.docdis" :null, "bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null, "bedgrp.prb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.blk.intdis" :null, "bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null, "bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null, "bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null, "bedgrp.prb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null, "bedgrp.rec.rcvdat" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null, "bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bedgrp.rec.orddat" :null, "bedgrp.rec.orddat" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null, "bedgrp.iss.pts.nam" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -7,51 +7,57 @@ import Utils from "~/utils/index" ...@@ -7,51 +7,57 @@ import Utils from "~/utils/index"
export default { export default {
"bedgrp.blk.docdis" :Utils.defaultFunction, "bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.cbs.max2.amt" :Utils.defaultFunction, "bedgrp.cbs.max2.amt" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.rec.matdat" :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,
"bedgrp.prb.pts.extkey" :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,
"bedgrp.rec.rcvdat" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.blk.intdis" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction, "bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction, "bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction, "oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.dscinsflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"oldbedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction, "bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction, "bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction, "bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction, "bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction, "bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction, "bedgrp.iss.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.dscinsflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"oldbedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction, "bedgrp.rec.docsta" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction,
"bedgrp.blk.intdis" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,208 +2,244 @@ import Api from "~/service/Api" ...@@ -2,208 +2,244 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onOthpDet() { async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det") let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf(data) { async onPrbpDet(){
console.log('测试。。。。。。。', data) let rtnmsg = await this.executeRule("prbp.det")
}, if(rtnmsg.respCode == SUCCESS)
{
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCptpGetref() { async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onAplpDet() { async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("aplp.det") let rtnmsg = await this.executeRule("intdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onPrbpDet() { async onComconButtxmsel(){
let rtnmsg = await this.executeRule("prbp.det") let rtnmsg = await this.executeRule("comcon.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onDocdisButtxmsel() { async onSetinstxmButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel") let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onIntdisButtxmsel() { async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("intdis.buttxmsel") 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 onComconButtxmsel() { async onLiaallButmissig(){
let rtnmsg = await this.executeRule("comcon.buttxmsel") let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetinstxmButtxmsel() { async onSetmodDet(){
let rtnmsg = await this.executeRule("setinstxm.buttxmsel") 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 onLiaallButmisamt() { async onTrndocButshw(){
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmissig() { async onTrndocButadd(){
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButapy() { async onTrndocButnew(){
let rtnmsg = await this.executeRule("mtdbut.butapy") let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButcan() { async onTrndocButattto(){
let rtnmsg = await this.executeRule("mtdbut.butcan") let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetmodDet() { async onTrndocButdel(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButshw() { async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butshw") let rtnmsg = await this.executeRule("trndoc.butatt")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButadd() { async onWrkpDet(){
let rtnmsg = await this.executeRule("trndoc.butadd") let rtnmsg = await this.executeRule("wrkp.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButnew() { async onOthp1Det(){
let rtnmsg = await this.executeRule("trndoc.butnew") let rtnmsg = await this.executeRule("othp1.det")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButattto() { async onLimptsGet1(){
let rtnmsg = await this.executeRule("trndoc.butattto") let rtnmsg = await this.executeRule("limpts.get1")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButdel() { async onLimptsGet2(){
let rtnmsg = await this.executeRule("trndoc.butdel") let rtnmsg = await this.executeRule("limpts.get2")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onTrndocButatt() { async onLimmodTrycal(){
let rtnmsg = await this.executeRule("trndoc.butatt") let rtnmsg = await this.executeRule("limmod.trycal")
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else { else
this.$notify.error({ title: '错误', message: '服务请求失败!' }); {
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
], ],
"bedgrp.oth.pts.adrblk":[ "bedgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"bedgrp.oth.dbfadrblkcn":[ "bedgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -180,14 +180,14 @@ export default { ...@@ -180,14 +180,14 @@ export default {
], ],
"bedgrp.prb.pts.adrblk":[ "bedgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"bedgrp.prb.dbfadrblkcn":[ "bedgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bedgrp.blk.matper":[ "bedgrp.blk.matper":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bedgrp.prb.adrelc":[ "bedgrp.prb.adrelc":[
...@@ -202,13 +202,13 @@ export default { ...@@ -202,13 +202,13 @@ export default {
"bedgrp.blk.docdis":[ "bedgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 3500,message:"长度不能超过3500"}
], ],
"bedgrp.blk.intdis":[ "bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 1300,message:"长度不能超过1300"}
], ],
...@@ -218,13 +218,13 @@ export default { ...@@ -218,13 +218,13 @@ export default {
], ],
"bedgrp.blk.comcon":[ "bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.blk.setinsbe":[ "bedgrp.blk.setinsbe":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 390,message:"长度不能超过390"}
], ],
"liaall.outamt":[ "liaall.outamt":[
...@@ -271,22 +271,6 @@ export default { ...@@ -271,22 +271,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -294,10 +278,6 @@ export default { ...@@ -294,10 +278,6 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -356,4 +336,73 @@ export default { ...@@ -356,4 +336,73 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Betdrv{ export default class Betdrv{
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,//表外
betissl2blk:"",
betprbl1blk:"",
betissl1blk:"",
oridoclab:"", // Label original .oridoclab oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab oriaddlab:"", // Label original .oriaddlab
betp:{ betp:{
...@@ -38,6 +47,7 @@ export default class Betdrv{ ...@@ -38,6 +47,7 @@ export default class Betdrv{
}, },
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
docgrd:"", //betp.docgrdm.docgrd Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
}, },
folwupopt:"", // Processing Options .betp.folwupopt folwupopt:"", // Processing Options .betp.folwupopt
}, },
...@@ -79,6 +89,7 @@ export default class Betdrv{ ...@@ -79,6 +89,7 @@ export default class Betdrv{
}, },
opn2:{ opn2:{
cur:"", // 附加金额 .bedgrp.cbs.opn2.cur cur:"", // 附加金额 .bedgrp.cbs.opn2.cur
amt:"", //附加金额 .bedgrp.cbs.opn2.amt
}, },
max2:{ max2:{
amt:"", // 附加金额 .bedgrp.cbs.max2.amt amt:"", // 附加金额 .bedgrp.cbs.max2.amt
...@@ -103,6 +114,7 @@ export default class Betdrv{ ...@@ -103,6 +114,7 @@ export default class Betdrv{
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
prsdoc:"", //bedgrp.blk.prsdoc Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
}, },
oth:{ oth:{
pts:new Pts().data, pts:new Pts().data,
...@@ -121,80 +133,106 @@ export default class Betdrv{ ...@@ -121,80 +133,106 @@ export default class Betdrv{
}, },
}, },
}, },
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:{
setmod:{ // limpts:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab // wrklab:"", // Label .liaall.limmod.limpts.wrklab
ref:"", // our reference .setmod.ref // othlab:"", // Label .liaall.limmod.limpts.othlab
doccur:"", // document currency .setmod.doccur // othlabss:"", // Label .liaall.limmod.limpts.othlabss
docamt:"", // document amount .setmod.docamt // wrk:{
dspflg:"", // Type of settlement .setmod.dspflg // pts:new Pts().data,
xreflg:"", // Recalculate Rates .setmod.xreflg // },
redamt:"", // 减少的金额 .setmod.redamt // oth:{
setamt:"", // 减少后的结算金额 .setmod.setamt // pts:new Pts().data,
redamttxt:"", // 注释 .setmod.redamttxt // },
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg // lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
setglg:{ // nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
}, // nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // },
setfog: { // wrkp:{
setfol: [] // ptsget:{
}, // sdamod:{
setfeg: { // dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
setfel: [] // seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
}, // },
glemod:{ // },
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm // },
}, // othp:{
}, // ptsget:{
mtabut:{ // sdamod:{
coninf:{ // dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
oitinf:{ // seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt // },
oit:{ // },
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt // },
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev // ownref:"", // 国结业务编号 .liaall.limmod.ownref
}, // comamt:"", // 业务余额 .liaall.limmod.comamt
}, // ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
oitset:{ // ecifno:"", // ECIFNO .liaall.limmod.ecifno
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt // },
oit:{ // },
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt // setmod:{
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
}, // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
}, // ref:"", // our reference .setmod.ref
conexedat:"", // 执行日期 .mtabut.coninf.conexedat // doccur:"", // document currency .setmod.doccur
usr:{ // docamt:"", // document amount .setmod.docamt
extkey:"", // User ID .mtabut.coninf.usr.extkey // dspflg:"", // Type of settlement .setmod.dspflg
}, // xreflg:"", // Recalculate Rates .setmod.xreflg
}, // setglg:{
}, // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
trnmod:{ // },
trndoc:{ // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // },
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // mtabut:{
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // coninf:{
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // oitinf:{
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // oit:{
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // },
rcvatt:{ // },
seainf:"", // .trnmod.trndoc.rcvatt.seainf // oitset:{
}, // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // 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 pageId: "" // ctx的key
} }
} }
......
<template> <template>
<c-row> <div class="eibs-tab">
<!-- <c-col :span="11"> <!-- ============================顶部================================ -->
<el-form-item label="Drag Drop Sender" prop="betp.ledget.sdamod.dadsnd">
<c-input v-model="model.betp.ledget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <!-- Reference参考号 Export L/C Ref. -->
<el-form-item label="参考号" prop="ledgrp.rec.ownref"> <c-col :span="12">
<el-form-item
label="Export L/C Ref."
prop="ledgrp.rec.ownref"
>
<c-fullbox>
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入Reference"
style="width: 95%"
:disabled="true" :disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<!-- <el-form-item label="" prop="betp.ledget.sdamod.seainf">
<c-input v-model="model.betp.ledget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item> -->
<c-button size="small" type="primary" @click="onSeainf" :disabled="true"
>i</c-button
> >
</c-input>
<template slot="footer">
<c-button <c-button
style="margin: 0 0 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onCptpGetref" @click="onSeainf"
:disabled="true" >
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
> >
获取
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<!-- Open Amt L/C 信用证余额-->
<c-col :span="6"> <c-col :span="11" :offset="1">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur"> <c-col :span="24">
<!-- <c-input v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input> --> <c-col :span="12">
<el-form-item label="Open Amt.L/C" prop="ledgrp.cbs.opn1.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.opn1.cur" v-model="model.ledgrp.cbs.opn1.cur"
style="width: 100%" maxlength="3"
placeholder="请选择币种" placeholder="请选择Currency"
:code="codes.cur" :code="codes.curtxt"
:disabled="true" disabled
> ></c-select>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="12">
<el-form-item label="" label-width="0" prop="ledgrp.cbs.opn1.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<!-- <c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> --> <c-input
<c-input-currency
v-model="model.ledgrp.cbs.opn1.amt" v-model="model.ledgrp.cbs.opn1.amt"
style="text-align: left; width: 100%" placeholder="请输入Balance"
placeholder="请输入信用证余额" class="m-input-currency"
:disabled="true" disabled
></c-input-currency> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="11"> </c-col>
<el-form-item label="Drag Drop Sender" prop="betp.recget.sdamod.dadsnd"> </c-col>
<c-input v-model="model.betp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="12">
<el-form-item label="单据参考号" prop="bedgrp.rec.ownref"> <!-- Bill Set Reference 单据参考号-->
<el-form-item label="Bill Set Reference" prop="bedgrp.rec.ownref">
<c-fullbox>
<c-input <c-input
v-model="model.bedgrp.rec.ownref" v-model="model.bedgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入单据参考号" placeholder="请输入单据参考号"
:disabled="true" style="width: 95%"
disabled
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="4">
<!-- <el-form-item label="" prop="betp.recget.sdamod.seainf">
<c-input v-model="model.betp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item> -->
<c-button size="small" type="primary" @click="onSeainf" :disabled="true"
>i</c-button
>
<c-button <c-button
style="margin: 0 0 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onCptpGetref" @click="onSeainf"
:disabled="true" >
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
> >
获取
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<!-- Name Externally Displayed Name to Identify the Contract-->
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="摘 要" prop="bedgrp.rec.nam"> <el-form-item label="Name" prop="bedgrp.rec.nam">
<c-input <c-input
text-align="middle"
v-model="model.bedgrp.rec.nam" v-model="model.bedgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入摘要" placeholder="请输入Externally Displayed Name to Identify the Contract"
:disabled="true" disabled
></c-input> >
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ============================第三行开始,金额日期 =========================-->
<c-col :span="24">
<!-- 第三行开始-金额日期--左边- -->
<c-col :span="12">
<!-- Document Amount -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="11"> <el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-select <c-select
v-model="model.bedgrp.cbs.max.cur" v-model="model.bedgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" @keyup.enter.native="maxCurEvent"
:disabled="true" :code="codes.curtxt"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="" label-width="0" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input-currency <c-input-currency
v-model="model.bedgrp.cbs.max.amt" v-model="model.bedgrp.cbs.max.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入单据金额" class="m-input-currency"
:disabled="true" placeholder="请输入Balance"
@keyup.enter.native="
defaultFunction(
'bedgrp.cbs.max.amt',
model.bedgrp.cbs.max.amt
)
"
disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4">
<c-col :span="3"> <c-checkbox
<c-checkbox v-model="model.betp.adaflg" :disabled="true">附加金额</c-checkbox> v-model="model.betp.adaflg"
style="margin-left: 10px"
disabled
>Add. Amount</c-checkbox
>
</c-col>
</c-col> </c-col>
<c-col :span="11"> <!-- Open Amount 单据余额-->
<el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="bedgrp.cbs.opn1.cur">
<c-select <c-select
v-model="model.bedgrp.cbs.opn1.cur" v-model="model.bedgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请选择币种" placeholder="请输入Open Amount"
:code="codes.cur" style="width: 100%"
:disabled="true" disabled
> :code="codes.curtxt"
</c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8">
<c-col :span="11"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.opn1.amt">
<el-form-item label="" label-width="0" prop="bedgrp.cbs.opn1.amt">
<c-input <c-input
v-model="model.bedgrp.cbs.opn1.amt" v-model="model.bedgrp.cbs.opn1.amt"
placeholder="请输入单据余额" style="text-align: left; width: 100%"
:disabled="true" class="m-input-currency"
placeholder="请输入Balance"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4">
</c-col>
</c-col>
<c-col :span="22"> <!-- Document Type -->
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod"> <c-col :span="24">
<el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
<c-select <c-select
v-model="model.bedgrp.rec.doctypcod" v-model="model.bedgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择单据类型" placeholder="请选择Document Type"
:code="codes.betdrvdoctypcod" :code="codes.doctypcod1"
:disabled="true" disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="22"> <!-- Maturity Date -->
<el-form-item label="到期日" prop="bedgrp.rec.matdat"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="bedgrp.rec.matdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.matdat" v-model="model.bedgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择到期日" placeholder="请选择Maturity Date"
:disabled="true" value-format="yyyy-MM-dd"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"></c-col>
</c-col>
<c-col :span="22"> <c-col :span="24">
<el-form-item label="提示日期" prop="bedgrp.rec.predat"> <!-- Received on -->
<c-col :span="12">
<el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择Received on"
value-format="yyyy-MM-dd"
:disabled="model.bedgrp.rec.doctypcod=='E'"
></c-date-picker>
</el-form-item>
</c-col>
<!-- Presented on 到单日期 -->
<c-col :span="12">
<el-form-item label="Presented on" prop="bedgrp.rec.predat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.predat" v-model="model.bedgrp.rec.predat"
style="width: 100%" style="width: 100%"
placeholder="请选择提示日期" placeholder="请选择到单日期"
:disabled="true" value-format="yyyy-MM-dd"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="22"> <!-- Document Status单据状态 -->
<el-form-item label="单据状态" prop="bedgrp.rec.docsta"> <c-col :span="24">
<c-input <el-form-item label="Document Status" prop="bedgrp.rec.docsta">
<c-select
v-model="model.bedgrp.rec.docsta" v-model="model.bedgrp.rec.docsta"
maxlength="40" maxlength="40"
style="width: 100%"
placeholder="请输入单据状态" placeholder="请输入单据状态"
:disabled="true" :code="codes.docsta"
></c-input> disabled
></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <!-- ========================第三行开始金额日期的右边Presented by======================= -->
<c-col :span="22"> <c-col :span="11" :offset="1">
<el-form-item label="交单人" prop="bedgrp.prb.pts.ref"> <!--Presented by 交单人 -->
<c-col :span="24">
<el-form-item label="Presented by" prop="bedgrp.prb.pts.ref">
<c-input <c-input
v-model="model.bedgrp.prb.pts.ref" v-model="model.bedgrp.prb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入交单人" placeholder="请输入交单人"
:disabled="true" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="11"> <c-col :span="24">
<c-checkbox v-model="model.betp.adaflg">Add. amount</c-checkbox> <el-form-item label="" prop="bedgrp.prb.pts.nam">
</c-col> -->
<c-col :span="22">
<el-form-item label="交单人名称" prop="bedgrp.prb.pts.nam">
<c-input <c-input
v-model="model.bedgrp.prb.pts.nam" v-model="model.bedgrp.prb.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入交单人名称" placeholder="请输入Name of Party"
:disabled="true" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <!-- 开证行 Issuing Bank Ref. -->
<el-form-item label="开证行" prop="bedgrp.iss.pts.ref"> <c-col :span="24">
<el-form-item label="Issuing Bank Ref." prop="bedgrp.iss.pts.ref">
<c-input <c-input
v-model="model.bedgrp.iss.pts.ref" v-model="model.bedgrp.iss.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入开证行" placeholder="请输入开证行"
:disabled="true" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="22"> <el-form-item label="" prop="bedgrp.iss.pts.nam">
<el-form-item label="开证行名称" prop="bedgrp.iss.pts.nam">
<c-input <c-input
v-model="model.bedgrp.iss.pts.nam" v-model="model.bedgrp.iss.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入开证行名称" placeholder="请输入Name of Party"
:disabled="true" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <!--Applicant Ref. 申请人-->
<el-form-item label="到单日期" prop="bedgrp.rec.rcvdat"> <c-col :span="24">
<c-date-picker <el-form-item label="Applicant Ref." prop="bedgrp.apl.pts.ref">
type="date"
v-model="model.bedgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
:disabled="true"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="申请人" prop="bedgrp.apl.pts.ref">
<c-input <c-input
v-model="model.bedgrp.apl.pts.ref" v-model="model.bedgrp.apl.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入申请人" placeholder="请输入申请人"
:disabled="true" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="22"> <el-form-item label="" prop="bedgrp.apl.pts.nam">
<el-form-item label="申请人名称" prop="bedgrp.apl.pts.nam">
<c-input <c-input
v-model="model.bedgrp.apl.pts.nam" v-model="model.bedgrp.apl.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入申请人名称" placeholder="请输入Name of Party"
:disabled="true"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-col> </c-col>
<!-- =================================上下两部分 分割线 ============================-->
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-divider />
</el-form-item>
</c-col> </c-col>
<!-- =========================================下半部分=============================== -->
<c-col :span="24"> <c-col :span="24">
<!-- ===============================下半部分-左边========================== -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="22"> <!-- Document Type -->
<el-form-item label="单据类型" prop="bedgrp.rec.doctypcod"> <c-col :span="24">
<el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
<c-select <c-select
v-model="model.bedgrp.doctypcod" v-model="model.bedgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择单据类型" placeholder="请选择Document Type"
:code="codes.betdrvdoctypcod" :code="codes.doctypcod1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <!--下半部分的 Document Amount -->
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
<c-select <c-select
v-model="model.bedgrp.cbs.max.cur" v-model="model.bedgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入币种"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" @keyup.enter.native="maxCurEvent"
:code="codes.cur" :code="codes.curtxt"
> disabled
</c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="12">
<el-form-item label="" label-width="0" prop="bedgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.bedgrp.cbs.max.amt" v-model="model.bedgrp.cbs.max.amt"
placeholder="请输入单据金额" style="text-align: left; width: 100%"
></c-input> class="m-input-currency"
placeholder="请输入Balance"
@keyup.enter.native="
defaultFunction(
'bedgrp.cbs.max.amt',
model.bedgrp.cbs.max.amt
)
"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="11"> <!-- <c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur"> <span v-text="model.oridoclab" data-path=".oridoclab"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="oldbedgrp.cbs.max.amt">
<c-input
v-model="model.oldbedgrp.cbs.max.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24" v-show="model.oldbedgrp.cbs.max.amt!= model.bedgrp.cbs.max.amt"> -->
<c-col :span="24">
<c-col :span="12">
<span v-text="model.oridoclab" data-path=".oridoclab"
class="span_oridoclab"
style="width: 100%;"
> </span>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="oldbedgrp.cbs.max.amt">
<c-input
v-model="model.oldbedgrp.cbs.max.amt"
style="width: 100%"
class="m-input-currency"
placeholder="请输入Balance"
disabled
v-show="model.oldbedgrp.cbs.max.amt!= model.bedgrp.cbs.max.amt"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- Drawn Add.Amount附加金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawn Add.Amount" prop="bedgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.bedgrp.cbs.opn2.cur" v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.curtxt"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="11"> <el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<el-form-item label="" label-width="0" prop="bedgrp.cbs.max2.amt">
<c-input <c-input
v-model="model.bedgrp.cbs.max2.amt" v-model="model.bedgrp.cbs.max2.amt"
placeholder="请输入附加金额" placeholder="请输入附加金额"
class="m-input-currency"
:disabled="model.bedgrp.cbs.opn2.amt==0"
></c-input>
<!-- :disabled="model.betp.adaflg==''"
:disabled="model.bedgrp.cbs.opn2.amt==0"-->
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24" v-show="model.bedgrp.cbs.max2.amt!=model.oldbedgrp.cbs.max2.amt"> -->
<c-col :span="24">
<!-- =====================================当附加金额没变时隐藏====================================================== -->
<c-col :span="12">
<span v-text="model.oriaddlab" data-path=".oriaddlab"
class="span_oridoclab"
style="width: 100%;"
> </span>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="oldbedgrp.cbs.max2.amt">
<c-input
v-model="model.oldbedgrp.cbs.max2.amt"
placeholder="请输入Balance"
class="m-input-currency"
style="width: 100%"
disabled
v-show="model.bedgrp.cbs.max2.amt!=model.oldbedgrp.cbs.max2.amt"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="11"> <!-- Received on -->
<el-form-item label="收单日期" prop="bedgrp.rec.rcvdat"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.rcvdat" v-model="model.bedgrp.rec.rcvdat"
style="width: 100%" style="width: 100%"
placeholder="请选择收单日期" placeholder="请选择Received on"
value-format="yyyy-MM-dd"
:disabled="model.bedgrp.rec.doctypcod=='E'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="11"> <el-form-item label="Order Date" prop="bedgrp.rec.orddat">
<el-form-item
label="到单日期"
label-width="80px"
prop="bedgrp.rec.predat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.predat" v-model="model.bedgrp.rec.orddat"
style="width: 100%" style="width: 100%"
placeholder="请选择到单日期" placeholder="请选择Order Date"
value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="11"> <c-col :span="24">
<el-form-item label="单据到期日" prop="bedgrp.rec.matdat"> <!-- Maturity Date -->
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bedgrp.rec.matdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.matdat" v-model="model.bedgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择单据到期日" placeholder="请选择Maturity Date"
value-format="yyyy-MM-dd"
:disabled="model.bedgrp.blk.matper!=''||model.bedgrp.rec.doctypcod=='P'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="11"> <el-form-item label="Shipped on" prop="bedgrp.rec.shpdat">
<el-form-item
label="最迟装运期"
label-width="80px"
prop="bedgrp.rec.shpdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bedgrp.rec.shpdat" v-model="model.bedgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择最迟装运期" placeholder="请选择Date of Shipment"
value-format="yyyy-MM-dd"
:disabled="model.bedgrp.rec.doctypcod=='E'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="22"> <!-- Maturity Period -->
<el-form-item label="到期期限" prop="bedgrp.blk.matper"> <c-col :span="24">
<el-form-item label="Maturity Period" prop="bedgrp.blk.matper">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.matper" v-model="model.bedgrp.blk.matper"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入到期期限" placeholder="请输入Maturity Period"
:disabled="model.bedgrp.rec.matdat!=''||model.bedgrp.rec.doctypcod=='P'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22"> <!-- Enter Documents, Discrepancies and Instructions -->
<el-form-item label="交单次数" prop="ledgrp.rec.utlnbr"> <c-col :span="18" :offset="6">
<c-checkbox v-model="model.bedgrp.rec.dscinsflg"
disabled
>Enter Documents, Discrepancies and Instructions</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item
label="Previous Drawings under this L/C"
prop="ledgrp.rec.utlnbr"
>
<c-input <c-input
v-model="model.ledgrp.rec.utlnbr" v-model="model.ledgrp.rec.utlnbr"
placeholder="请输入交单次数" placeholder="请输入No. of Existing and not Completely Processed Document Sets"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="22">
<c-checkbox v-model="model.bedgrp.rec.dscinsflg"
>录入单据、不符点、指示</c-checkbox
>
</c-col> </c-col>
<!-- ===============================下半部分-右边========================== -->
<c-col :span="11" :offset="1">
<!-- Payer -->
<c-col :span="24">
<el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select
v-model="model.bedgrp.rec.payrol"
style="width: 100%"
placeholder="请选择Payer"
:code="codes.rolall"
@change="eventFunction(
'bedgrp.rec.payrol'
)"
>
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-col :span="22"> <c-ptap1
<c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '付款人', title: '',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'oth', rol: 'oth',
}" }"
:disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAplpDet" @onAplpDet="onOthpDet"
:disabled1="model.bedgrp.rec.payrol!='OTH'"
>
</c-ptap1>
</c-col>
<!-- Presented by -->
<c-col :span="24">
<el-form-item label="Presented by" prop="bedgrp.rec.docprbrol">
<c-select
v-model="model.bedgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
:code="codes.docprbrol0"
> >
</c-ptap> </c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="22"> <c-col :span="24">
<c-ptap <c-ptap1
:model="model" :model="model"
:argadr="{ :argadr="{
title: '交单人', title: '',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAplpDet" @onAplpDet="onPrbpDet"
:disabled1="model.bedgrp.rec.docprbrol=='BEN'"
> >
</c-ptap> </c-ptap1>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.ledget.sdamod.dadsnd">
<c-input v-model="model.betp.ledget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="参考号" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.ledget.sdamod.seainf">
<c-input v-model="model.betp.ledget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ledgrp.cbs.opn1.cur">
<c-input v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.recget.sdamod.dadsnd">
<c-input v-model="model.betp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据参考号" prop="bedgrp.rec.ownref">
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.recget.sdamod.seainf">
<c-input v-model="model.betp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="bedgrp.rec.nam">
<c-input v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
<c-select v-model="model.bedgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bedgrp.cbs.max.amt">
<c-input v-model="model.bedgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单人" prop="bedgrp.prb.pts.ref">
<c-input v-model="model.bedgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单人"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.betp.adaflg">Add. amount</c-checkbox>
</c-col> </c-col>
</div>
<c-col :span="12">
<el-form-item label="单据余额" prop="bedgrp.cbs.opn1.cur">
<c-input v-model="model.bedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bedgrp.cbs.opn1.amt">
<c-input v-model="model.bedgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bedgrp.prb.pts.nam">
<c-input v-model="model.bedgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证行" prop="bedgrp.iss.pts.ref">
<c-input v-model="model.bedgrp.iss.pts.ref" maxlength="16" placeholder="请输入开证行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" style="width:100%" placeholder="请选择Document Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日" prop="bedgrp.iss.pts.nam">
<c-input v-model="model.bedgrp.iss.pts.nam" maxlength="40" placeholder="请输入到期日"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width:100%" placeholder="请选择Received on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bedgrp.rec.predat">
<c-date-picker type="date" v-model="model.bedgrp.rec.predat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="bedgrp.apl.pts.ref">
<c-input v-model="model.bedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="bedgrp.rec.docsta">
<c-input v-model="model.bedgrp.rec.docsta" maxlength="40" placeholder="请输入单据状态"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bedgrp.apl.pts.nam">
<c-input v-model="model.bedgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" style="width:100%" placeholder="请选择Document Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select v-model="model.bedgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.betp.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
<c-input v-model="model.bedgrp.cbs.max.cur" maxlength="3" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bedgrp.cbs.max.amt">
<c-input v-model="model.bedgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bedgrp.oth.pts.extkey">
<c-input v-model="model.bedgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.othp.ptsget.sdamod.seainf">
<c-input v-model="model.betp.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bedgrp.oth.namelc">
<c-input type="textarea" v-model="model.bedgrp.oth.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.oridoclab" data-path=".oridoclab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="oldbedgrp.cbs.max.amt">
<c-input v-model="model.oldbedgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bedgrp.oth.pts.adrblk">
<c-input type="textarea" v-model="model.bedgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bedgrp.oth.dbfadrblkcn">
<c-input type="textarea" v-model="model.bedgrp.oth.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.opn2.cur">
<c-select v-model="model.bedgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bedgrp.cbs.max2.amt">
<c-input v-model="model.bedgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bedgrp.oth.adrelc">
<c-input type="textarea" v-model="model.bedgrp.oth.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.oriaddlab" data-path=".oriaddlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="oldbedgrp.cbs.max2.amt">
<c-input v-model="model.oldbedgrp.cbs.max2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width:100%" placeholder="请选择Received on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="bedgrp.rec.orddat">
<c-date-picker type="date" v-model="model.bedgrp.rec.orddat" style="width:100%" placeholder="请选择Order Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presented by" prop="bedgrp.rec.docprbrol">
<c-select v-model="model.bedgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="betp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.betp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Shipment" prop="bedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.shpdat" style="width:100%" placeholder="请选择Date of Shipment"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bedgrp.prb.pts.extkey">
<c-input v-model="model.bedgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="betp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.betp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bedgrp.prb.namelc">
<c-input type="textarea" v-model="model.bedgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bedgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.bedgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bedgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bedgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Period" prop="bedgrp.blk.matper">
<c-input type="textarea" v-model="model.bedgrp.blk.matper" maxlength="65" show-word-limit placeholder="请输入Maturity Period" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bedgrp.prb.adrelc">
<c-input type="textarea" v-model="model.bedgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bedgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="No. of Existing and not Completely Processed Document Sets" prop="ledgrp.rec.utlnbr">
<c-input v-model="model.ledgrp.rec.utlnbr" placeholder="请输入No. of Existing and not Completely Processed Document Sets"></c-input>
</el-form-item>
</c-col>
</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/Betdrv/Event"; import Event from "~/model/Betdrv/Event";
import Ptap from "~/views/Public/Ptap"; import Utils from '~/utils'
import Ptap1 from "~/views/Public/Ptap1";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap1": Ptap1 },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
...Event,
onSeainf(){},
maxCurEvent() {
this.executeDefault('bedgrp.cbs.max.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style>
.span_oridoclab {
margin-right: 30px;
height: 24px;
color: #606266;
line-height: 24px;
font-size: 12px;
float: right;
text-align: right;
}
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <c-col :span="20" > <!--================================左边================================== -->
<c-checkbox v-model="model.bedgrp.blk.docdisflg">是否录入不符点</c-checkbox> <c-col :span="11">
</c-col> --> <c-col :span="24" >
<c-col :span="21">
<c-col :span="18"> <el-form-item label="Discrepancies" prop="bedgrp.blk.docdis">
<el-form-item label="不符点描述" prop="bedgrp.blk.docdis">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>是否录入不符点</c-checkbox
>
<c-input <c-input
type="textarea" type="textarea"
:rows="3"
v-model="model.bedgrp.blk.docdis" v-model="model.bedgrp.blk.docdis"
maxlength="50" maxlength="3500"
:rows="3"
show-word-limit show-word-limit
placeholder="请输入Discrepancies" placeholder="请输入Discrepancies"
:disabled="model.bedgrp.blk.docdisflg==''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3">
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onDocdisButtxmsel" @click="onDocdisButtxmsel"
:disabled="model.bedgrp.blk.docdisflg==''"
> >
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="18"> <c-col :span="24">
<el-form-item label="初审的不符点" prop="bedgrp.blk.intdis"> <c-col :span="21">
<el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.intdis" v-model="model.bedgrp.blk.intdis"
maxlength="65" maxlength="1300"
:rows="3"
show-word-limit show-word-limit
placeholder="请输入Internal Discrepancies" placeholder="请输入Internal Discrepancies"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3">
<c-col :span="6">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -54,33 +52,22 @@ ...@@ -54,33 +52,22 @@
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<!-- <c-col :span="22"> <c-col :span="24">
<el-form-item label="Payer" prop="bedgrp.rec.payrol"> <c-col :span="21">
<c-select v-model="model.bedgrp.rec.payrol" style="width:100%" placeholder="请选择Payer"> <el-form-item label="Comments and Conclusions" prop="bedgrp.blk.comcon">
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="22">
<el-form-item label="参考号" prop="bedgrp.oth.pts.ref">
<c-input v-model="model.bedgrp.oth.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="18">
<el-form-item label="对交易的注释和结论" prop="bedgrp.blk.comcon">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.comcon" v-model="model.bedgrp.blk.comcon"
maxlength="65" maxlength="1300"
:rows="3"
show-word-limit show-word-limit
placeholder="请输入Comments and Conclusions" placeholder="请输入Comments and Conclusions"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3">
<c-col :span="6">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -90,20 +77,25 @@ ...@@ -90,20 +77,25 @@
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="18"> <c-col :span="24">
<el-form-item label="结算指示" prop="bedgrp.blk.setinsbe"> <c-col :span="21">
<el-form-item
label="Settlement Instructions transaction field"
prop="bedgrp.blk.setinsbe"
>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.setinsbe" v-model="model.bedgrp.blk.setinsbe"
maxlength="65" maxlength="390"
:rows="3"
show-word-limit show-word-limit
placeholder="请输入Settlement Instructions transaction field" placeholder="请输入Settlement Instructions transaction field"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3">
<c-col :span="6">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -113,66 +105,265 @@ ...@@ -113,66 +105,265 @@
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<!-- 左下表格 -->
<c-col :span="24">
<c-docpre :model="model" :argadr="{
path: 'bedgrp.blk.prsdoc',
grp: 'betp',
code: 'docpre',
}"></c-docpre>
</c-col>
<!-- <c-col :span="12">
<span
v-text="model.betp.docgrdm.docdsclab"
data-path=".betp.docgrdm.docdsclab"
>
</span>
</c-col> -->
</c-col>
<c-col :span="11"> <!--===========================右边============================== -->
<c-istream-table :list="model.betp.docgrdm.docgrd" :columns="columns"> <c-col :span="11" :offset="1">
</c-istream-table> <c-col :span="24">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="22"> <!-- Futher Handing -->
<span v-text="model.betp.docgrdm.docdsclab" data-path=".betp.docgrdm.docdsclab" > </span> <c-col :span="24">
</c-col> --> <!-- Processing Options -->
<c-col :span="12" :offset="1"> <el-form-item label="Futher Handing" prop="betp.folwupopt">
<c-col :span="20">
<el-form-item label="远期处理" prop="betp.folwupopt">
<c-select <c-select
v-model="model.betp.folwupopt" v-model="model.betp.folwupopt"
style="width: 100%" style="width: 100%"
placeholder="请选择远期处理" placeholder="请选择Processing Options"
:code="codes.folwupopt"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="20"> <c-col :span="24">
<c-ptap <el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select
v-model="model.bedgrp.rec.payrol"
style="width: 100%"
placeholder="请选择Payer"
:code="codes.rolall"
@change="eventFunction(
'bedgrp.rec.payrol'
)"
>
</c-select>
</el-form-item>
</c-col>
<!-- Referance -->
<c-col :span="24">
<el-form-item label="Reference" prop="bedgrp.oth.pts.ref">
<c-input
v-model="model.bedgrp.oth.pts.ref"
maxlength="16"
placeholder="请输入参考号"
:disabled="model.bedgrp.rec.payrol!='OTH'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '付款人', title: '',
grp: 'bedgrp', grp: 'bedgrp',
rol: 'oth', rol: 'oth',
}" }"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
:disabledRef="true"
:disabledExtkey="true"
:disabled="true" :disabled="true"
>
</c-ptap> -->
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'bedgrp',
rol: 'oth',
}"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAplpDet" @onAplpDet="onOthpDet"
:disabled1="model.bedgrp.rec.payrol!='OTH'"
>
</c-ptap1>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="bedgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.bedgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入Discrepancies"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Processing Options" prop="betp.folwupopt">
<c-select
v-model="model.betp.folwupopt"
style="width: 100%"
placeholder="请选择Processing Options"
> >
</c-ptap> </c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input
type="textarea"
v-model="model.bedgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入Internal Discrepancies"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select
v-model="model.bedgrp.rec.payrol"
style="width: 100%"
placeholder="请选择Payer"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIntdisButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="参考号" prop="bedgrp.oth.pts.ref">
<c-input
v-model="model.bedgrp.oth.pts.ref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Comments and Conclusions" prop="bedgrp.blk.comcon">
<c-input
type="textarea"
v-model="model.bedgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入Comments and Conclusions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onComconButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSetinstxmButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="Settlement Instructions transaction field"
prop="bedgrp.blk.setinsbe"
>
<c-input
type="textarea"
v-model="model.bedgrp.blk.setinsbe"
maxlength="65"
show-word-limit
placeholder="请输入Settlement Instructions transaction field"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.betp.docgrdm.docdsclab"
data-path=".betp.docgrdm.docdsclab"
>
</span>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from '~/service/Api'
import commonProcess from "~/mixin/commonProcess"; import commonProcess from '~/mixin/commonProcess'
import CodeTable from "~/config/CodeTable"; import CodeTable from '~/config/CodeTable'
import Event from "~/model/Betdrv/Event"; import Event from '~/model/Betdrv/Event'
import Ptap from "~/views/Public/Ptap"; import Ptap1 from "~/views/Public/Ptap1"
import Docpre from "~/views/Public/Docpre"
export default { export default {
components: { "c-ptap": Ptap }, components: {
inject: ["root"], "c-ptap1": Ptap1,
props: ["model", "codes"], "c-docpre": Docpre,
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {}
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () { created: function () {},
this.model.bedgrp.blk.docdis = ""; }
},
};
</script> </script>
<style> <style></style>
</style>
<template> <template>
<c-page title="出口信用证单据修改"> <c-page title="出口信用证单据修改">
<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">inc to Ben</el-button>
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="150px"
label-position="left" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 --> <!--PD000001 Additional Documents 明细-->
<el-tab-pane label="明细" name="drv"> <el-tab-pane label="Additional Documents" name="drv">
<c-content> <c-content>
<m-drv :model="model" :codes="codes" /> <m-drv :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000073 --> <!--PD000073 Discr./Instr.单据/不符点/指示-->
<el-tab-pane label="单据/不符点/指示" name="dscins" v-if="model.bedgrp.rec.dscinsflg"> <el-tab-pane label="Discr./Instr." name="dscins" v-if="model.bedgrp.rec.dscinsflg">
<c-content> <c-content>
<m-dscins :model="model" :codes="codes" /> <m-dscins :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 Liability-或有-->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content> <c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000020 --> <!--PD000020 -->
<el-tab-pane label="信用证详情" name="detp"> <!-- <el-tab-pane label="信用证详情" name="detp">
<c-content> <c-content>
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 Settlement账务-->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content> <c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000000 Completion附言-->
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <c-content>
<m-glepan :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000529 Messages报文及面函-->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="Messages" name="docpan">
<c-content> <c-content>
<m-coninfp :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000001 -->
<el-tab-pane label="报文及面函" name="docpan"> <!-- <el-tab-pane label="分录" name="glepan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000546 --> <!--PD000546 Attachments附件-->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 limitbody统一授信-->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -84,43 +109,50 @@ import Api from "~/service/Api"; ...@@ -84,43 +109,50 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Betdrv from "~/model/Betdrv"; import Betdrv from "~/model/Betdrv";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from '~/mixin/commonFuncs'
import Check from "~/model/Betdrv/Check"; import Check from "~/model/Betdrv/Check";
import Default from "~/model/Betdrv/Default"; import Default from "~/model/Betdrv/Default";
import Pattern from "~/model/Betdrv/Pattern"; import Pattern from "~/model/Betdrv/Pattern";
import Drv from "./Drv"; import Drv from "./Drv";
import Dscins from "./Dscins"; import Dscins from "./Dscins";
//import Engp from "./Engp" //import Engp from "./Engp"
import Detp from "./Detp"; // import Detp from "./Detp";
//import Setpan from "./Setpan" //import Setpan from "./Setpan"
//import Glepan from "./Glepan" //import Glepan from "./Glepan"
//import Coninfp from "./Coninfp" //import Coninfp from "./Coninfp"
//import Docpan from "./Docpan" //import Docpan from "./Docpan"
import Doctre from "./Doctre"; // import Doctre from "./Doctre";
// import Limitbody from './Limitbody'
import Coninfp from "~/views/Public/Coninfp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
// import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"; import Doctre from '~/views/Public/Doctre';
import Glepan from "~/views/Public/Glepan"; import Limitbody from '~/views/Public/Limitbody';
export default { export default {
name: 'Betdrv',
components: { components: {
"m-drv": Drv, "m-drv": Drv,
"m-dscins": Dscins, "m-dscins": Dscins,
"m-engp": Engp, "m-engp": Engp,
"m-detp": Detp, // "m-detp": Detp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan, // "m-glepan": Glepan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
'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: "drv", tabVal: "drv",
...@@ -134,15 +166,20 @@ export default { ...@@ -134,15 +166,20 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
}, },
created: async function () { created: async function () {
console.log("进入betdrv交易"); console.log("进入betdrv交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据 //更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data); this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
......
...@@ -327,6 +327,7 @@ ...@@ -327,6 +327,7 @@
v-model="model.bedgrp.rec.doctypcod" v-model="model.bedgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择Document Type" placeholder="请选择Document Type"
:code="codes.doctypcod1"
disabled disabled
> >
</c-select> </c-select>
......
<template>
<ReviewWrapper>
<Betdrv></Betdrv>
</ReviewWrapper>
</template>
<script>
import Betdrv from "~/views/Business/Betdrv";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBetdrv",
components: { ReviewWrapper, Betdrv },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -20,6 +20,7 @@ import ReviewLetame from "./Business/ReviewLetame.vue"; ...@@ -20,6 +20,7 @@ import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewLetdrw from "./Business/ReviewLetdrw.vue"; import ReviewLetdrw from "./Business/ReviewLetdrw.vue";
import ReviewLetdav from "./Business/ReviewLetdav.vue"; import ReviewLetdav from "./Business/ReviewLetdav.vue";
import ReviewLetcan from "./Business/ReviewLetcan.vue"; import ReviewLetcan from "./Business/ReviewLetcan.vue";
import ReviewBetdrv from "./Business/ReviewBetdrv.vue";
import ReviewLitame from "./Business/ReviewLitame.vue"; import ReviewLitame from "./Business/ReviewLitame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue"; import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue"; import ReviewBdteus from "./Business/ReviewBdteus.vue";
...@@ -78,7 +79,8 @@ const ReviewRouter = [ ...@@ -78,7 +79,8 @@ const ReviewRouter = [
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } }, { path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
{ path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } }, { path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } },
{ path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } }, { path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } },
{ path: "letcan", component: ReviewLetdav, name: "ReviewLetcan", meta: { title: "复核-Letcan" } }, { path: "letcan", component: ReviewLetcan, name: "ReviewLetcan", meta: { title: "复核-Letcan" } },
{ path: "betdrv", component: ReviewBetdrv, name: "ReviewBetdrv", meta: { title: "复核-Betdrv" } },
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } }, { path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } }, { path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } }, { path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
......
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