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">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<!-- 顶部 -->
<c-col :span="24">
<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"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<span
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"
>
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
<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;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
Get
</c-button>
</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>
<!-- 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>
......@@ -117,19 +133,21 @@
style="text-align: left; width: 100%"
placeholder="Please input Nominal Amount"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" style="margin-left: 10px"
>Add. Amount</c-checkbox
>
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>Add. Amount</c-checkbox
>
</c-col>
</c-col>
......@@ -137,9 +155,9 @@
<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%"
style="width: 100%"
placeholder="Please input Amount Tolerance +/-"
class="m-input-currency"
></c-input>
......@@ -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,27 +175,32 @@
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" disabled style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</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="{
......@@ -400,26 +415,23 @@
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving L/C</c-checkbox
>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving L/C</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<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">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model="model.ledgrp.rec.revtimes"
placeholder="Please input Revolve Times"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model="model.ledgrp.rec.revnbr"
placeholder="Please input Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<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"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.revcum" style="margin-left: 150px"
<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.number="model.ledgrp.rec.revtimes"
placeholder="请输入Revolve Times"
></c-input>
</el-form-item>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Revolving Clause"
prop="ledgrp.blk.revcls"
<c-col :span="8">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model.number="model.ledgrp.rec.revnbr"
placeholder="请输入Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-row>
<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%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="50"
show-word-limit
placeholder="Please input Revolving Clause"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
placeholder="请选择Next Revolve Date"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
<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.revnotes"
maxlength="35"
show-word-limit
placeholder="Please input Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="390"
show-word-limit
placeholder="请输入Revolving Clause"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRevclauseButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<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="210"
show-word-limit
placeholder="请输入Notes to Beneficiary"
></c-input>
</el-form-item>
</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">
......
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