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处理
...@@ -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-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