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