Commit 131c1cea by liyixun

getamt (bug870)

parent e03530ab
...@@ -91,12 +91,12 @@ ...@@ -91,12 +91,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Old appr. Expiry Date" label="Old appr. Expiry Date"
prop="trnmod.swiadd.newdtaappexpdat" prop="oldgidgrp.blk.dtaappexpdat"
> >
<c-date-picker <c-date-picker
disabled disabled
type="date" type="date"
v-model="model.trnmod.swiadd.newdtaappexpdat" v-model="model.oldgidgrp.blk.dtaappexpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
></c-date-picker> ></c-date-picker>
...@@ -122,7 +122,11 @@ ...@@ -122,7 +122,11 @@
prop="trnmod.swiadd.newexpdat" prop="trnmod.swiadd.newexpdat"
> >
<c-date-picker <c-date-picker
disabled :disabled="
model.trnmod.swiadd.exptyp == 'OPEN' ||
(model.trnmod.swiadd.exptyp == '' &&
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%"
...@@ -137,12 +141,19 @@ ...@@ -137,12 +141,19 @@
prop="trnmod.swiadd.exptxt" prop="trnmod.swiadd.exptxt"
> >
<c-input <c-input
:disabled="model.trnmod.swiadd.exptyp != 'COND'" :disabled="
!(model.trnmod.swiadd.exptyp == 'COND') &&
!(
model.oldgidgrp.blk.exptxt != '' &&
model.trnmod.swiadd.exptyp == ''
)
"
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.exptxt" v-model="model.trnmod.swiadd.exptxt"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入New Expiry Condition" placeholder="请输入New Expiry Condition"
@blur="exptxtBlur"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -154,6 +165,10 @@ ...@@ -154,6 +165,10 @@
prop="trnmod.swiadd.liatypc" prop="trnmod.swiadd.liatypc"
> >
<c-select <c-select
: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%"
...@@ -189,7 +204,11 @@ ...@@ -189,7 +204,11 @@
prop="trnmod.swiadd.newliadat" prop="trnmod.swiadd.newliadat"
> >
<c-date-picker <c-date-picker
disabled :disabled="
model.trnmod.swiadd.liatypc == 'OPEN' ||
(model.trnmod.swiadd.liatypc == '' &&
model.oldgidgrp.rec.liadat == '')
"
type="date" type="date"
v-model="model.trnmod.swiadd.newliadat" v-model="model.trnmod.swiadd.newliadat"
style="width: 100%" style="width: 100%"
...@@ -204,7 +223,13 @@ ...@@ -204,7 +223,13 @@
prop="trnmod.swiadd.liatxtc" prop="trnmod.swiadd.liatxtc"
> >
<c-input <c-input
:disabled="model.trnmod.swiadd.liatypc != 'COND'" :disabled="
!(model.trnmod.swiadd.liatypc == 'COND') &&
!(
model.oldgidgrp.blk.liatxtc != '' &&
model.trnmod.swiadd.liatypc == ''
)
"
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.liatxtc" v-model="model.trnmod.swiadd.liatxtc"
maxlength="65" maxlength="65"
...@@ -237,6 +262,10 @@ ...@@ -237,6 +262,10 @@
prop="trnmod.swiadd.newdtaappexpdat" prop="trnmod.swiadd.newdtaappexpdat"
> >
<c-date-picker <c-date-picker
: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%"
...@@ -254,6 +283,7 @@ import Api from "~/service/Api"; ...@@ -254,6 +283,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/Getame/Event"; import Event from "~/model/Getame/Event";
import Utils from "~/utils";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -262,7 +292,20 @@ export default { ...@@ -262,7 +292,20 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
...Event,
async exptxtBlur() {
let rtnmsg = await this.executeDefault("gidgrp.blk.exptxt");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
let rtnmsg1 = await this.executeDefault("gidgrp.blk.atxexptxt");
if (rtnmsg1.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg1.data);
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -204,9 +204,13 @@ ...@@ -204,9 +204,13 @@
</c-row> </c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Additional Parties" > <el-form-item label="Additional Parties">
<c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px"> <c-edit-table
<el-table-column label="操作" > :model="model"
v-bind="ptsaddg"
style="margin-left: -120px"
>
<el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
...@@ -217,8 +221,8 @@ ...@@ -217,8 +221,8 @@
</template> </template>
</el-table-column> </el-table-column>
</c-edit-table> </c-edit-table>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -91,12 +91,12 @@ ...@@ -91,12 +91,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Old appr. Expiry Date" label="Old appr. Expiry Date"
prop="trnmod.swiadd.newdtaappexpdat" prop="oldgidgrp.blk.dtaappexpdat"
> >
<c-date-picker <c-date-picker
disabled disabled
type="date" type="date"
v-model="model.trnmod.swiadd.newdtaappexpdat" v-model="model.oldgidgrp.blk.dtaappexpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
></c-date-picker> ></c-date-picker>
...@@ -122,9 +122,10 @@ ...@@ -122,9 +122,10 @@
prop="trnmod.swiadd.newexpdat" prop="trnmod.swiadd.newexpdat"
> >
<c-date-picker <c-date-picker
:disabled=" :disabled="
model.trnmod.swiadd.exptyp == 'OPEN' || model.trnmod.swiadd.exptyp == 'OPEN' ||
model.oldgidgrp.rec.expdat == '' (model.trnmod.swiadd.exptyp == '' &&
model.oldgidgrp.rec.expdat == '')
" "
type="date" type="date"
v-model="model.trnmod.swiadd.newexpdat" v-model="model.trnmod.swiadd.newexpdat"
...@@ -182,9 +183,10 @@ ...@@ -182,9 +183,10 @@
prop="trnmod.swiadd.newliadat" prop="trnmod.swiadd.newliadat"
> >
<c-date-picker <c-date-picker
:disabled=" :disabled="
model.trnmod.swiadd.liatypc == 'OPEN' || model.trnmod.swiadd.liatypc == 'OPEN' ||
model.oldgidgrp.rec.liadat == '' (model.trnmod.swiadd.liatypc == '' &&
model.oldgidgrp.rec.liadat == '')
" "
type="date" type="date"
v-model="model.trnmod.swiadd.newliadat" v-model="model.trnmod.swiadd.newliadat"
......
...@@ -287,14 +287,15 @@ ...@@ -287,14 +287,15 @@
v-model="model.trnmod.swiadd.purposame" v-model="model.trnmod.swiadd.purposame"
style="width: 100%" style="width: 100%"
placeholder="请输入Purpose of amend." placeholder="请输入Purpose of amend."
:code="getValues('trnmod.swiadd.purposame')"
> >
<el-option <!-- <el-option
v-for="item in codes.purposame" v-for="item in codes.purposame"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option> -->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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