Merge branch 'develop' into 'FOTON'
入库发起 See merge request LAWS/laws-system-front-FOTON!296
This commit is contained in:
@@ -1721,12 +1721,23 @@ export default {
|
|||||||
if(this.form.standInData === '1') {
|
if(this.form.standInData === '1') {
|
||||||
this.rules.standYear[0].required = false;
|
this.rules.standYear[0].required = false;
|
||||||
this.rules.standName[0].required = false
|
this.rules.standName[0].required = false
|
||||||
|
this.rules.standNature[0].required = false
|
||||||
} else {
|
} else {
|
||||||
this.rules.standYear[0].required = true;
|
this.rules.standYear[0].required = true;
|
||||||
this.rules.standName[0].required = true
|
this.rules.standName[0].required = true
|
||||||
|
this.rules.standNature[0].required = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/* 'form.signFlag' : {
|
||||||
|
handler: function () {
|
||||||
|
if (this.form.signFlag === '1') {
|
||||||
|
this.roleRules.jlUserName[0].required = true
|
||||||
|
} else {
|
||||||
|
this.roleRules.jlUserName[0].required = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},*/
|
||||||
/*'form.standInData': {
|
/*'form.standInData': {
|
||||||
handler: function (val) {
|
handler: function (val) {
|
||||||
this.verifySarStandard = false
|
this.verifySarStandard = false
|
||||||
|
|||||||
@@ -2666,9 +2666,11 @@ export default {
|
|||||||
if(this.form.standInData === '1') {
|
if(this.form.standInData === '1') {
|
||||||
this.rules.standYear[0].required = false;
|
this.rules.standYear[0].required = false;
|
||||||
this.rules.standName[0].required = false
|
this.rules.standName[0].required = false
|
||||||
|
this.rules.standNature[0].required = false
|
||||||
} else {
|
} else {
|
||||||
this.rules.standYear[0].required = true;
|
this.rules.standYear[0].required = true;
|
||||||
this.rules.standName[0].required = true
|
this.rules.standName[0].required = true
|
||||||
|
this.rules.standNature[0].required = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user