Commit bc5c673a by panziyi

Bctame修改

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