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