Commit 4716d6d5 by lixinyi

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 125e2409 6e2c38b6
......@@ -45,36 +45,36 @@ export default {
typ1:true
}
},
// watch:{
// "model.brdgrp.srm.djutyp":{
// immediate:true,
// handler(val,oldval){
// if(this.model.brdgrp.srm.djutyp == 'D'){
// this.typ1 = true
// // ommonProcess里的 changeFormItemRequired (property,Boolean)
// this.changeFormItemRequired('brdgrp.srm.djuusr', false)
// this.changeFormItemRequired('brdgrp.srm.djudat', false)
// this.changeFormItemRequired('brdgrp.srm.djuref', false)
// this.model.brdgrp.srm.djuusr =''
// this.model.brdgrp.srm.djudat =''
// this.model.brdgrp.srm.djuref =''
watch:{
"model.brdgrp.srm.djutyp":{
immediate:true,
handler(val,oldval){
if(this.model.brdgrp.srm.djutyp == 'D'){
this.typ1 = true
// ommonProcess里的 changeFormItemRequired (property,Boolean)
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
this.changeFormItemRequired('brdgrp.srm.djudat', false)
this.changeFormItemRequired('brdgrp.srm.djuref', false)
this.model.brdgrp.srm.djuusr =''
this.model.brdgrp.srm.djudat =''
this.model.brdgrp.srm.djuref =''
// }else if(this.model.brdgrp.srm.djutyp == ''){
// this.typ1 = true
// this.changeFormItemRequired('brdgrp.srm.djuusr', false)
// this.changeFormItemRequired('brdgrp.srm.djudat', false)
// this.changeFormItemRequired('brdgrp.srm.djuref', false)
// }
// else{
// this.typ1 = false
// this.changeFormItemRequired('brdgrp.srm.djuusr', true)
// this.changeFormItemRequired('brdgrp.srm.djudat', true)
// this.changeFormItemRequired('brdgrp.srm.djuref', true)
// }
// }
// }
}else if(this.model.brdgrp.srm.djutyp == ''){
this.typ1 = true
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
this.changeFormItemRequired('brdgrp.srm.djudat', false)
this.changeFormItemRequired('brdgrp.srm.djuref', false)
}
else{
this.typ1 = false
this.changeFormItemRequired('brdgrp.srm.djuusr', true)
this.changeFormItemRequired('brdgrp.srm.djudat', true)
this.changeFormItemRequired('brdgrp.srm.djuref', true)
}
}
}
// },
},
methods:{ },
}
</script>
......
......@@ -19,7 +19,7 @@ export default class Litrog {
pts: new Pts().data,
},
rec: {
relgodflg: '',
relgodflg: 'A',
shgref: '',
ownref: '',
invtyp: '',
......
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