Commit 92ebe990 by Wuyuqiu

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

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