Commit b8293d83 by “yanyuxin”

Trtset面板修改

parent 5197d8f5
......@@ -118,6 +118,7 @@
<c-checkbox
v-model="model.clsflg"
:disabled="checkDate(model.trdgrp.rec.stttendat)"
@change="change(model.clsflg)"
>{{ $t("抹账") }}</c-checkbox
>
</c-col>
......@@ -142,7 +143,7 @@
<c-select
v-model="model.trtmod.finmod.acttyp"
style="width: 100%"
:disabled="true"
:disabled="flag2"
placeholder="请选择第三方还款方式"
>
<!-- <el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option> -->
......@@ -318,12 +319,19 @@
<c-col :span="24">
<c-form-item label="融资品种" prop="trdgrp.rec.fintyp">
<c-input
<c-select
v-model="model.trdgrp.rec.fintyp"
maxlength="3"
:disabled="true"
placeholder="请输入融资品种"
></c-input>
>
<el-option
v-for="item in codes.fintyp1"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -359,10 +367,7 @@
<c-input
v-model="model.setamt"
style="width: 60%"
:disabled="true"
:placeholder="
$t('other.please_enter') + 'Settlement Amount'
"
:disabled="model.trtmod.finmod.reptyp != '2'"
></c-input>
<c-button size="small" type="primary" @click="onFinmodCal">
计算
......@@ -377,6 +382,7 @@
v-model="model.trtmod.finmod.reptyp"
:disabled="model.clsflg == 'X'"
style="width: 100%"
@change="selChange(model.trtmod.finmod.reptyp)"
placeholder="请选择还款方式"
>
<el-option
......@@ -495,8 +501,9 @@
</c-form-item>
</c-col>
<c-col :span="20" :offset="2">
<c-checkbox v-model="model.mtabut.clsflg">{{
<c-col :span="20" :offset="4">
<c-checkbox v-model="model.mtabut.clsflg"
:disabled="flag">{{
$t("闭卷")
}}</c-checkbox>
</c-col>
......@@ -517,7 +524,10 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
flag1:true,
flag2:false
};
},
methods: {
...Event,
......@@ -534,6 +544,23 @@ export default {
return false;
}
},
change(a){
if (a = 'X'){
this.model.trtmod.finmod.reptyp = "1"
if(this.flag1 == true){
this.flag1 = false
this.model.mtabut.clsflg = 'X'
}
}
},
selChange(a){
if(a == '2'||this.model.mtabut.clsflg == 'X'||this.flag2 == false){
this.model.mtabut.clsflg = ''
this.flag1 = true
}
}
},
created: function () {},
};
......
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