Commit bc5c673a by panziyi

Bctame修改

parent f6f76f33
...@@ -220,10 +220,10 @@ ...@@ -220,10 +220,10 @@
disabled disabled
v-model="model.bcdgrp.rec.matpertyp" v-model="model.bcdgrp.rec.matpertyp"
style="width: 100%" style="width: 100%"
placeholder="Days/Months or Years for Maturity Period" placeholder=""
> >
<el-option <el-option
v-for="item in codes.matper" v-for="item in codes.matpertyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -259,6 +259,7 @@ ...@@ -259,6 +259,7 @@
v-model="model.bcdgrp.blk.bcgdet" v-model="model.bcdgrp.blk.bcgdet"
maxlength="45" maxlength="45"
show-word-limit show-word-limit
disabled
placeholder="请输入Maturity Text" placeholder="请输入Maturity Text"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -405,7 +406,7 @@ ...@@ -405,7 +406,7 @@
placeholder="请选择Country or region Code" placeholder="请选择Country or region Code"
> >
<el-option <el-option
v-for="item in codes.ctytxt" v-for="item in codes.stacty"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Drawee Ref." prop="bcdgrp.dre.pts.ref"> <el-form-item label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input <c-input
disabled
v-model="model.bcdgrp.dre.pts.ref" v-model="model.bcdgrp.dre.pts.ref"
maxlength="16" maxlength="16"
style="width: 100%" style="width: 100%"
...@@ -69,7 +68,6 @@ ...@@ -69,7 +68,6 @@
maxlength="16" maxlength="16"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -81,7 +79,7 @@ ...@@ -81,7 +79,7 @@
v-model="model.bcdgrp.co2.pts.extkey" v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -111,7 +109,7 @@ ...@@ -111,7 +109,7 @@
:rows="4" :rows="4"
v-model="model.bcdgrp.co2.pts.adrblk" v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50" maxlength="50"
disabled :disabled="model.bcdgrp.co2.pts.adrblk!=''"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
></c-input> ></c-input>
...@@ -160,7 +158,7 @@ ...@@ -160,7 +158,7 @@
maxlength="16" maxlength="16"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -172,7 +170,7 @@ ...@@ -172,7 +170,7 @@
v-model="model.bcdgrp.rmi.pts.extkey" v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -202,7 +200,7 @@ ...@@ -202,7 +200,7 @@
:rows="4" :rows="4"
v-model="model.bcdgrp.rmi.pts.adrblk" v-model="model.bcdgrp.rmi.pts.adrblk"
maxlength="50" maxlength="50"
disabled :disabled="model.bcdgrp.rmi.pts.adrblk!=''"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
></c-input> ></c-input>
...@@ -216,7 +214,7 @@ ...@@ -216,7 +214,7 @@
maxlength="16" maxlength="16"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -228,7 +226,7 @@ ...@@ -228,7 +226,7 @@
v-model="model.bcdgrp.drr.pts.extkey" v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -258,7 +256,7 @@ ...@@ -258,7 +256,7 @@
:rows="4" :rows="4"
v-model="model.bcdgrp.drr.pts.adrblk" v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50" maxlength="50"
disabled :disabled="model.bcdgrp.drr.pts.adrblk!=''"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
></c-input> ></c-input>
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label-width="0" prop="setmod.redamt"> <el-form-item label-width="0" prop="setmod.redamt">
<c-input <c-input
:disabled="this.flag1" :disabled="model.bcdgrp.rec.focflg"
v-model="model.setmod.redamt" v-model="model.setmod.redamt"
placeholder="请输入Reduction Amt." placeholder="请输入Reduction Amt."
></c-input> ></c-input>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</c-col> </c-col>
<c-col :span="12" class="bctdav_bctp_bctovw_cheak"> <c-col :span="12" class="bctdav_bctp_bctovw_cheak">
<c-checkbox :disabled="this.flag1" v-model="model.trtcre.crefinflg" <c-checkbox :disabled="model.bcdgrp.rec.focflg" v-model="model.trtcre.crefinflg"
@change="crefinflgChange" @change="crefinflgChange"
>Create Financing</c-checkbox >Create Financing</c-checkbox
> >
...@@ -386,29 +386,11 @@ export default { ...@@ -386,29 +386,11 @@ export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
watch: {
"model.bcdgrp.rec.focflg": function () {
if (this.model.bcdgrp.rec.focflg) {
this.flag1 = true;
} else {
this.flag1 = false;
}
},
"model.bctp.ischktyp": {
immediate: true,
handler(val, oldVal) {
if (this.model.bctp.ischktyp == "Y") {
this.typ1 = false;
} else {
this.typ1 = true;
}
},
},
},
data() { data() {
return { return {
typ1: true, typ1: true,
flag1: false, // flag1: false,
trnData: { trnData: {
columns: [ columns: [
'1 1 "Type" 60', '1 1 "Type" 60',
...@@ -439,12 +421,7 @@ export default { ...@@ -439,12 +421,7 @@ export default {
methods: { methods: {
...Event, ...Event,
async focflgChange() {
let rtnmsg = await this.executeDefault("bcdgrp.rec.focflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async crefinflgChange() { async crefinflgChange() {
let rtnmsg = await this.executeRule("trtcre.crefinflg"); let rtnmsg = await this.executeRule("trtcre.crefinflg");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
...@@ -492,6 +469,41 @@ export default { ...@@ -492,6 +469,41 @@ export default {
} }
}, },
}, },
// watch: {
// "model.bcdgrp.rec.focflg": {
// immediate:true,
// handler(val,oldval){
// if(this.model.mtabut.clsflg=="C") {
// if(this.model.bcdgrp.rec.focflg==""){
// this.model.bcdgrp.rec.docsta="C"
// }else if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="E"
// }
// }
// if(this.model.mtabut.clsflg==""){
// if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="D"
// } else if(this.model.bcdgrp.rec.focflg==""){
// if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
// this.model.bcdgrp.rec.docsta="C"
// }
// }
// }
// }
// },
// "model.bctp.ischktyp": {
// immediate: true,
// handler(val, oldVal) {
// if (this.model.bctp.ischktyp == "Y") {
// this.typ1 = false;
// } else {
// this.typ1 = true;
// }
// },
// },
// },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -187,7 +187,7 @@ import Trtcrep from "./Trtcrep"; ...@@ -187,7 +187,7 @@ import Trtcrep from "./Trtcrep";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "./Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "./Limitbody"; import Limitbody from "./Limitbody";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
......
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