Commit fa344fb4 by lianyang

betdrv交易初始化及页面修改

parent aee2f5a7
......@@ -5,29 +5,34 @@ import Utils from "~/utils"
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"bedgrp.oth.namelc" :null,
"liaall.limmod.ecifno" :null,
"bedgrp.prb.pts.nam" :null,
"bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null,
"bedgrp.blk.comcon" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bedgrp.blk.setinsbe" :null,
"setmod.dspflg" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.rec.matdat" :null,
"bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null,
"bedgrp.rec.orddat" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null,
"bedgrp.iss.pts.nam" :null,
}
for (const key in checkObj) {
......
......@@ -7,51 +7,57 @@ import Utils from "~/utils/index"
export default {
"bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :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.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"betp.folwupopt" :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,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :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,
"oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :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.blk.matper" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :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,
"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处理
......@@ -126,7 +126,7 @@ export default {
],
"bedgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -180,14 +180,14 @@ export default {
],
"bedgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bedgrp.blk.matper":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bedgrp.prb.adrelc":[
......@@ -202,13 +202,13 @@ export default {
"bedgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 3500,message:"长度不能超过3500"}
],
"bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
......@@ -218,13 +218,13 @@ export default {
],
"bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
"bedgrp.blk.setinsbe":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"liaall.outamt":[
......@@ -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":[
{type: "string", required: false, message: "必输项"},
......@@ -294,10 +278,6 @@ export default {
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
......@@ -356,4 +336,73 @@ export default {
{type: "string", required: false, message: "必输项"},
{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 Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Betdrv{
constructor () {
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
oriaddlab:"", // Label original .oriaddlab
betp:{
......@@ -38,6 +47,7 @@ export default class Betdrv{
},
docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
docgrd:"", //betp.docgrdm.docgrd Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
},
folwupopt:"", // Processing Options .betp.folwupopt
},
......@@ -79,6 +89,7 @@ export default class Betdrv{
},
opn2:{
cur:"", // 附加金额 .bedgrp.cbs.opn2.cur
amt:"", //附加金额 .bedgrp.cbs.opn2.amt
},
max2:{
amt:"", // 附加金额 .bedgrp.cbs.max2.amt
......@@ -103,6 +114,7 @@ export default class Betdrv{
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
prsdoc:"", //bedgrp.blk.prsdoc Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
},
oth:{
pts:new Pts().data,
......@@ -121,80 +133,106 @@ export default class Betdrv{
},
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
......
<template>
<c-page title="出口信用证单据修改">
<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
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="明细" name="drv">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 Additional Documents 明细-->
<el-tab-pane label="Additional Documents" name="drv">
<c-content>
<m-drv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000073 -->
<el-tab-pane label="单据/不符点/指示" name="dscins" v-if="model.bedgrp.rec.dscinsflg">
<!--PD000073 Discr./Instr.单据/不符点/指示-->
<el-tab-pane label="Discr./Instr." name="dscins" v-if="model.bedgrp.rec.dscinsflg">
<c-content>
<m-dscins :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<!--PD000027 Liability-或有-->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="信用证详情" name="detp">
<!-- <el-tab-pane label="信用证详情" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<!--PD000000 Settlement账务-->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-glepan :model="model" :codes="codes" />
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<!--PD000529 Messages报文及面函-->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-coninfp :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000001 -->
<!-- <el-tab-pane label="分录" name="glepan">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<!--PD000546 Attachments附件-->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</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>
</el-form>
</div>
......@@ -84,43 +109,50 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Betdrv from "~/model/Betdrv";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from '~/mixin/commonFuncs'
import Check from "~/model/Betdrv/Check";
import Default from "~/model/Betdrv/Default";
import Pattern from "~/model/Betdrv/Pattern";
import Drv from "./Drv";
import Dscins from "./Dscins";
//import Engp from "./Engp"
import Detp from "./Detp";
// import Detp from "./Detp";
//import Setpan from "./Setpan"
//import Glepan from "./Glepan"
//import Coninfp from "./Coninfp"
//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 Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Doctre from '~/views/Public/Doctre';
import Limitbody from '~/views/Public/Limitbody';
export default {
name: 'Betdrv',
components: {
"m-drv": Drv,
"m-dscins": Dscins,
"m-engp": Engp,
"m-detp": Detp,
// "m-detp": Detp,
"m-setpan": Setpan,
"m-glepan": Glepan,
// "m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
'm-limitbody': Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "drv",
......@@ -134,15 +166,20 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入betdrv交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -327,6 +327,7 @@
v-model="model.bedgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.doctypcod1"
disabled
>
</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";
import ReviewLetdrw from "./Business/ReviewLetdrw.vue";
import ReviewLetdav from "./Business/ReviewLetdav.vue";
import ReviewLetcan from "./Business/ReviewLetcan.vue";
import ReviewBetdrv from "./Business/ReviewBetdrv.vue";
import ReviewLitame from "./Business/ReviewLitame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
......@@ -78,7 +79,8 @@ const ReviewRouter = [
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
{ path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } },
{ 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: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ 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