Commit 714375fb by panziyi

gitset多选框事件修改

parent 2eba3e21
...@@ -405,8 +405,8 @@ ...@@ -405,8 +405,8 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" --> <!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked <c-checkbox v-model="model.mtabut.clsflg"
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" :disabled="flag2"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</c-col> </c-col>
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox <c-checkbox
v-model="model.paypsb" v-model="model.paypsb"
:disabled="model.gcdgrp.rec.frepayflg=='X'" :disabled="this.flag1"
>Unpaid by Appliacnt</c-checkbox >Unpaid by Appliacnt</c-checkbox
> >
</c-col> </c-col>
...@@ -738,19 +738,37 @@ export default { ...@@ -738,19 +738,37 @@ export default {
}; };
}, },
// watch:{ watch:{
// "model.gcdgrp.rec.frepayflg" : { "model.gcdgrp.rec.frepayflg" : {
// immediate: true, immediate: true,
// handler(val,oldval) { handler(val,oldval) {
// if(this.model.gcdgrp.rec.frepayflg !="X"){ if(this.model.paypsb=="X"&&this.model.gcdgrp.rec.frepayflg =="X"){
// this.model.clsflg=="X"; this.flag1=true;
// }else if(this.model.gcdgrp.rec.frepayflg =""){ this.model.paypsb="";
// this.model.clsflg==""; this.model.mtabut.clsflg="X"
// } }
// }, else if(this.model.gcdgrp.rec.frepayflg =="X"){
this.flag1=true;
// } this.model.paypsb="";
// }, }else if(this.model.gcdgrp.rec.frepayflg ==""){
this.model.paypsb="";
this.flag1=false;
}
},
} ,
"model.paypsb" :{
immediate: true,
handler(val,oldval){
if(this.model.paypsb=="X"){
this.flag2=true
this.model.mtabut.clsflg=""
}else if(this.model.paypsb==""){
this.flag2=false
this.model.mtabut.clsflg="X"
}
}
}
},
methods: { methods: {
...Event, ...Event,
// change(){ // change(){
......
...@@ -398,7 +398,7 @@ ...@@ -398,7 +398,7 @@
> >
</c-col> </c-col>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflgp" checked <c-checkbox v-model="model.mtabut.clsflg"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</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