Commit 93995602 by liyixun

getopn bug (731)

parent 9b162530
...@@ -116,6 +116,7 @@ let checkObj = { ...@@ -116,6 +116,7 @@ let checkObj = {
"gidgrp.cbs.mac.amt" :null, "gidgrp.cbs.mac.amt" :null,
"addbcb.label5" :null, "addbcb.label5" :null,
"gidgrp.atb.namelc" :null, "gidgrp.atb.namelc" :null,
"gidgrp.blk.addamtcovs20" :null,
"gidgrp.rec.orddat" :null, "gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null, "gidgrp.ctc.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null, "trnmod.swiadd.addamt" :null,
...@@ -148,6 +149,7 @@ let checkObj = { ...@@ -148,6 +149,7 @@ let checkObj = {
"trnmod.swiadd.addamtc" :null, "trnmod.swiadd.addamtc" :null,
"gitp.gidtxtmodflg" :null, "gitp.gidtxtmodflg" :null,
"gidgrp.blk.feetxt" :null, "gidgrp.blk.feetxt" :null,
"gidgrp.cbs.max2.amt" :null,
"addbcb.bccls2" :null, "addbcb.bccls2" :null,
"addbcb.bccls1" :null, "addbcb.bccls1" :null,
"addbcb.bccls4" :null, "addbcb.bccls4" :null,
......
...@@ -33,6 +33,7 @@ export default { ...@@ -33,6 +33,7 @@ export default {
"gidgrp.adv.namelc" :Utils.defaultFunction, "gidgrp.adv.namelc" :Utils.defaultFunction,
"gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction, "gidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction, "gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.max2.amt" :Utils.defaultFunction,
"gidgrp.rec.exptyp" :Utils.defaultFunction, "gidgrp.rec.exptyp" :Utils.defaultFunction,
"gidgrp.rec.orcdatc" :Utils.defaultFunction, "gidgrp.rec.orcdatc" :Utils.defaultFunction,
"gidgrp.rec.stdwrduilc" :Utils.defaultFunction, "gidgrp.rec.stdwrduilc" :Utils.defaultFunction,
...@@ -246,6 +247,7 @@ export default { ...@@ -246,6 +247,7 @@ export default {
"trnmod.swiadd.ameamtc" :Utils.defaultFunction, "trnmod.swiadd.ameamtc" :Utils.defaultFunction,
"gitamep.oldmacamt" :Utils.defaultFunction, "gitamep.oldmacamt" :Utils.defaultFunction,
"gidgrp.ghd.aplnam" :Utils.defaultFunction, "gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gidgrp.blk.addamtcovs20" :Utils.defaultFunction,
"gitamep.plateflg" :Utils.defaultFunction, "gitamep.plateflg" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction, "gidgrp.rec.orddat" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction, "setmod.glemod.glepan" :Utils.defaultFunction,
......
...@@ -1243,4 +1243,26 @@ export default { ...@@ -1243,4 +1243,26 @@ export default {
"gidgrp.cbs.max2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.addamtcovs20":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
} }
\ No newline at end of file
...@@ -301,6 +301,10 @@ export default class Gitame{ ...@@ -301,6 +301,10 @@ export default class Gitame{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt amt:"", // Balance .gidgrp.cbs.opn1.amt
}, },
opn2:{
cur:"", //Additional Amount .gidgrp.cbs.opn2.cur
amt:"", //Additional Amount .gidgrp.cbs.opn2.amt
},
cnf:{ cnf:{
cur:"", // Confirmation Amount .gidgrp.cbs.cnf.cur cur:"", // Confirmation Amount .gidgrp.cbs.cnf.cur
amt:"", // Balance .gidgrp.cbs.cnf.amt amt:"", // Balance .gidgrp.cbs.cnf.amt
...@@ -319,6 +323,7 @@ export default class Gitame{ ...@@ -319,6 +323,7 @@ export default class Gitame{
}, },
max2:{ max2:{
cur:"", // Currency .gidgrp.cbs.max2.cur cur:"", // Currency .gidgrp.cbs.max2.cur
amt:"", // Additional Amout .gidgrp.cbs.max2.cur
}, },
}, },
blk:{ blk:{
...@@ -356,6 +361,7 @@ export default class Gitame{ ...@@ -356,6 +361,7 @@ export default class Gitame{
addinf:"", // Additional Info .gidgrp.blk.addinf addinf:"", // Additional Info .gidgrp.blk.addinf
atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv
gidtxtame:"", // Amendments so Far .gidgrp.blk.gidtxtame gidtxtame:"", // Amendments so Far .gidgrp.blk.gidtxtame
addamtcovs20:"" //Additional Amount .gidgrp.blk.addamtcovs20
}, },
apl:{ apl:{
pts:new Pts().data, pts:new Pts().data,
......
...@@ -95,11 +95,17 @@ ...@@ -95,11 +95,17 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
<c-input <c-input
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%" style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount" placeholder="请输入Guarantee Amount"
@blur="amtBlur"
@keyup.enter.native="
defaultFunction('gidgrp.cbs.max.amt',model.gidgrp.cbs.max.amt)
"
></c-input> ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col <c-col
:span="4" :span="4"
...@@ -122,14 +128,14 @@ ...@@ -122,14 +128,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> --> <el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 10px; width: 80%" style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
<!-- </el-form-item> --> </el-form-item>
</c-col> </c-col>
<c-col <c-col
:span="4" :span="4"
...@@ -705,6 +711,7 @@ ...@@ -705,6 +711,7 @@
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input <c-input
:disabled=" :disabled="
model.gidgrp.blk.apprul == 'URDG' || model.gidgrp.blk.apprul == 'URDG' ||
...@@ -715,6 +722,7 @@ ...@@ -715,6 +722,7 @@
maxlength="35" maxlength="35"
placeholder="请输入Applicable Rules" placeholder="请输入Applicable Rules"
></c-input> ></c-input>
</el-form-item>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -1636,6 +1644,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -1636,6 +1644,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event"; import Event from "~/model/Getopn/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 },
...@@ -1651,7 +1660,15 @@ export default { ...@@ -1651,7 +1660,15 @@ export default {
return this.model.gidgrp.apl.pts.extkey == ""; return this.model.gidgrp.apl.pts.extkey == "";
}, },
}, },
methods: { ...Event }, methods: {
...Event,
async amtBlur() {
let rtnmsg = await this.executeDefault("gidgrp.cbs.max.amt");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="12">
<el-form-item <c-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
label="Additional Amount"
prop="gidgrp.cbs.mac2.cur"
>
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.mac2.cur" v-model="model.gidgrp.cbs.mac2.cur"
maxlength="3" maxlength="3"
placeholder="请输入Additional Amount" placeholder="请输入Additional Amount"
></c-input> ></c-input>
</el-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="12">
<c-form-item label-width="5px" prop="gidgrp.cbs.mac2.amt">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.mac2.amt" v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入Balance" placeholder="请输入Balence"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur"> <c-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.opc2.cur" v-model="model.gidgrp.cbs.opc2.cur"
maxlength="3" maxlength="3"
placeholder="请输入Open Add. Amount" placeholder="请输入Open Add.Amount"
></c-input> ></c-input>
</el-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="12">
<c-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input <c-input
disabled disabled
v-model="model.gidgrp.cbs.opc2.amt" v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc"> <c-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input <c-input
disabled
type="textarea" type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc" v-model="model.gidgrp.blk.addamtcovc"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Covered" placeholder="请输入Covered"
></c-input> ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000004 : Additional Amount -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000008 : Open Add. Amount -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input>
</c-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="12">
<c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF000009 : Covered -->
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input>
</c-form-item>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- SF000783 : Additional Amount --> <c-row>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-form-item :label="$t('gitp.SF000783')" prop="gidgrp.cbs.max2.cur"> <c-col :span="24">
<c-input v-model="model.gidgrp.cbs.max2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.SF000783')"></c-input> <c-col :span="14">
</c-form-item> <el-form-item
label="Additional Amount"
prop="gidgrp.cbs.max2.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.max2.cur"
maxlength="3"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="10">
<c-col :span="12"> <el-form-item label-width="5px" prop="gidgrp.gidgrp.cbs.max2.amt">
<c-form-item label="Balance" prop="gidgrp.cbs.max2.amt"> <c-input
<c-input v-model="model.gidgrp.cbs.max2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> disabled
</c-form-item> v-model="model.gidgrp.cbs.max2.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- SF000784 : Open Add. Amount -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000784')" prop="gidgrp.cbs.opn2.cur">
<c-input v-model="model.gidgrp.cbs.opn2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('gitp.SF000784')"></c-input>
</c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="Balance" prop="gidgrp.cbs.opn2.amt"> <c-col :span="14">
<c-input v-model="model.gidgrp.cbs.opn2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> <el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opn2.cur">
</c-form-item> <c-input
disabled
v-model="model.gidgrp.cbs.opn2.cur"
maxlength="3"
placeholder="请输入Open Add. Amount"
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- SF000785 : Covered --> <c-col :span="10">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn2.amt">
<c-col :span="12"> <c-input
<c-form-item :label="$t('gitp.SF000785')" prop="gidgrp.blk.addamtcovs20"> disabled
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovs20" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000785')" ></c-input> v-model="model.gidgrp.cbs.opn2.amt"
</c-form-item> placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col> </c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovs20">
<c-input
disabled
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovs20"
maxlength="65"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event" import Event from "~/model/Gitame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -73,11 +73,13 @@ ...@@ -73,11 +73,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gitamep.oldmacamt">
<c-input <c-input
disabled disabled
v-model="model.gitamep.oldmacamt" v-model="model.gitamep.oldmacamt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -93,10 +95,12 @@ ...@@ -93,10 +95,12 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="trnmod.swiadd.ameamtc">
<c-input <c-input
v-model="model.trnmod.swiadd.ameamtc" v-model="model.trnmod.swiadd.ameamtc"
placeholder="请输入Increase of Local Guarantee Amount" placeholder="请输入Increase of Local Guarantee Amount"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -115,10 +119,13 @@ ...@@ -115,10 +119,13 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="trnmod.swiadd.newamtc">
<c-input <c-input
v-model="model.trnmod.swiadd.newamtc" v-model="model.trnmod.swiadd.newamtc"
placeholder="请输入New Amount Local Guarantee" placeholder="请输入New Amount Local Guarantee"
@blur="newamtcBlur"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -137,11 +144,13 @@ ...@@ -137,11 +144,13 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="trnmod.swiadd.addamtc">
<c-input <c-input
:disabled="model.trnmod.swiadd.addamtflgc == ''" :disabled="model.trnmod.swiadd.addamtflgc == ''"
v-model="model.trnmod.swiadd.addamtc" v-model="model.trnmod.swiadd.addamtc"
placeholder="请输入Additional Amount Seq. C" placeholder="请输入Additional Amount Seq. C"
></c-input> ></c-input>
</c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -179,96 +188,6 @@ ...@@ -179,96 +188,6 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<!-- SF002123 : Amendments -->
<!-- <c-col :span="12">
<c-form-item label="$t('gitamep.SF002123')" prop="gitamep.ametxtc">
<c-input type="textarea" v-model="model.gitamep.ametxtc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002123')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitamep.ametxtflgc">{{$t('gitamep.CF002157')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Text for Amendments" prop="trnmod.swiadd.ameblkc">
<c-input type="textarea" v-model="model.trnmod.swiadd.ameblkc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+'Text for Amendments'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAmebutcButtxmsel">
{{$t('gitamep.CF002148')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitamep.amebutc.chkast">{{$t('gitamep.CF002159')}}</c-checkbox>
</c-col> -->
<!-- SF002135 : Old Local Undertaking -->
<!-- <c-col :span="12">
<el-form-item label="$t('gitamep.SF002135')" prop="gitamep.oldmaccur">
<c-select v-model="model.gitamep.oldmaccur" style="width:100%" placeholder="$t('other.please_enter')+$t('gitamep.SF002135')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="$t('gitamep.SF002135')" prop="gitamep.oldmacamt">
<c-input v-model="model.gitamep.oldmacamt" placeholder="$t('other.please_enter')+$t('gitamep.SF002135')"></c-input>
</c-form-item>
</c-col> -->
<!-- SF002065 : Amended Amount -->
<!-- <c-col :span="12">
<c-form-item label="$t('gitamep.SF002065')" prop="trnmod.swiadd.amecurc">
<c-input v-model="model.trnmod.swiadd.amecurc" maxlength="3" placeholder="$t('other.please_enter')+$t('gitamep.SF002065')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Increase of Local Guarantee Amount" prop="trnmod.swiadd.ameamtc">
<c-input v-model="model.trnmod.swiadd.ameamtc" placeholder="$t('other.please_enter')+'Increase of Local Guarantee Amount'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF002136 : Local Undertaking -->
<!-- <c-col :span="12">
<c-form-item label="$t('gitamep.SF002136')" prop="trnmod.swiadd.newcurc">
<c-input v-model="model.trnmod.swiadd.newcurc" maxlength="3" placeholder="$t('other.please_enter')+$t('gitamep.SF002136')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="New Amount Local Guarantee" prop="trnmod.swiadd.newamtc">
<c-input v-model="model.trnmod.swiadd.newamtc" placeholder="$t('other.please_enter')+'New Amount Local Guarantee'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.addamtflgc">{{$t('gitamep.CF002141')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Currency Seq. C" prop="trnmod.swiadd.addcurc">
<c-input v-model="model.trnmod.swiadd.addcurc" maxlength="3" placeholder="$t('other.please_enter')+'Additional Currency Seq. C'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Amount Seq. C" prop="trnmod.swiadd.addamtc">
<c-input v-model="model.trnmod.swiadd.addamtc" placeholder="$t('other.please_enter')+'Additional Amount Seq. C'"></c-input>
</c-form-item>
</c-col> -->
<!-- SF002147 : Add. Amount Covered -->
<!-- <c-col :span="12">
<c-form-item label="$t('gitamep.SF002147')" prop="trnmod.swiadd.addamtcovc">
<c-input type="textarea" v-model="model.trnmod.swiadd.addamtcovc" maxlength="65" show-word-limit placeholder="$t('other.please_enter')+$t('gitamep.SF002147')" ></c-input>
</c-form-item>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -284,7 +203,15 @@ export default { ...@@ -284,7 +203,15 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
...Event,
async newamtcBlur() {
let rtnmsg = await this.executeRule("trnmod.swiadd.newamtc");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -122,8 +122,10 @@ ...@@ -122,8 +122,10 @@
prop="trnmod.swiadd.newexpdat" prop="trnmod.swiadd.newexpdat"
> >
<c-date-picker <c-date-picker
:disabled="model.trnmod.swiadd.exptyp == 'OPEN' || :disabled="
model.trnmod.swiadd.exptyp == ''" model.trnmod.swiadd.exptyp == 'OPEN' &&
model.oldgidgrp.rec.expdat == ''
"
type="date" type="date"
v-model="model.trnmod.swiadd.newexpdat" v-model="model.trnmod.swiadd.newexpdat"
style="width: 100%" style="width: 100%"
...@@ -154,7 +156,10 @@ ...@@ -154,7 +156,10 @@
prop="trnmod.swiadd.liatypc" prop="trnmod.swiadd.liatypc"
> >
<c-select <c-select
:disabled="model.gidgrp.rec.hndtyp!='OC' && model.gidgrp.rec.purpos != 'CO'" :disabled="
model.gidgrp.rec.hndtyp != 'OC' &&
model.gidgrp.rec.purpos != 'CO'
"
:code="codes.exptyp" :code="codes.exptyp"
v-model="model.trnmod.swiadd.liatypc" v-model="model.trnmod.swiadd.liatypc"
style="width: 100%" style="width: 100%"
...@@ -201,7 +206,8 @@ ...@@ -201,7 +206,8 @@
prop="trnmod.swiadd.newdtaappexpdat" prop="trnmod.swiadd.newdtaappexpdat"
> >
<c-date-picker <c-date-picker
:disabled="model.trnmod.swiadd.exptyp!=='OPEN'" :disabled="model.trnmod.swiadd.exptyp != 'OPEN' &&
model.oldgidgrp.rec.exptyp != 'OPEN'"
type="date" type="date"
v-model="model.trnmod.swiadd.newdtaappexpdat" v-model="model.trnmod.swiadd.newdtaappexpdat"
style="width: 100%" style="width: 100%"
...@@ -219,6 +225,7 @@ import Api from "~/service/Api"; ...@@ -219,6 +225,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event"; import Event from "~/model/Gitame/Event";
import Utils from "~/utils";
export default { export default {
inject: ["root"], inject: ["root"],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item
label="Drag Drop Sender"
prop="gitamep.recget.sdamod.dadsnd"
>
<c-input
v-model="model.gitamep.recget.sdamod.dadsnd"
placeholder="$t('other.please_enter')+'Drag Drop Sender'"
></c-input>
</c-form-item>
</c-col>
<!-- S0000027 : Reference -->
<!-- S0000028 : Name -->
<c-col :span="12">
<c-form-item label="Name" prop="gidgrp.rec.nam">
<c-input
v-model="model.gidgrp.rec.nam"
maxlength="40"
placeholder="请输入name"
></c-input>
</c-form-item>
</c-col>
<!-- S0000029 : Amendment Date -->
<!-- S0000039 : Order from -->
<c-col :span="12">
<el-form-item label="Order From" prop="gitamep.orddat">
<c-date-picker
type="date"
v-model="model.gitamep.orddat"
style="width: 100%"
placeholder="请选择Order From"
></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000064 : Amend. No Receiv. -->
<!-- S0000038 : Actual Amendment No -->
<c-col :span="12">
<c-form-item label="Actual Amendment No" prop="gitamep.amenbr">
<c-input
v-model="model.gitamep.amenbr"
placeholder="请输入Actual Amendment No"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.gitamep.amemsg" data-path=".gitamep.amemsg"> </span>
</c-col>
<!-- S0000034 : Old Validity -->
<!-- S0000037 : Old Liability -->
<!-- SG002033 : 变更次数 -->
<!-- S0000030 : Old Guarantee Amt. -->
<c-col :span="12">
<c-form-item
label="text 'unlimited' / old expiry"
prop="gitamep.expnottxt"
>
<c-input
v-model="model.gitamep.expnottxt"
maxlength="11"
placeholder="$t('other.please_enter')+'text '+'unlimited'+' / old expiry'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="text 'unlimited'" prop="gitamep.limnottxt">
<c-input
v-model="model.gitamep.limnottxt"
maxlength="11"
placeholder="$t('other.please_enter')+'text '+'unlimited'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="变更次数" prop="gitamep.amenumjmg">
<c-input
v-model="model.gitamep.amenumjmg"
maxlength="2"
placeholder="请输入变更次数"
></c-input>
</c-form-item>
</c-col>
<!-- S0000032 : Amended -->
<!-- S0000035 : New Validity -->
<!-- S0000036 : New Liability -->
<!-- SG002034 : 核销日期 -->
<!-- S0000031 : Guarantee Amount -->
<c-col :span="12">
<c-form-item
label="text 'unlimited' / new expiry"
prop="gitamep.expnewtxt"
>
<c-input
v-model="model.gitamep.expnewtxt"
maxlength="11"
placeholder="$t('other.please_enter')+'text '+'unlimited'+' / new expiry'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
label="text 'unlimited' / new liability"
prop="gitamep.limnewtxt"
>
<c-input
v-model="model.gitamep.limnewtxt"
maxlength="11"
placeholder="$t('other.please_enter')+'text '+'unlimited'+' / new liability'"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000062 : Amounts Covered -->
<c-col :span="12">
<c-form-item label="Amounts Covered" prop="trnmod.swiadd.addamtcov">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.addamtcov"
maxlength="35"
show-word-limit
placeholder="请输入Amounts Covered"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.newexpflg">{{
$t("gitamep.CF000052")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.newliaflg">{{
$t("gitamep.CF000053")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.aamp.aammod.addamtflg">{{
$t("gitamep.CF000063")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Currency" prop="gidgrp.cbs.max2.cur">
<c-input
v-model="model.gidgrp.cbs.max2.cur"
maxlength="3"
placeholder="请输入Currency"
></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : Amendments -->
<c-col :span="12">
<c-checkbox v-model="model.gitamep.cre767flg">{{
$t("gitamep.CF000061")
}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitamep.plateflg">{{
$t("gitamep.CG002029")
}}</c-checkbox>
</c-col>
<!-- SG002032 : 面函标题 -->
<c-col :span="12">
<c-form-item label="面函标题" prop="gitamep.mstitle">
<c-input
type="textarea"
v-model="model.gitamep.mstitle"
maxlength="30"
show-word-limit
placeholder="$t('other.please_enter')+'面函标题'"
></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
...@@ -210,13 +210,26 @@ ...@@ -210,13 +210,26 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
v-if="model.trnmod.swiadd.addamtflg == 'X'" v-if="model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'"
label="Seq. C: Add. Amounts" label="Seq. C: Add. Amounts"
name="aacp" name="aacp"
> >
<m-aacp :model="model" :codes="codes" /> <m-aacp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane
v-if="model.gitp.swiftflg == 'Y' &&
model.trnmod.swiadd.purposame == 'ISUA' &&
model.trnmod.swiadd.addamtflg == 'X'"
label="Seq. C: Add. Amounts"
name="aamp20"
>
<m-aamp20 :model="model" :codes="codes" />
</el-tab-pane>
<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>
...@@ -258,6 +271,7 @@ import Preperpc from "./Preperpc"; ...@@ -258,6 +271,7 @@ import Preperpc from "./Preperpc";
import Detpc from "./Detpc"; import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc"; import Gidtxtpc from "./Gidtxtpc";
import Aacp from "./Aacp"; import Aacp from "./Aacp";
import Aamp20 from "./Aamp20";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan"; import Ccvpan from "~/views/Public/Ccvpan";
...@@ -290,6 +304,7 @@ export default { ...@@ -290,6 +304,7 @@ export default {
"m-detpc": Detpc, "m-detpc": Detpc,
"m-gidtxtpc": Gidtxtpc, "m-gidtxtpc": Gidtxtpc,
"m-aacp": Aacp, "m-aacp": Aacp,
"m-aamp20": Aamp20,
"m-engp": Engp, "m-engp": Engp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
......
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