From 536b16e286bea015054b6a0ea80fb53fb73f5d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Wed, 6 Dec 2023 18:11:19 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=90=8C=E6=84=8F=E5=A4=87=E6=B3=A8?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StandardConsultationProcess.vue | 4 +++- .../StandardEntryOrChangeProcess.vue | 4 +++- .../standardProcurementProcess/StandardProcurementProcess.vue | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index a2b1ca0a..0a537c43 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -1094,7 +1094,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 diff --git a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue index 17a72574..8c713506 100644 --- a/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue +++ b/src/views/workCenter/standardEntryOrChangeProcess/StandardEntryOrChangeProcess.vue @@ -892,7 +892,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 diff --git a/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue b/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue index 5dd9af17..7fb7ac3b 100644 --- a/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue +++ b/src/views/workCenter/standardProcurementProcess/StandardProcurementProcess.vue @@ -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