Commit 92ebe990 by Wuyuqiu

letrsv交易完善出事化及前后端关联

parent e60b32f5
...@@ -115,8 +115,9 @@ export default { ...@@ -115,8 +115,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async handleReset() { async handleReset(formName) {
console.log(this);
this.$refs[formName].resetFields();
}, },
async handleSearch() { async handleSearch() {
......
...@@ -260,26 +260,18 @@ export default { ...@@ -260,26 +260,18 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleSearch() { async onInfconButshword() {
this.stmData.data = []; let rtnmsg = await this.executeRule("infcon.butshword")
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows; //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset(formName) {
this.$refs[formName].resetFields();
},
// async handleSearch() { // async handleSearch() {
// this.stmData.data = []; // this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom; // let opndatfrom = this.model.infcon.opndatfrom;
......
...@@ -398,5 +398,6 @@ export default { ...@@ -398,5 +398,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onExtkey(){},
} }
\ No newline at end of file
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
"ledgrp.ben.namelc": [ "ledgrp.ben.namelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.cbs.nom1.amt": [ "ledgrp.cbs.nom1.amt": [
...@@ -56,24 +56,24 @@ export default { ...@@ -56,24 +56,24 @@ export default {
"ledgrp.ben.pts.adrblk": [ "ledgrp.ben.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.ben.dbfadrblkcn": [ "ledgrp.ben.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.rec.nomtop": [ "ledgrp.rec.nomtop": [
{ type: "stirng", required: false, message: "必输项" }, { type: "number", required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" } { type: "number",max: 999, message: "长度不能超过2" }
], ],
"ledgrp.rec.nomton": [ "ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" }, { type: "number",required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" } { type: "number",max: 999, message: "长度不能超过2" }
], ],
"ledgrp.ben.adrelc": [ "ledgrp.ben.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140, message: "长度不能超过140" }
], ],
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
"ledgrp.iss.namelc": [ "ledgrp.iss.namelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.rec.shpdat": [ "ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" } { type: "date", required: false, message: "输入正确的日期" }
...@@ -119,11 +119,11 @@ export default { ...@@ -119,11 +119,11 @@ export default {
], ],
"ledgrp.iss.pts.adrblk": [ "ledgrp.iss.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.iss.dbfadrblkcn": [ "ledgrp.iss.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.rec.expdat": [ "ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" } { type: "date", required: false, message: "输入正确的日期" }
...@@ -165,20 +165,20 @@ export default { ...@@ -165,20 +165,20 @@ export default {
], ],
"ledgrp.apl.pts.adrblk": [ "ledgrp.apl.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140"}
], ],
"ledgrp.apl.dbfadrblkcn": [ "ledgrp.apl.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.apl.adrelc": [ "ledgrp.apl.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.rec.apprultxt": [ "ledgrp.rec.apprultxt": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
], ],
"ledgrp.avb.pts.adrblk": [ "ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { type: "string",max: 999, message: "长度不能超过35" }
], ],
"ledgrp.avb.dbfadrblkcn": [ "ledgrp.avb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -231,8 +231,8 @@ export default { ...@@ -231,8 +231,8 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"ledgrp.rec.prepers18": [ "ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" }, { type:"number",required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" } { type:"number",max: 999, message: "长度不能超过3" }
], ],
...@@ -291,15 +291,15 @@ export default { ...@@ -291,15 +291,15 @@ export default {
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.rec.tenmaxday": [ "ledgrp.rec.tenmaxday": [
{ required: false, message: "必输项" }, { type: "number",required: false, message: "必输项" },
{ max: 4, message: "长度不能超过4" } { type: "number",max: 999, message: "长度不能超过4" }
], ],
"ledgrp.rec.porloa": [ "ledgrp.rec.porloa": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.rec.pordis": [ "ledgrp.rec.pordis": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.rec.shpto": [ "ledgrp.rec.shpto": [
...@@ -307,7 +307,7 @@ export default { ...@@ -307,7 +307,7 @@ export default {
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.blk.shpper": [ "ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.adv.pts.ref": [ "ledgrp.adv.pts.ref": [
...@@ -593,13 +593,13 @@ export default { ...@@ -593,13 +593,13 @@ export default {
], ],
"ledgrp.cbs.max2.amt": [ "ledgrp.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位" }
], ],
"ledgrp.cbs.opn2.amt": [ "ledgrp.cbs.opn2.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位" }
], ],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
class="m-table-search-form" class="m-table-search-form"
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
label-position="right" label-position="right"
label-width="110px" label-width="110px"
size="small" size="small"
:model="model"
> >
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
class="m-table-search-form" class="m-table-search-form"
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
label-position="left" label-position="left"
label-width="110px" label-width="110px"
size="small" size="small"
:model="model"
> >
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
...@@ -641,12 +642,12 @@ async getButtons(ownref){ ...@@ -641,12 +642,12 @@ async getButtons(ownref){
this.$router.history.push("/business/letrsv") this.$router.history.push("/business/letrsv")
}, },
handleReset: function () { // handleReset: function () {
this.model = { // this.model = {
instNo: "", // instNo: "",
instName: "", // instName: "",
}; // };
}, // },
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.rec.avbwth"> <el-form-item label="Available with" prop="ledgrp.rec.avbwth">
<c-select <c-select
v-model="model.ledgrp.rec.avbwth" v-model="avbFlag"
style="width: 100%" style="width: 100%"
placeholder="Please select Available with" placeholder="Please select Available with"
:code="codes.avbwth" :code="codes.avbwth"
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
<el-form-item label="Presentation Period" prop="ledgrp.rec.prepers18"> <el-form-item label="Presentation Period" prop="ledgrp.rec.prepers18">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.ledgrp.rec.prepers18" v-model.number="model.ledgrp.rec.prepers18"
placeholder="Please input Presentation Period" placeholder="Please input Presentation Period"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -220,6 +220,7 @@ ...@@ -220,6 +220,7 @@
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onPreperButtxmsel" @click="onPreperButtxmsel"
disabled
> >
... ...
</c-button> </c-button>
...@@ -293,10 +294,9 @@ ...@@ -293,10 +294,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Maximum Tenor(Days)" prop="ledgrp.rec.tenmaxday"> <el-form-item label="Maximum Tenor(Days)" prop="ledgrp.rec.tenmaxday">
<c-input <c-input
v-model="model.ledgrp.rec.tenmaxday" v-model.number="model.ledgrp.rec.tenmaxday"
placeholder="Please input Maximum Tenor" placeholder="Please input Maximum Tenor"
:disabled="model.ledgrp.rec.avbby == 'P'" :disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native=" @keyup.enter.native="
defaultFunction( defaultFunction(
'ledgrp.rec.tenmaxday', 'ledgrp.rec.tenmaxday',
...@@ -347,6 +347,37 @@ export default { ...@@ -347,6 +347,37 @@ export default {
}); });
}, },
}, },
computed: {
avbFlag: {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
)
},
},
defdetFlag: {
get() {
return (
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this.model.ledgrp.rec.avbby != 'D' &&
this.model.ledgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag: {
get() {
return (
this.model.ledgrp.rec.avbby == 'D' ||
this.model.ledgrp.rec.avbby == 'M' ||
this.model.ledgrp.rec.avbby == ''
)
},
},
},
created: function () {}, created: function () {},
watch: { watch: {
"model.ledgrp.avb.pts.adrblk": { "model.ledgrp.avb.pts.adrblk": {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left --> <!-- 顶部 -->
<c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="11">
<el-form-item <el-form-item
label="Reference" label="Reference"
prop="ledgrp.rec.ownref" prop="ledgrp.rec.ownref"
style="width: 100%" style="width: 100%"
> >
<c-fullbox>
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="Please input Reference" placeholder="Please input Reference"
style="width: 95%" style="width: 95%"
disabled :disabled="true"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button <c-button
style="margin: 0 10px 0 0; padding: 0 12px" style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span >i</span
> >
</c-button> </c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
> >
Get Get
</c-button> </c-button>
<!-- </el-form-item> --> </template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- </c-col> -->
</c-col> </c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select <c-select
...@@ -79,7 +96,6 @@ ...@@ -79,7 +96,6 @@
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
@click="onExtkey"
> >
</c-button> </c-button>
</template> </template>
...@@ -127,7 +143,9 @@ ...@@ -127,7 +143,9 @@
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" style="margin-left: 10px" <c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</c-col> </c-col>
...@@ -137,7 +155,7 @@ ...@@ -137,7 +155,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop"> <el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input <c-input
v-model="model.ledgrp.rec.nomtop" v-model.number="model.ledgrp.rec.nomtop"
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="Please input Amount Tolerance +/-" placeholder="Please input Amount Tolerance +/-"
...@@ -148,7 +166,7 @@ ...@@ -148,7 +166,7 @@
<c-col :span="7"> <c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton"> <el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input <c-input
v-model="model.ledgrp.rec.nomton" v-model.number="model.ledgrp.rec.nomton"
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="Please input Amount Tolerance - Negative" placeholder="Please input Amount Tolerance - Negative"
...@@ -157,7 +175,10 @@ ...@@ -157,7 +175,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" disabled style="margin-left: 10px" <c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox >Incoming Transfer</c-checkbox
> >
</c-col> </c-col>
...@@ -177,7 +198,9 @@ ...@@ -177,7 +198,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px">Reserved Contract</c-checkbox> <c-checkbox v-model="resflg" style="margin-left: 10px"
>Reserved Contract</c-checkbox
>
</c-col> </c-col>
</c-col> </c-col>
...@@ -286,12 +309,15 @@ ...@@ -286,12 +309,15 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Confirmation Instruct" prop="ledgrp.rec.cnfdet"> <el-form-item
label="Confirmation Instruct. Received"
prop="ledgrp.rec.cnfdet"
>
<c-select <c-select
v-model="model.ledgrp.rec.cnfdet" v-model="model.ledgrp.rec.cnfdet"
style="width: 100%" style="width: 100%"
placeholder="Please select Confirmation Instruct" placeholder="Please select Confirmation Instruct. Received"
:code="codes.cnfins" :code="codes.cnfflg1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -350,17 +376,6 @@ ...@@ -350,17 +376,6 @@
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <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="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -401,9 +416,7 @@ ...@@ -401,9 +416,7 @@
</c-ptap> </c-ptap>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg" <c-checkbox v-model="model.ledgrp.rec.revflg">Revolving L/C</c-checkbox>
>Revolving L/C</c-checkbox
>
</c-col> </c-col>
<!-- Authorization to Debit --> <!-- Authorization to Debit -->
...@@ -419,7 +432,6 @@ ...@@ -419,7 +432,6 @@
<c-col :span="24" class="centerLable marginLable"> <c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox> <c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
grp: 'ledgrp', grp: 'ledgrp',
rol: 'adv', rol: 'adv',
}" }"
:disabled="true" disabled
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onAdvpDet" @onAplpDet="onAdvpDet"
> >
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
v-model="model.ledgrp.rec.cnfins" v-model="model.ledgrp.rec.cnfins"
style="width: 100%" style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank" placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfins" :code="codes.cnfflg1"
disabled disabled
> >
</c-select> </c-select>
...@@ -90,7 +90,6 @@ ...@@ -90,7 +90,6 @@
grp: 'ledgrp', grp: 'ledgrp',
rol: 'con', rol: 'con',
}" }"
:disbled="true"
:onlySearch="true" :onlySearch="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onRmbpDet" @onAplpDet="onRmbpDet"
...@@ -103,10 +102,12 @@ ...@@ -103,10 +102,12 @@
v-model="model.ledgrp.con.pts.nam" v-model="model.ledgrp.con.pts.nam"
maxlength="40" maxlength="40"
placeholder="Please input Confirmation Name" placeholder="Please input Confirmation Name"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg"> <c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- left --> <c-row>
<c-col :span="11"> <c-col :span="16">
<c-col :span="24"> <el-form-item label="Revolving Details"></el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp"> <el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select <c-select
v-model="model.ledgrp.rec.revtyp" v-model="model.ledgrp.rec.revtyp"
style="width: 100%" style="width: 100%"
placeholder="Please select Revolving Type" placeholder="请选择Revolving Type"
:code="codes.revtyp" :code="codes.revtyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="8">
<c-col :span="12"> <!-- Credit is Marked as Cumulative -->
<c-checkbox v-model="model.ledgrp.rec.revcum"
style="margin-left:10px"
>Cumulative</c-checkbox
>
</c-col>
</c-row>
<c-row>
<c-col :span="8">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes"> <el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input <c-input
v-model="model.ledgrp.rec.revtimes" v-model.number="model.ledgrp.rec.revtimes"
placeholder="Please input Revolve Times" placeholder="请输入Revolve Times"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr"> <el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input <c-input
v-model="model.ledgrp.rec.revnbr" v-model.number="model.ledgrp.rec.revnbr"
placeholder="Please input Revolving Count" placeholder="请输入Revolving Count"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-row>
<c-col :span="24"> <c-row>
<c-col :span="16">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat"> <el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ledgrp.rec.revdat" v-model="model.ledgrp.rec.revdat"
style="width: 100%" style="width: 100%"
placeholder="Please select Next Revolve Date" placeholder="请选择Next Revolve Date"
value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="24"> <c-row>
<c-checkbox v-model="model.ledgrp.rec.revcum" style="margin-left: 150px" <c-col :span="16">
>Cumulative</c-checkbox <el-form-item label="Revolving Clause" prop="ledgrp.blk.revcls">
>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Revolving Clause"
prop="ledgrp.blk.revcls"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ledgrp.blk.revcls" v-model="model.ledgrp.blk.revcls"
maxlength="50" maxlength="390"
show-word-limit show-word-limit
placeholder="Please input Revolving Clause" placeholder="请输入Revolving Clause"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search"
@click="onRevclauseButtxmsel"
> >
... ...
</c-button> </c-button>
...@@ -80,20 +88,21 @@ ...@@ -80,20 +88,21 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="24"> <c-row>
<c-col :span="16">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes"> <el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ledgrp.blk.revnotes" v-model="model.ledgrp.blk.revnotes"
maxlength="35" maxlength="210"
show-word-limit show-word-limit
placeholder="Please input Notes to Beneficiary" placeholder="请输入Notes to Beneficiary"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-row>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp"> <el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select v-model="model.ledgrp.rec.revtyp" style="width:100%" placeholder="请选择Revolving Type"> <c-select v-model="model.ledgrp.rec.revtyp" style="width:100%" placeholder="请选择Revolving Type">
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -18,85 +17,122 @@ ...@@ -18,85 +17,122 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 --> <!--PD000017 -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Overview" name="ovwp">
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="Additional Amount" name="aamp" v-if="model.letp.aamp.aammod.addamtflg"> <el-tab-pane
<m-aamp :model="model" :codes="codes"/> label="Additional Amount"
name="aamp"
v-if="model.letp.aamp.aammod.addamtflg"
>
<m-aamp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000063 --> <!--PD000063 -->
<el-tab-pane label="Details" name="detp"> <el-tab-pane label="Details" name="detp">
<c-content> <c-content>
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000042 --> <!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000055 --> <!--PD000055 -->
<el-tab-pane label="Goods" name="dogp"> <el-tab-pane label="Goods" name="dogp">
<m-dogp :model="model" :codes="codes"/> <m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'" />
</el-tab-pane> </el-tab-pane>
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="Documents" name="dorp"> <el-tab-pane label="Documents" name="dorp">
<m-dorp :model="model" :codes="codes"/> <m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'led'" />
</el-tab-pane> </el-tab-pane>
<!--PD000060 --> <!--PD000060 -->
<el-tab-pane label="Additional Conditions" name="adcp"> <el-tab-pane label="Additional Conditions" name="adcp">
<m-adcp :model="model" :codes="codes"/> <m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'led'" />
</el-tab-pane> </el-tab-pane>
<!--PD000317 --> <!--PD000317 -->
<el-tab-pane label="Revolving Details" name="revp" v-if="model.ledgrp.rec.revflg"> <el-tab-pane
<m-revp :model="model" :codes="codes"/> label="Revolving Details"
name="revp"
v-if="model.ledgrp.rec.revflg"
>
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<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" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre" v-if="attachments"> <el-tab-pane label="Attachments" name="doctre" v-if="attachments">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000394 --> <!--PD000394 -->
<el-tab-pane label="Special Paymt Cond. Beneficiary" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg"> <el-tab-pane
<m-spcbenp :model="model" :codes="codes"/> label="Special Paymt Cond. Beneficiary"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg"
>
<m-doxp
:model="model"
:codes="codes"
:dtyp="'spcbenp'"
:rec="'led'"
/>
</el-tab-pane> </el-tab-pane>
<!--PD000422 --> <!--PD000422 -->
<el-tab-pane label="Special Paymt Cond. Bank only" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg"> <el-tab-pane
<m-spcrcvp :model="model" :codes="codes"/> label="Special Paymt Cond. Bank only"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg"
>
<m-doxp
:model="model"
:codes="codes"
:dtyp="'spcrcvp'"
:rec="'led'"
/>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -106,60 +142,65 @@ ...@@ -106,60 +142,65 @@
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Letrsv from "~/model/Letrsv" import Letrsv from "~/model/Letrsv";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Letrsv/Check" import Check from "~/model/Letrsv/Check";
import Default from "~/model/Letrsv/Default" import Default from "~/model/Letrsv/Default";
import Pattern from "~/model/Letrsv/Pattern" import Pattern from "~/model/Letrsv/Pattern";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Detp from "./Detp" import Detp from "./Detp";
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp";
import Dogp from "./Dogp" // import Dogp from "./Dogp";
import Dorp from "./Dorp" // import Dorp from "./Dorp";
import Adcp from "./Adcp" // import Adcp from "./Adcp";
import Revp from "./Revp" import Revp from "./Revp";
import Aamp from "./Aamp" import Aamp from "./Aamp";
import Spcbenp from "./Spcbenp" // import Spcbenp from "./Spcbenp";
import Spcrcvp from "./Spcrcvp" // import Spcrcvp from "./Spcrcvp";
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";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Engp from '~/views/Public/Engp'
import Doxp from '~/views/Public/Doxp'
export default { export default {
name: "Letrsv", name: "Letrsv",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-dogp" : Dogp, 'm-engp': Engp,
"m-dorp" : Dorp, "m-setpan": Setpan,
"m-adcp" : Adcp, "m-coninfp": Coninfp,
"m-setpan" : Setpan, "m-docpan": Docpan,
"m-coninfp" : Coninfp, "m-doctre": Doctre,
"m-docpan" : Docpan, "m-revp": Revp,
"m-doctre" : Doctre, "m-aamp": Aamp,
"m-revp" : Revp, "m-limitbody": Limitbody,
"m-aamp" : Aamp, 'm-doxp': Doxp,
"m-spcbenp" : Spcbenp,
"m-spcrcvp" : Spcrcvp,
"m-limitbody" : Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "letrsv", trnName: "letrsv",
...@@ -169,38 +210,33 @@ export default { ...@@ -169,38 +210,33 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
attachments: false attachments: false,
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
if(tab.name === 'setpan') { if (tab.name === "setpan") {
this.attachments = true this.attachments = true;
} }
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入letrsv交易"); console.log("进入letrsv交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
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