Commit f0c2cdc9 by liyixun

gitame bug (629)

parent fece17ab
......@@ -481,7 +481,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in codes.legfrm2"
v-for="item in codes.legfrm"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -29,7 +29,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="oldgidgrp.cbs.max.amt">
<c-input disabled v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -40,18 +42,22 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount" @blur="ameamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Guarantee Amount" prop="trnmod.swiadd.newcur">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Guarantee Amount" prop="trnmod.swiadd.newcur" >
<c-input disabled v-model="model.trnmod.swiadd.newcur" maxlength="3" placeholder="请输入Guarantee Amount"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount" @blur="newamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -63,10 +69,11 @@
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.addamt">
<c-input :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Send Amendment to" prop="gitamep.ramrol">
<c-select v-model="model.gitamep.ramrol" :disabled="model.trnmod.swiadd.amemsgdonflg==''" style="width:100%" placeholder="请输入Request of Amendment send to">
......@@ -164,7 +171,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='Y'" v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="oldgidgrp.cbs.max.amt">
<c-input disabled v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -174,7 +183,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount" @blur="ameamtBlur" ></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -184,7 +195,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount" @blur="newamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -355,11 +368,13 @@
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='Y'" label="Additional Currency" prop="trnmod.swiadd.addcur">
<c-input v-model="model.trnmod.swiadd.addcur" maxlength="3" placeholder="请输入Additional Currency"></c-input>
<c-input disabled v-model="model.trnmod.swiadd.addcur" maxlength="3" placeholder="请输入Additional Currency"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.addamt">
<c-input :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -624,12 +639,25 @@ export default {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async newexpflgChange(){
let rtnmsg = await this.executeRule("swiadd.newexpflg")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async newamtBlur(){
let rtnmsg = await this.executeRule("trnmod.swiadd.newamt")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async ameamtBlur(){
let rtnmsg = await this.executeDefault("trnmod.swiadd.newamt")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
created:function(){
......
......@@ -814,11 +814,6 @@
></c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Valid from" prop="gidgrp.rec.opndat">
<c-date-picker type="date" v-model="model.gidgrp.rec.opndat" style="width:100%" placeholder="请选择Valid from"></c-date-picker>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="14">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Validity until" prop="gidgrp.rec.expdat">
......@@ -1036,17 +1031,45 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp!='OT'" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input :disabled="model.gidgrp.rec.hndtyp!='OT'||model.gidgrp.apl.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="Adv/Rcv bank Ref." prop="gidgrp.adv.pts.ref">
<c-input v-model="model.gidgrp.adv.pts.ref" maxlength="16" placeholder="请输入Adv/Rcv bank Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" :model="model" :argadr="{
title: 'Adv/Rcv bank',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet">
</c-ptap>
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="Adv/Rcv bank" prop="gidgrp.adv.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.adv.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.adv.pts.extkey`)
">
</c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAdvpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.adv.pts.adrblk">
<c-input :disabled="model.gidgrp.adv.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.adv.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......@@ -1116,7 +1139,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'||model.gidgrp.ben.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -144,7 +144,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="地址名称" prop="gidgrp.ctr.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input :disabeld="model.gidgrp.ctr.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......@@ -231,7 +231,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" maxlength="140" v-model="model.gidgrp.ben.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'||model.gidgrp.ben.pts.adrblk!=''" rows="4" type="textarea" maxlength="140" v-model="model.gidgrp.ben.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......@@ -303,7 +303,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input :disabled="model.gidgrp.ben.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
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