Commit 9faffbee by Eivi

letdrv交易初始化及前后联动

parent 8e5aa729
This source diff could not be displayed because it is too large. You can view the blob instead.
import Utils from "~/utils"
/**
* Letdrv Check规则
*/
* Letdrv Check规则
*/
let checkObj = {
"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.rec.invtyp" :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,
"bedgrp.rec.matdat" :null,
"bedgrp.blk.docdis" :null,
"bedgrp.srm.djuref" :null,
"bedgrp.srm.djutyp" :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,
"bedgrp.rec.doctypcod" :null,
"mtabut.coninf.conexedat" :null,
"bedgrp.rec.docprbrol" :null,
"bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null,
"bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null,
"bedgrp.srm.djudat" :null,
"bedgrp.srm.djuusr" :null,
"bedgrp.prb.pts.ref" :null,
"bedgrp.cbs.max.amt" :null,
"bedgrp.rec.orddat" :null,
"bedgrp.iss.pts.nam" :null,
"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.rec.invtyp": 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,
"bedgrp.rec.matdat": null,
"bedgrp.blk.docdis": null,
"bedgrp.srm.djuref": null,
"bedgrp.srm.djutyp": 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,
"bedgrp.rec.doctypcod": null,
"mtabut.coninf.conexedat": null,
"bedgrp.rec.docprbrol": null,
"bedgrp.oth.pts.adrblk": null,
"liaall.limmod.limpts.nonrevflg1": null,
"bedgrp.prb.pts.adrblk": null,
"bedgrp.rec.rcvdat": null,
"bedgrp.oth.pts.extkey": null,
"setmod.docamt": null,
"bedgrp.srm.djudat": null,
"bedgrp.srm.djuusr": null,
"bedgrp.prb.pts.ref": null,
"bedgrp.cbs.max.amt": null,
"bedgrp.rec.orddat": null,
"bedgrp.iss.pts.nam": null,
}
for (const key in checkObj) {
......@@ -48,5 +49,4 @@ for (const key in checkObj) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
export default checkObj
\ No newline at end of file
......@@ -8,7 +8,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onPrbpDet() {
......@@ -17,7 +20,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onDocdisButtxmsel() {
......@@ -26,7 +32,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onIntdisButtxmsel() {
......@@ -35,7 +44,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onOthpDet() {
......@@ -44,7 +56,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onComconButtxmsel() {
......@@ -53,7 +68,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onSetinstxmButtxmsel() {
......@@ -62,7 +80,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onWrkpDet() {
......@@ -71,7 +92,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onOthp1Det() {
......@@ -80,7 +104,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimptsGet1() {
......@@ -89,7 +116,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimptsGet2() {
......@@ -98,7 +128,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLimmodTrycal() {
......@@ -107,7 +140,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButshw() {
......@@ -116,7 +152,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButadd() {
......@@ -125,7 +164,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButnew() {
......@@ -134,7 +176,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButattto() {
......@@ -143,7 +188,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButdel() {
......@@ -152,7 +200,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onTrndocButatt() {
......@@ -161,7 +212,10 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onSetmodDet() {
......@@ -170,7 +224,34 @@ export default {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
onSeainf() {},
......
......@@ -113,7 +113,7 @@ export default {
],
"bedgrp.cbs.max2.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -141,8 +141,8 @@ export default {
{ type: "date", required: false, message: "输入正确的日期" }
],
"bedgrp.prb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", required: false, message: "必输项" },
{ type: "string", max: 999, message: "长度不能超过35" }
],
"bedgrp.prb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -166,7 +166,7 @@ export default {
"ledgrp.rec.utlnbr": [
{ type: "number", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ type: "number", max: 999, message: "长度不能超过3" }
],
"bedgrp.blk.docdis": [
......@@ -209,7 +209,7 @@ export default {
],
"bedgrp.oth.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", max: 999, message: "长度不能超过35" }
],
"bedgrp.oth.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -385,4 +385,34 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"liaall.outamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct": [
{ type: "string", required: false, message: "必输项" },
{ max: 6, message: "长度不能超过6" }
],
"liaall.concur": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"liaall.misamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
......@@ -79,7 +79,7 @@ export default {
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this.model.bedgrp.rec.ownref = this.ownref;
console.log("ownref:" + this.ownref);
let rtnmsg = await this.executeRule("dedgrp.rec.ownref");//didgrp_rec_ownref
let rtnmsg = await this.executeRule("bedgrp.rec.ownref");//didgrp_rec_ownref
// let rtnmsg0 = await this.executeRule("bedgrp.rec.ownref"); //cfgfil.hotreg3
// if (rtnmsg0.respCode == SUCCESS) {
......
......@@ -238,7 +238,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="ditsel" :model="letselModel" @onChoose="onChoose" >11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="bedgrp" :model="letselModel" @onChoose="onChoose" >11</m-busbtn>
</div>
</el-dialog>
</div>
......
......@@ -443,7 +443,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" :model="letselModel" @onChoose="onChoose"
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="ledgrp" :model="letselModel" @onChoose="onChoose"
>11</m-busbtn
>
</div>
......@@ -469,7 +469,6 @@ export default {
letselModel:new LetselModel().data,
curinr:"",
ownref: "",
initdialog: false,
dialogTableVisible: false,
trnData: {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-col :span="20">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
Get
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-fullbox>
......@@ -123,13 +113,14 @@
<c-col :span="24">
<el-form-item label="by" prop="ledgrp.rec.avbby">
<c-fullbox>
<c-input
<c-select
v-model="model.ledgrp.rec.avbby"
maxlength="3"
style="width: 100%"
placeholder="请输入Open Amount"
placeholder="Please input Open Amount"
disabled
></c-input>
:code="codes.avbby"
></c-select>
<template slot="footer">
<c-checkbox
v-model="model.ledgrp.rec.revflg"
......@@ -213,8 +204,18 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -222,6 +223,8 @@
grp: 'bedgrp',
rol: 'apl',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
......@@ -233,6 +236,8 @@
grp: 'bedgrp',
rol: 'iss',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
......@@ -244,6 +249,8 @@
grp: 'bedgrp',
rol: 'prb',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
......@@ -255,7 +262,10 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- next part -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Document Reference"
......@@ -291,25 +301,10 @@
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
Get
</c-button>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bedgrp.rec.nam">
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Document Type"
......@@ -356,19 +351,19 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawm Add. Amount" prop="ledgrp.cbs.max.cur">
<el-form-item label="Drawn Add. Amount" prop="bedgrp.cbs.opn2.cur">
<c-input
v-model="model.ledgrp.cbs.max.cur"
v-model="model.bedgrp.cbs.opn2.cur"
maxlength="3"
placeholder="Please input Drawm Add. Amount"
placeholder="Please input Drawn Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max2.amt">
<c-input
v-model="model.ledgrp.cbs.max.amt"
v-model="model.bedgrp.cbs.max2.amt"
placeholder="Please input Balance"
disabled
></c-input>
......@@ -406,7 +401,6 @@
v-model="model.bedgrp.rec.matdat"
style="width: 100%"
placeholder="Please select Maturity Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -443,9 +437,12 @@
>
</c-col>
<c-col :span="24">
<el-form-item label="Previous Drawings under this L/C" prop="ledgrp.rec.utlnbr">
<el-form-item
label="Previous Drawings under this L/C"
prop="ledgrp.rec.utlnbr"
>
<c-input
v-model="model.ledgrp.rec.utlnbr"
v-model.number="model.ledgrp.rec.utlnbr"
placeholder="Please input Previous Drawings under this L/C"
disabled
></c-input>
......@@ -454,8 +451,18 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="bedgrp.rec.nam">
<c-input
v-model="model.bedgrp.rec.nam"
maxlength="40"
placeholder="Please input Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presented by" prop="bedgrp.rec.docprbrol">
<c-select
v-model="model.bedgrp.rec.docprbrol"
......@@ -478,8 +485,8 @@
:model="model"
:argadr="{
title: '',
grp: 'ledgrp',
rol: 'adv',
grp: 'bedgrp',
rol: 'prb',
}"
:noRef="false"
:disabled="true"
......@@ -863,7 +870,7 @@ import Event from "~/model/Letdrv/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components:{"c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Discrepancies"
......@@ -114,7 +114,7 @@
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Further Handling" prop="betp.folwupopt">
<c-fullbox>
......@@ -125,7 +125,7 @@
disabled
>
<el-option
v-for="item in codes.folwupopt1"
v-for="item in codes.folwupopt"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -162,8 +162,8 @@
:model="model"
:argadr="{
title: '',
grp: 'ledgrp',
rol: 'adv',
grp: 'bedgrp',
rol: 'oth',
}"
:noRef="false"
:disabled="true"
......@@ -225,7 +225,7 @@
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
<c-button @click="deleteTable(scope.$index)" type="primary"
>删除</c-button
>
</template>
......@@ -476,6 +476,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letdrv/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptap": Ptap },
......@@ -487,9 +488,14 @@ export default {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
cmail1: "",
cmail2: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
],
newValue: {
......@@ -497,6 +503,12 @@ export default {
cmail1: "",
cmail2: "",
docnam: "",
docnam: "",
description: "",
docnam: "",
serialNum: "",
tableName: "",
tcddoc: "",
},
codeTable: [
{ label: "Airway Bills", value: "1" },
......@@ -533,21 +545,14 @@ export default {
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
addTableValue(index) {
var newTableValue = Object.assign({},this.newValue);
const serial = Utils.generateUUID();
newTableValue.serialNum = serial;
this.model.betp.docgrdm.docgrd.splice(index-1,0,newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
deleteTable(index) {
this.model.betp.docgrdm.docgrd.splice(index,1);
},
},
created: function () {},
......
......@@ -28,12 +28,19 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--letdrv PD000002 Docs. Received -->
<el-tab-pane label="Docs.Received" name="drv">
<c-content>
<m-drv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--letdrv PD000034 Discr./Instr. -->
<el-tab-pane label="Discr./Instr." name="dscins">
<m-dscins :model="model" :codes="codes" />
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
......@@ -74,6 +81,7 @@ import Pattern from "~/model/Letdrv/Pattern";
import Drv from "./Drv";
import Dscins from "./Dscins";
import Srmp from "./Srmp";
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
......@@ -85,6 +93,7 @@ export default {
components: {
"m-drv": Drv,
"m-dscins": Dscins,
"m-engp": Engp,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-doctre": Doctre,
......
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