标准入库,经理人审批通过
This commit is contained in:
@@ -919,10 +919,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRule(){
|
getRule(){
|
||||||
|
if (this.formTongGuo.approvalOpinion === 0) {
|
||||||
if (this.formTongGuo.approvalOpinion === '0') {
|
this.rules.commentText[0].required = false;
|
||||||
this.rules.commentText[0].required = false;
|
this.$refs.formTongGuo.clearValidate('commentText')
|
||||||
this.$refs.formTongGuo.clearValidate('commentText')
|
|
||||||
}else {
|
}else {
|
||||||
this.rules.commentText[0].required = true;
|
this.rules.commentText[0].required = true;
|
||||||
}
|
}
|
||||||
@@ -1055,11 +1054,12 @@
|
|||||||
this.handleSubmit()
|
this.handleSubmit()
|
||||||
},
|
},
|
||||||
handle2(){
|
handle2(){
|
||||||
this.formTongGuo.approvalOpinion = 0
|
this.formTongGuo.approvalOpinion = 0
|
||||||
this.handleSubmit()
|
this.handleSubmit()
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
const val= this.form.country;
|
this.getRule()
|
||||||
|
const val= this.form.country;
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.form.country = val.join(",");
|
this.form.country = val.join(",");
|
||||||
|
|||||||
Reference in New Issue
Block a user