Commit 9d3cf5cc by jianglong

修改DITDAV

parent eab12cfb
...@@ -6,23 +6,38 @@ import Utils from "~/utils" ...@@ -6,23 +6,38 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"bddgrp.rec.advtyp" :null, "bddgrp.rec.advtyp" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"bddgrp.acb.adrelc" :null,
"bddgrp.rmb.pts.extkey" :null,
"bddgrp.rec.disdat" :null, "bddgrp.rec.disdat" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"bddgrp.rec.totamt" :null,
"bddgrp.beb.pts.extkey" :null,
"bddgrp.rmb.pts.adrblk" :null,
"bddgrp.beb.pts.adrblk" :null,
"bddgrp.prb.pts.adrblk" :null, "bddgrp.prb.pts.adrblk" :null,
"bddgrp.prb.adrelc" :null, "bddgrp.prb.adrelc" :null,
"bddgrp.blk.docdis" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bddgrp.cbs.max.amt" :null,
"bddgrp.acb.pts.extkey" :null,
"bddgrp.prb.pts.extkey" :null, "bddgrp.prb.pts.extkey" :null,
"bddgrp.beb.adrelc" :null,
"bddgrp.prb.namelc" :null, "bddgrp.prb.namelc" :null,
"bddgrp.apl.pts.nam" :null, "bddgrp.apl.pts.nam" :null,
"bddgrp.rec.advdat" :null, "bddgrp.rec.advdat" :null,
"bddgrp.acb.pts.adrblk" :null,
"bddgrp.acb.namelc" :null,
"bddgrp.beb.namelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"bddgrp.prb.pts.nam" :null, "bddgrp.prb.pts.nam" :null,
"bddgrp.ben.pts.nam" :null, "bddgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"bddgrp.rmb.namelc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"bddgrp.rmb.adrelc" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bddgrp.rec.docprbrol" :null, "bddgrp.rec.docprbrol" :null,
} }
......
...@@ -6,41 +6,63 @@ import Api from "~/service/Api"; ...@@ -6,41 +6,63 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "bddgrp.blk.docdis" :Utils.defaultFunction,
"bddgrp.rec.advtyp" :Utils.defaultFunction, "bddgrp.rec.advtyp" :Utils.defaultFunction,
"bddgrp.beb.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bddgrp.beb.adrelc" :Utils.defaultFunction,
"bddgrp.beb.namelc" :Utils.defaultFunction,
"bddgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"bddgrp.acb.pts.extkey" :Utils.defaultFunction,
"bddgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"bddgrp.blk.docdisflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :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,
"bddgrp.cbs.max2.amt" :Utils.defaultFunction,
"bddgrp.rec.ownref" :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,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"bddgrp.prb.pts.extkey" :Utils.defaultFunction, "bddgrp.prb.pts.extkey" :Utils.defaultFunction,
"bddgrp.prb.adrelc" :Utils.defaultFunction, "bddgrp.prb.adrelc" :Utils.defaultFunction,
"bddgrp.prb.namelc" :Utils.defaultFunction, "bddgrp.prb.namelc" :Utils.defaultFunction,
"bddgrp.prb.dbfadrblkcn" :Utils.defaultFunction, "bddgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction, "bddgrp.rec.docprbrol" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bddgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bddgrp.ben.pts.nam" :Utils.defaultFunction, "bddgrp.ben.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bddgrp.acb.pts.adrblk" :Utils.defaultFunction,
"bddgrp.cbs.max.amt" :Utils.defaultFunction,
"bddgrp.blk.chaadd" :Utils.defaultFunction,
"bddgrp.blk.chaded" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bddgrp.prb.pts.adrblk" :Utils.defaultFunction, "bddgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "bddgrp.cbs.max.cur" :Utils.defaultFunction,
"bddgrp.rec.docprbrol" :Utils.defaultFunction,
"didgrp.rec.avbby" :Utils.defaultFunction, "didgrp.rec.avbby" :Utils.defaultFunction,
"didgrp.rec.expdat" :Utils.defaultFunction, "didgrp.rec.expdat" :Utils.defaultFunction,
"didgrp.cbs.opn1.amt" :Utils.defaultFunction, "didgrp.cbs.opn1.amt" :Utils.defaultFunction,
"didgrp.rec.shpdat" :Utils.defaultFunction, "didgrp.rec.shpdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"bddgrp.apl.pts.nam" :Utils.defaultFunction, "bddgrp.apl.pts.nam" :Utils.defaultFunction,
"bddgrp.rmb.pts.extkey" :Utils.defaultFunction,
"bddgrp.rmb.adrelc" :Utils.defaultFunction,
"bddgrp.rmb.namelc" :Utils.defaultFunction,
"bddgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"bddgrp.acb.adrelc" :Utils.defaultFunction,
"bddgrp.acb.namelc" :Utils.defaultFunction,
"bddgrp.acb.dbfadrblkcn" :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,
"bddgrp.beb.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"didgrp.cbs.nom1.cur" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"didgrp.rec.ownref" :Utils.defaultFunction, "didgrp.rec.ownref" :Utils.defaultFunction,
"bddgrp.prb.pts.nam" :Utils.defaultFunction, "bddgrp.prb.pts.nam" :Utils.defaultFunction,
} }
......
...@@ -158,5 +158,41 @@ export default { ...@@ -158,5 +158,41 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); 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 onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -281,4 +281,135 @@ export default { ...@@ -281,4 +281,135 @@ export default {
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"bddgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bdtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"bddgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bddgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bdtp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bddgrp.beb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.beb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api";
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Ditdav{ export default class Ditdav {
constructor () { constructor() {
this.data = { this.data = {
didgrp:{ didgrp:{
rec:{ rec:{
ownref:"", // 参考号 .didgrp.rec.ownref ownref:"", // 参考号 .didgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
avbby:"", // 兑付方式 .didgrp.rec.avbby avbby:"", // 兑付方式 .didgrp.rec.avbby
opndat:"", // 开证日期 .didgrp.rec.opndat opndat:"", // 开证日期 .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat shpdat:"", // Shipment Date .didgrp.rec.shpdat
expdat:"", // 到期日/到期地点 .didgrp.rec.expdat expdat:"", // 到期日/到期地点 .didgrp.rec.expdat
lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp lcrtyp:"", // 信用证类型 .didgrp.rec.lcrtyp
expplc:"", // 到期日/到期地点 .didgrp.rec.expplc expplc:"", // 到期日/到期地点 .didgrp.rec.expplc
}, },
cbs:{ cbs:{
nom1:{ nom1:{
cur:"", // 信用证金额 .didgrp.cbs.nom1.cur cur:"", // 信用证金额 .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
}, },
opn1:{ opn1:{
cur:"", // 单据余额 .didgrp.cbs.opn1.cur cur:"", // 单据余额 .didgrp.cbs.opn1.cur
amt:"", // Balance .didgrp.cbs.opn1.amt amt:"", // Balance .didgrp.cbs.opn1.amt
}, },
}, },
avbnam:"", // 指定银行 .didgrp.avbnam avbnam:"", // 指定银行 .didgrp.avbnam
},
bdtp:{
didget:{
sdamod:{
seainf:"", // .bdtp.didget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd
},
},
zchday:"", // 最迟装运/服务提供日 .bdtp.zchday
recget:{
sdamod:{
seainf:"", // .bdtp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
},
},
setnowflg:"", // Register to Send and Settle Document .bdtp.setnowflg
dcrflg:"", // Register to Handle Discrepancies .bdtp.dcrflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.prbp.ptsget.sdamod.dadsnd
}, },
bdtp:{ },
didget:{ },
sdamod:{ acbp:{
seainf:"", // .bdtp.didget.sdamod.seainf ptsget:{
dadsnd:"", // Drag Drop Sender .bdtp.didget.sdamod.dadsnd sdamod:{
}, seainf:"", // .bdtp.acbp.ptsget.sdamod.seainf
}, dadsnd:"", // Drag Drop Sender .bdtp.acbp.ptsget.sdamod.dadsnd
zchday:"", // 最迟装运/服务提供日 .bdtp.zchday
recget:{
sdamod:{
seainf:"", // .bdtp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.recget.sdamod.dadsnd
},
},
setnowflg:"", // Register to Send and Settle Document .bdtp.setnowflg
dcrflg:"", // Register to Handle Discrepancies .bdtp.dcrflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bdtp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bdtp.prbp.ptsget.sdamod.dadsnd
},
},
},
}, },
bddgrp:{ },
apl:{ },
pts:new Pts().data, rmbp:{
}, ptsget:{
ben:{ sdamod:{
pts:new Pts().data, seainf:"", // .bdtp.rmbp.ptsget.sdamod.seainf
}, dadsnd:"", // Drag Drop Sender .bdtp.rmbp.ptsget.sdamod.dadsnd
prb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.prb.namelc
adrelc:"", // 地址 .bddgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.prb.dbfadrblkcn
},
rec:{
ownref:"", // Document Reference .bddgrp.rec.ownref
advtyp:"", // Type of Advice .bddgrp.rec.advtyp
advdat:"", // Payment advised on .bddgrp.rec.advdat
disdat:"", // Discrep. advised on .bddgrp.rec.disdat
docprbrol:"", // Presented by .bddgrp.rec.docprbrol
nam:"", // Name .bddgrp.rec.nam
},
}, },
setmod:{ },
docamttyplab:"", // settled amount description as label .setmod.docamttyplab },
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg bebp:{
ref:"", // our reference .setmod.ref ptsget:{
doccur:"", // document currency .setmod.doccur sdamod:{
docamt:"", // document amount .setmod.docamt seainf:"", // .bdtp.bebp.ptsget.sdamod.seainf
dspflg:"", // Type of settlement .setmod.dspflg dadsnd:"", // Drag Drop Sender .bdtp.bebp.ptsget.sdamod.dadsnd
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 bddgrp:{
oit:{ apl:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt pts:new Pts().data,
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev },
}, ben:{
}, pts:new Pts().data,
oitset:{ },
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt prb:{
oit:{ pts:new Pts().data,
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt namelc:"", // 名称 .bddgrp.prb.namelc
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev adrelc:"", // 地址 .bddgrp.prb.adrelc
}, dbfadrblkcn:"", // Chinese address .bddgrp.prb.dbfadrblkcn
}, },
conexedat:"", // 执行日期 .mtabut.coninf.conexedat rec:{
usr:{ ownref:"", // Document Reference .bddgrp.rec.ownref
extkey:"", // User ID .mtabut.coninf.usr.extkey advtyp:"", // Type of Advice .bddgrp.rec.advtyp
}, advdat:"", // Payment advised on .bddgrp.rec.advdat
}, disdat:"", // Discrep. advised on .bddgrp.rec.disdat
docprbrol:"", // Presented by .bddgrp.rec.docprbrol
nam:"", // Name .bddgrp.rec.nam
totcur:"", // Total Amount Claimed .bddgrp.rec.totcur
totamt:"", // Total Amount to be Paid .bddgrp.rec.totamt
totdat:"", // Date to be Paid .bddgrp.rec.totdat
},
cbs:{
max:{
cur:"", // 单据金额 .bddgrp.cbs.max.cur
amt:"", // Balance .bddgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .bddgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .bddgrp.cbs.max2.amt
},
},
blk:{
chaded:"", // Charges Deducted .bddgrp.blk.chaded
chaadd:"", // Charges .bddgrp.blk.chaadd
docdis:"", // Discrepancies .bddgrp.blk.docdis
docdisflg:"", // discrepancies modified .bddgrp.blk.docdisflg
nartxt77a:"", // Narrative TAG 77A of MT754 .bddgrp.blk.nartxt77a
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.acb.namelc
adrelc:"", // 地址 .bddgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.rmb.namelc
adrelc:"", // 地址 .bddgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.rmb.dbfadrblkcn
},
beb:{
pts:new Pts().data,
namelc:"", // 名称 .bddgrp.beb.namelc
adrelc:"", // 地址 .bddgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .bddgrp.beb.dbfadrblkcn
},
},
setmod: new Pub().data.Setmod,
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, },
trnmod:{ },
trndoc:{ oitset: {
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam oit: {
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
advnam:"", // 国内证落款 .trnmod.trndoc.advnam inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
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
},
}, },
liaall:{ },
limmod:{ conexedat: "", // 执行日期 .mtabut.coninf.conexedat
limpts:{ usr: {
wrklab:"", // Label .liaall.limmod.limpts.wrklab extkey: "", // User ID .mtabut.coninf.usr.extkey
othlab:"", // Label .liaall.limmod.limpts.othlab },
othlabss:"", // Label .liaall.limmod.limpts.othlabss },
wrk:{ },
pts:new Pts().data, trnmod: new Pub().data.Trnmod,
}, liaall: new Pub().data.Liaall,
oth:{ pageId: "" // ctx的key
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
}
}
} }
\ No newline at end of file
...@@ -144,6 +144,7 @@ ...@@ -144,6 +144,7 @@
v-model="model.bddgrp.rec.advtyp" v-model="model.bddgrp.rec.advtyp"
style="width:100%" style="width:100%"
placeholder="请选择Type of Advice" placeholder="请选择Type of Advice"
:code="codes.advtyp"
></c-select> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -318,7 +319,7 @@ export default { ...@@ -318,7 +319,7 @@ export default {
data(){ data(){
return { return {
} };
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template>
<div class="eibs-tab">
<c-col>
<c-col :span="7">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-input v-model="model.bddgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="bddgrp.cbs.max.amt">
<c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="7">
<el-form-item label="" prop="bddgrp.cbs.opn2.cur">
<c-select v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="附加金额" prop="bddgrp.cbs.max2.amt">
<c-input v-model="model.bddgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="bddgrp.blk.chaded">
<c-input type="textarea" v-model="model.bddgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Charges" prop="bddgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bddgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="7">
<el-form-item label="Total Amount Claimed" prop="bddgrp.rec.totcur">
<c-input v-model="model.bddgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Total Amount to be Paid" prop="bddgrp.rec.totamt">
<c-input v-model="model.bddgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bdtp.acbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bdtp.acbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.acb.pts.extkey">
<c-input v-model="model.bddgrp.acb.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="bdtp.acbp.ptsget.sdamod.seainf">
<c-input v-model="model.bdtp.acbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bddgrp.acb.namelc">
<c-input type="textarea" v-model="model.bddgrp.acb.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="bddgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.bddgrp.acb.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="bddgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bddgrp.acb.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="bddgrp.acb.adrelc">
<c-input type="textarea" v-model="model.bddgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="bddgrp.blk.docdis">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bddgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdav/Event"
export default {
inject: ["root"],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
};
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Narrative TAG 77A of MT754" prop="bddgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bddgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of MT754" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bdtp.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bdtp.rmbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.rmb.pts.extkey">
<c-input v-model="model.bddgrp.rmb.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="bdtp.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.bdtp.rmbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bddgrp.rmb.namelc">
<c-input type="textarea" v-model="model.bddgrp.rmb.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="bddgrp.rmb.pts.adrblk">
<c-input type="textarea" v-model="model.bddgrp.rmb.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="bddgrp.rmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bddgrp.rmb.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="bddgrp.rmb.adrelc">
<c-input type="textarea" v-model="model.bddgrp.rmb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bdtp.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bdtp.bebp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bddgrp.beb.pts.extkey">
<c-input v-model="model.bddgrp.beb.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="bdtp.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.bdtp.bebp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bddgrp.beb.namelc">
<c-input type="textarea" v-model="model.bddgrp.beb.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="bddgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.bddgrp.beb.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="bddgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bddgrp.beb.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="bddgrp.beb.adrelc">
<c-input type="textarea" v-model="model.bddgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date to be Paid" prop="bddgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bddgrp.rec.totdat" style="width:100%" placeholder="请选择Date to be Paid"></c-date-picker>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<c-page title="信用证修改">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -11,22 +12,41 @@ ...@@ -11,22 +12,41 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </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="right" size="small"
size="small" label-position="right"
:validate-on-rule-change="false" >
/>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000045 --> <!--PD000045 -->
<el-tab-pane label="基本信息" name="davp"> <el-tab-pane label="基本信息" name="davp">
<c-content>
<m-davp :model="model" :codes="codes"/> <m-davp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='750'" label="不符点详情" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='754'" label="付款通知书" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.bddgrp.rec.advtyp=='oth'" label="通知详情" name="othadvtypp">
<m-othadvtypp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
</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"/>
...@@ -53,51 +73,72 @@ ...@@ -53,51 +73,72 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Ditdav from "~/model/Ditdav" import Ditdav from "~/model/Ditdav"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Ditdav/Check" import Check from "~/model/Ditdav/Check"
import Default from "~/model/Ditdav/Default" import Default from "~/model/Ditdav/Default"
import Pattern from "~/model/Ditdav/Pattern" import Pattern from "~/model/Ditdav/Pattern"
import Davp from "./Davp" import Davp from "./Davp"
import Setpan from "~/views/Public/Setpan"; import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Othadvtypp from "./Othadvtypp"
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 Doctre from "./Doctre" import Doctre from "./Doctre"
import Limitbody from "~/views/Public/Limitbody" import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Utils from "~/utils";
export default { export default {
name: "Ditdav", name: "Ditdav",
components:{ components:{
"m-davp" : Davp, "m-davp" : Davp,
"m-setpan": Setpan, "m-setpan" : Setpan,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
"m-engp" : Engp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "davp", tabVal: "davp",
trnName: "ditdav", trnName: "ditdav",
model: new Ditdav().data, model: new Ditdav().data,
checkRules: Check, //checkRules: Check,
defaultRules: Default, //defaultRules: Default,
pattern: Pattern, //pattern: Pattern,
rules: null, rules: null,
codes: { codes: { ...CodeTable },
},
} }
}, },
methods:{ methods:{
...@@ -107,19 +148,14 @@ export default { ...@@ -107,19 +148,14 @@ export default {
created:async function(){ created:async function(){
console.log("进入ditdav交易"); console.log("进入ditdav交易");
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) if (this.isInDisplay) {
// Utils.copyValueFromVO(this.model, rtnmsg.data); this.restoreDisplay();
if (this.isInDisplay) { }
this.restoreDisplay(); } else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
console.log("1111", this.model);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
}; };
......
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