Commit c5688153 by wangren

Bctame 交易check save 实现

parent 369395f2
......@@ -16,38 +16,38 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"amedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"amenbr":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"oldbcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.ameamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
{type: "string", required: false, message: "输入正确的日期"}
],
// "amenbr":[
// {type: "string", required: false, message: "必输项"},
// {max: 2,message:"长度不能超过2"}
// ],
// "oldbcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "trnmod.swiadd.ameamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"trnmod.swiadd.newcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.newamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "trnmod.swiadd.newamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"oldbcdgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "oldbcdgrp.rec.matpercnt":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"oldbcdgrp.rec.matpertyp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -60,10 +60,10 @@ export default {
"oldbcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newmatdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.ametxt":[
{type: "string", required: true, message: "必输项"},
......@@ -105,21 +105,21 @@ export default {
],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "bcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "bcdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -129,17 +129,17 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
......@@ -161,7 +161,7 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.namelc":[
......@@ -176,10 +176,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "bcdgrp.rec.matpercnt":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"bcdgrp.rmi.adrelc":[
......@@ -289,7 +289,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bctame{
constructor () {
this.data = {
liaall:new Pub().data.Liaall,
bcdgrp:{
rec:{
ownref:"", // Reference .bcdgrp.rec.ownref
......@@ -65,6 +66,12 @@ export default class Bctame{
adrelc:"", // 地址 .bcdgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
},
co2:{
pts:new Pts().data,
namelc:"", // 名称 .bcdgrp.co2.namelc
adrelc:"", // 地址 .bcdgrp.co2.adrelc
dbfadrblkcn:"", // Chinese address .bcdgrp.co2.dbfadrblkcn
},
},
bctp:{
recget:{
......@@ -111,6 +118,14 @@ export default class Bctame{
sblx:"", // 申报类型 .bctp.sblx
acttyplab:"", // 款项去向 .bctp.acttyplab
acttyp:"", // ACTTYP .bctp.acttyp
co2p:{
ptsget:{
sdamod:{
seainf:"", // .bctp.co2p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp.co2p.ptsget.sdamod.dadsnd
},
},
},
},
amedat:"", // Amendment Date .amedat
amenbr:"", // No. of Amendment .amenbr
......@@ -128,82 +143,10 @@ export default class Bctame{
matdat:"", // Maturity Date .oldbcdgrp.rec.matdat
},
},
trnmod:{
swiadd:{
amecur:"", // Amended .trnmod.swiadd.amecur
ameamt:"", // Amended .trnmod.swiadd.ameamt
newcur:"", // New Amount .trnmod.swiadd.newcur
newamt:"", // New amount .trnmod.swiadd.newamt
newmatpercnt:"", // New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp:"", // Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg:"", // Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat:"", // New Maturity Date .trnmod.swiadd.newmatdat
ametxt:"", // Further Amendments .trnmod.swiadd.ametxt
},
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
},
},
trnmod:new Pub().data.Trnmod,
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
newdoctypcod:"", // Amend Condition .newdoctypcod
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
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
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
},
},
},
pageId: "" // ctx的key
}
}
......
......@@ -36,10 +36,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -51,10 +51,10 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.drr.pts.ref":[
......@@ -189,7 +189,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.agtdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.agtinf":[
{type: "string", required: true, message: "必输项"},
......@@ -202,10 +202,10 @@ export default {
],
"bcdgrp.rec.relgoddat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.trpdocnum":[
......@@ -221,7 +221,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.rec.tradat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rog.pts.extkey":[
{type: "string", required: false, message: "必输项"},
......@@ -450,7 +450,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
<template>
<div class="eibs-tab">
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Reference" prop="bcdgrp.rec.ownref">
<c-input disabled v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Name" prop="bcdgrp.rec.nam">
<c-input disabled v-model="model.bcdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
<el-col :span="11">
<c-col :span="24">
<el-form-item
label="IBC Number"
prop="bcdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.bcdgrp.rec.ownref"
maxlength="8"
disabled
placeholder=""
></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 10px"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Amendment Date" prop="amedat">
<c-date-picker type="date" v-model="model.amedat" style="width:36%" placeholder="Amendment Date">
<c-date-picker type="date" v-model="model.amedat" style="width:100%" placeholder="Amendment Date">
</c-date-picker>
</el-form-item>
</c-col>
<!-- <el-form-item label="IBC Number" prop="bcdgrp.rec.ownref">
<c-fullbox>
<c-input disabled v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 10px"
type="primary"
<c-col :span="12">
<el-form-item label="No. of Amendment" prop="amenbr">
<c-input v-model="model.amenbr" style="width:20%" placeholder="No. of Amendment"></c-input>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</el-form-item> -->
</c-col>
<c-col :span="24">
<c-col :span="6">
<c-col :span="12">
<el-form-item label="Original Amount" prop="oldbcdgrp.cbs.max.cur">
<c-select disabled v-model="model.oldbcdgrp.cbs.max.cur" style="width:100%" placeholder="CUR">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
......@@ -48,7 +61,7 @@
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="oldbcdgrp.cbs.max.amt">
<c-input-currency v-model="model.oldbcdgrp.cbs.max.amt" placeholder="Original Amount" disabled></c-input-currency>
</el-form-item>
......@@ -57,7 +70,7 @@
<c-col :span="24">
<c-col :span="6">
<c-col :span="12">
<el-form-item label="Amended" prop="trnmod.swiadd.amecur">
<c-select disabled v-model="model.trnmod.swiadd.amecur" style="width:100%" placeholder="CUR">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
......@@ -66,7 +79,7 @@
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="trnmod.swiadd.ameamt">
<c-input-currency v-model="model.trnmod.swiadd.ameamt" placeholder="Amended Amount"></c-input-currency>
</el-form-item>
......@@ -75,7 +88,7 @@
</c-col>
<c-col :span="24">
<c-col :span="6">
<c-col :span="12">
<el-form-item label="New Amount" prop="trnmod.swiadd.newcur">
<c-select disabled v-model="model.trnmod.swiadd.newcur" style="width:100%" placeholder="CUR">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
......@@ -84,7 +97,7 @@
</el-form-item>
</c-col>
<c-col :span="6">
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="trnmod.swiadd.newamt">
<c-input-currency v-model="model.trnmod.swiadd.newamt" placeholder="New amount"></c-input-currency>
</el-form-item>
......@@ -93,22 +106,24 @@
<c-col :span="24">
<el-form-item label="Amend Condition" prop="newdoctypcod">
<c-select v-model="model.newdoctypcod" style="width:41%" placeholder="Amend Condition">
<c-select v-model="model.newdoctypcod" style="width:100%" placeholder="Amend Condition">
<el-option v-for="item in codes.doctyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="5">
<el-form-item label="Tenor Data" prop="oldbcdgrp.rec.matpercnt">
<c-input-currency disabled v-model="model.oldbcdgrp.rec.matpercnt" placeholder="Tenor Data"></c-input-currency>
<c-col :span="8">
<el-form-item label="Tenor Data" prop="oldbcdgrp.rec.matpercnt" style="width:100%">
<c-input disabled
style="width:100%"
v-model="model.oldbcdgrp.rec.matpercnt" placeholder="Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" style="text-align: right" label-width="10px" prop="oldbcdgrp.rec.matpertyp">
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="oldbcdgrp.rec.matpertyp">
<c-select disabled v-model="model.oldbcdgrp.rec.matpertyp" style="width:100%"
placeholder="Days/Month or Year for Maturity Period">
<el-option v-for="item in codes.matper" :key="item.value" :label="item.label" :value="item.value">
......@@ -117,24 +132,27 @@
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" style="text-align: left" label-width="20px" prop="oldbcdgrp.rec.matperbeg">
<c-select disabled v-model="model.oldbcdgrp.rec.matperbeg" style="width:66%"
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="oldbcdgrp.rec.matperbeg">
<c-select disabled
style="width:100%" v-model="model.oldbcdgrp.rec.matperbeg"
placeholder="Old Start of Maturity Period Matbeg">
<el-option v-for="item in codes.matbeg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="5">
<el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input v-model="model.trnmod.swiadd.newmatpercnt" placeholder="New Tenor Data"></c-input>
<c-col :span="8">
<el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt" style="width:100%">
<c-input
style="width:100%"
v-model="model.trnmod.swiadd.newmatpercnt" placeholder="New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="trnmod.swiadd.newmatpertyp">
<c-select v-model="model.trnmod.swiadd.newmatpertyp" style="width:100%"
placeholder="Days/Month or Year for Maturity Period">
......@@ -144,9 +162,9 @@
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" style="text-align: left" label-width="20px" prop="trnmod.swiadd.newmatperbeg">
<c-select v-model="model.trnmod.swiadd.newmatperbeg" style="width:66%"
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="trnmod.swiadd.newmatperbeg">
<c-select v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%"
placeholder="New Start of Maturity Period Matbeg">
<el-option v-for="item in codes.matbeg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -157,24 +175,50 @@
<c-col :span="24">
<el-form-item label="Maturity Date" prop="oldbcdgrp.rec.matdat">
<c-date-picker disabled type="date" v-model="model.oldbcdgrp.rec.matdat" style="width:16%"
<c-date-picker disabled type="date" v-model="model.oldbcdgrp.rec.matdat" style="width:100%"
placeholder="Old Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="New Maturity Date" prop="trnmod.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newmatdat" style="width:16%"
<c-date-picker type="date" v-model="model.trnmod.swiadd.newmatdat" style="width:100%"
placeholder="New Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Further Amendments" prop="trnmod.swiadd.ametxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.ametxt" maxlength="35" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.trnmod.swiadd.ametxt" maxlength="35" show-word-limit
placeholder="Further Amendments"></c-input>
</el-form-item>
</c-col>
</el-col>
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="bcdgrp.rec.nam">
<c-input disabled v-model="model.bcdgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="No. of Amendment" prop="amenbr">
<c-input disabled v-model="model.amenbr" style="width:100%" placeholder="No. of Amendment"></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
......
......@@ -88,7 +88,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" style="text-align: left" prop="model.bcdgrp.rec.focflg">
<el-form-item label="" style="text-align: left" prop="bcdgrp.rec.focflg">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Reference" prop="bcdgrp.rec.ownref">
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="Reference" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Name" prop="bcdgrp.rec.nam">
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" placeholder="Name" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="16">
<el-form-item label="Responsible User" prop="bctp.usr.extkey">
<c-input v-model="model.bctp.usr.extkey" style="width: 100%" maxlength="8"
placeholder="请输入Responsible User"></c-input>
<el-form-item label="Reference" prop="bcdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.bcdgrp.rec.ownref"
maxlength="16"
placeholder="Reference"
disabled
></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 10px"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="15px">
<c-button size="small" style="text-align: left" type="primary;width:10%" @click="onSeainf">i
<c-col :span="18">
<el-form-item label="Responsible User" prop="bctp.usr.extkey">
<c-fullbox>
<c-input
v-model="model.bctp.usr.extkey"
style="width: 100%"
maxlength="8"
disabled
placeholder="请输入Responsible User"
></c-input>
<template slot="footer">
<c-button
size="small"
style="margin-left: 10px; padding: 0 10px"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.bcdgrp.rec.dftgarflg"
style="margin-left:5px"
>Draft to be Guaranteed</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-select v-model="model.bcdgrp.cbs.max.cur" style="width:100%" placeholder="CUR">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="CUR"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="bcdgrp.cbs.max.amt">
<c-input-currency v-model="model.bcdgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input-currency>
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="bcdgrp.cbs.max.amt"
>
<c-input-currency
disabled
v-model="model.bcdgrp.cbs.max.amt"
placeholder="请输入Document Amount"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-select disabled v-model="model.bcdgrp.cbs.opn1.cur" style="width:100%" placeholder="CUR">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
<c-select
disabled
v-model="model.bcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="CUR"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="bcdgrp.cbs.opn1.amt">
<c-input-currency disabled v-model="model.bcdgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input-currency>
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="bcdgrp.cbs.opn1.amt"
>
<c-input-currency
disabled
v-model="model.bcdgrp.cbs.opn1.amt"
placeholder="请输入Open Amount"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Docs received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:50%"
placeholder="Docs received on"></c-date-picker>
<c-date-picker
disabled
type="date"
v-model="model.bcdgrp.rec.rcvdat"
style="width: 100%"
placeholder="Docs received on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Remittance Lt." prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:50%"
placeholder="Date of Remittance Lt."></c-date-picker>
<c-date-picker
disabled
type="date"
v-model="model.bcdgrp.rec.predat"
style="width: 100%"
placeholder="Date of Remittance Lt."
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:50%"
placeholder="Advised on"></c-date-picker>
<c-date-picker
disabled
type="date"
v-model="model.bcdgrp.rec.advdat"
style="width: 100%"
placeholder="Advised on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bcdgrp.rec.doctypcod">
<c-select v-model="model.bcdgrp.rec.doctypcod" style="width:50%"
placeholder="请选择Collection Condition">
<el-option v-for="item in codes.doctyp" :key="item.value" :label="item.label" :value="item.value">
<c-select
disabled
v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Collection Condition"
>
<el-option
v-for="item in codes.doctyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:50%"
placeholder="Maturity Date"></c-date-picker>
<c-date-picker
disabled
type="date"
v-model="model.bcdgrp.rec.matdat"
style="width: 100%"
placeholder="Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="bcdgrp.rec.invtyp">
<c-select v-model="model.bcdgrp.rec.invtyp" style="width:50%" placeholder="请选择发票类型">
<el-option v-for="item in codes.invtyp" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bcdgrp.rec.invtyp"
style="width: 100%"
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -115,15 +207,33 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bcdgrp.rec.matpercnt">
<c-input v-model="model.bcdgrp.rec.matpercnt" placeholder="Tenor Specification"></c-input>
<c-input
disabled
v-model="model.bcdgrp.rec.matpercnt"
placeholder="Tenor Specification"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" style="text-align: left" label-width="20px" prop="bcdgrp.rec.matpertyp">
<c-select v-model="model.bcdgrp.rec.matpertyp" style="width:50%"
placeholder="Days/Months or Years for Maturity Period">
<el-option v-for="item in codes.matper" :key="item.value" :label="item.label" :value="item.value">
<el-form-item
label=""
label-width="20px"
prop="bcdgrp.rec.matpertyp"
>
<c-select
disabled
v-model="model.bcdgrp.rec.matpertyp"
style="width: 100%"
placeholder="Days/Months or Years for Maturity Period"
>
<el-option
v-for="item in codes.matper"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -131,55 +241,115 @@
</c-col>
<c-col :span="24">
<el-form-item label="Tenor Starting from" prop="bcdgrp.rec.matperbeg">
<c-select v-model="model.bcdgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Tenor Starting from">
<el-option v-for="item in codes.matbeg" :key="item.value" :label="item.label" :value="item.value">
<c-select
disabled
v-model="model.bcdgrp.rec.matperbeg"
style="width: 100%"
placeholder="请选择Tenor Starting from"
>
<el-option
v-for="item in codes.matbeg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input type="textarea" v-model="model.bcdgrp.blk.bcgdet" maxlength="45" show-word-limit
placeholder="请输入Maturity Text"></c-input>
<c-input
type="textarea"
disabled
:rows="4"
v-model="model.bcdgrp.blk.bcgdet"
maxlength="45"
show-word-limit
placeholder="请输入Maturity Text"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-checkbox v-model="model.bcdgrp.rec.resflg">Reserved Contract</c-checkbox>
<c-checkbox
disabled
style="margin: 0px 0 10px 150px;"
v-model="model.bcdgrp.blk.bcgdetflg"
>Maturit Text modified</c-checkbox
>
<!-- <c-col :span="11">
<c-checkbox v-model="model.bcdgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.bcdgrp.rec.dftgarflg">Draft to be Guaranteed</c-checkbox>
<c-checkbox v-model="model.bcdgrp.rec.dftgarflg"
>Draft to be Guaranteed</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bcdgrp.rec.oridre">Send Original Documents to Drawee</c-checkbox>
<c-checkbox v-model="model.bcdgrp.rec.oridre"
>Send Original Documents to Drawee</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bcdgrp.blk.bcgdetflg">BC Tenor Details modified</c-checkbox>
<c-checkbox v-model="model.bcdgrp.blk.bcgdetflg"
>BC Tenor Details modified</c-checkbox
> -->
</c-col>
<c-edit-table :model="model" v-bind="ptsaddg">
</c-edit-table>
<c-edit-table :model="model" v-bind="ptsaddg"> </c-edit-table>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="bcdgrp.rec.nam">
<c-input
v-model="model.bcdgrp.rec.nam"
maxlength="40"
placeholder="Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-ptap
:model="model"
:argadr="{ title: 'Drawee ', grp: 'bcdgrp', rol: 'dre' }"
:disabled="true"
<c-ptap :model="model" :argadr="{title: 'Drawee ',grp: 'bcdgrp',rol: 'dre',}":disabled="true" @onSeainf="onSeainf" @onAplpDet="ondrepDet" >
>
</c-ptap>
<c-ptap :model="model" :argadr="{title: 'Remitting Bank ',grp: 'bcdgrp',rol: 'rmi',}":disabled="true" @onSeainf="onSeainf" @onAplpDet="onrmipDet" >
<c-ptap
:model="model"
:argadr="{ title: 'Remitting Bank ', grp: 'bcdgrp', rol: 'rmi' }"
:disabled="true"
>
</c-ptap>
<c-ptap :model="model" :argadr="{title: 'Drawer ',grp: 'bcdgrp',rol: 'drr',}":disabled="true" @onSeainf="onSeainf" @onAplpDet="ondrrpDet" >
<c-ptap
:model="model"
:argadr="{ title: 'Drawer ', grp: 'bcdgrp', rol: 'drr' }"
:disabled="true"
>
</c-ptap>
<c-col :span="24">
<el-form-item label="Country or region Code" prop="bcdgrp.rec.stacty">
<c-select v-model="model.bcdgrp.rec.stacty" style="width:100%"
placeholder="请选择Country or region Code">
<el-option v-for="item in codes.ctytxt" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bcdgrp.rec.stacty"
style="width: 100%"
placeholder="请选择Country or region Code"
>
<el-option
v-for="item in codes.ctytxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
......@@ -193,29 +363,36 @@
<span v-text="model.bctp.acttyplab" data-path=".bctp.acttyplab"> </span>
</c-col>-->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="款项去向" prop="bctp.acttyp">
<c-select v-model="model.bctp.acttyp" style="width:100%" placeholder="款项去向">
<el-option v-for="item in acttyp" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bctp.acttyp"
style="width: 100%"
placeholder="款项去向"
>
<el-option
v-for="item in acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctame/Event"
import Ptap from "~/views/Public/Ptap";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctame/Event";
import Ptap from "~/views/Public/Ptap";
export default {
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
......@@ -225,7 +402,8 @@
{ value: "(JN)", label: "境内非居民" },
],
ptsaddg: {
columns: [{
columns: [
{
title: "1st",
width: "40px",
dataIndex: "cmail1",
......@@ -246,16 +424,12 @@
],
urls: "bctp.docgrdm.docgrd",
},
}
};
},
methods: {
...Event
...Event,
},
created: function () {
}
}
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<style></style>
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input
disabled
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.dre.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.bcdgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.dre.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="2nd Collecting Bank Ref."
prop="bcdgrp.co2.pts.ref"
>
<c-input
v-model="model.bcdgrp.co2.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.co2.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.co2.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Drawee',
grp: 'bcdgrp',
rol: 'dre',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onDrepDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '2nd Collecting',
grp: 'bcdgrp',
rol: 'co2',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onCo2pDet"
>
</c-ptap>
</c-col> -->
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref">
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.rmi.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.rmi.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.rmi.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.drr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.drr.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Remitting Bank',
grp: 'bcdgrp',
rol: 'rmi',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onRmipDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Drawer',
grp: 'bcdgrp',
rol: 'drr',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onDrrpDet"
>
</c-ptap>
</c-col> -->
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdor/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -6,13 +6,7 @@
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
......@@ -36,25 +30,39 @@
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--账务 -->
<el-tab-pane label="账务" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--附言 -->
<el-tab-pane label="附言" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--报文及面函 -->
<el-tab-pane label="报文及面函" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="附件" name="doctre">
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
......@@ -70,21 +78,25 @@ import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Bctame from "~/model/Bctame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctame/Check"
import Default from "~/model/Bctame/Default"
import Pattern from "~/model/Bctame/Pattern"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
//import Setpan from "./Setpan"
//import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
import Doctre from "./Doctre"
// import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
//import Doctre from "~/views/Public/Doctre"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
import Glepan from "~/views/Public/Glepan"
import Engp from "~/views/Public/Engp"
export default {
......@@ -92,17 +104,20 @@ export default {
"m-amep" : Amep,
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-ptyp" : Ptyp,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-glepan" : Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "amep",
......@@ -126,11 +141,7 @@ export default {
{
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model,rtnmsg.data)
this.updateModel(rtnmsg.data)
if(this.isInDisplay){
this.restoreDisplay()
}
this.updateModel(rtnmsg.data);
}
else
......
......@@ -168,7 +168,7 @@ import Litrog from "./Litrog"
import Litacp from "./Litacp"
import Litdla from "./Litdla"
import Bctsel from "./Bctsel"
import Letdrv from "./Letdrv"
/**
......
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