From 14d8de2520dd6ecaa43e67f98964ab1d5abe10c0 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Tue, 2 Jan 2024 13:52:24 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E4=BC=81=E6=A0=87?= =?UTF-8?q?=E5=88=B6=E4=BF=AE=E8=AE=A2=E6=B5=81=E7=A8=8B=E4=B8=BB=E8=B5=B7?= =?UTF-8?q?=E8=8D=89=E4=BA=BA=E6=B1=87=E6=80=BB=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/MainDrafterCollectBaseInfo.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectBaseInfo.vue index 17178dc7..69c4e1df 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/MainDrafterCollectBaseInfo.vue @@ -138,9 +138,9 @@ export default { ], dataSource: [], handlingSuggestionOption: [ - { value: 1, label: '采纳' }, - { value: 2, label: '部分采纳' }, - { value: 3, label: '不采纳' } + { value: '1', label: '采纳' }, + { value: '2', label: '部分采纳' }, + { value: '3', label: '不采纳' } ] } }, @@ -172,7 +172,7 @@ export default { let hasErr = false for (const item of this.dataSource) { // 处理意见必填,不采纳,部分采纳必填理由 - if (!item.handleAdvice || ((item.handleAdvice === 2 || item.handleAdvice === 3) && !item.reason)) { + if (!item.handleAdvice || ((item.handleAdvice === '2' || item.handleAdvice === '3') && !item.reason)) { console.log(item.handleAdvice) hasErr = true break