update 同意备注处理

This commit is contained in:
赵霄
2023-12-06 18:11:19 +08:00
parent f161543357
commit 536b16e286
3 changed files with 9 additions and 3 deletions
@@ -468,7 +468,9 @@ export default {
*/
handleAgree () {
this.validatorRules.handleText.rules[0].required = false
this.approvalInfoForm.setFieldsValue({ handleText: '同意' })
if (!this.approvalInfoForm.getFieldValue('handleText')) {
this.approvalInfoForm.setFieldsValue({ handleText: '同意' })
}
const formData = this.dealFormData()
if (!formData) {
return