修复了标准入库流程(经理人审批)选择通过,应不必输入意见的问题

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-05 14:47:13 +08:00
parent e7fa028e00
commit 07e9255e5f
@@ -890,11 +890,12 @@
} }
}, },
getRule(){ getRule(){
if (this.formTongGuo.approvalOpinion === '0') { if (this.formTongGuo.approvalOpinion === '0') {
this.rules.commentText.required = false this.rules.commentText[0].required = false;
this.$refs.formTongGuo.clearValidate('commentText') this.$refs.formTongGuo.clearValidate('commentText')
} else { }else {
this.rules.commentText.required = true this.rules.commentText[0].required = true;
} }
}, },
popoverHide (checkedIds, checkedData) { popoverHide (checkedIds, checkedData) {