[update] 修改企标制修订流程主起草人汇总节点

This commit is contained in:
lideqin
2024-01-02 13:52:24 +08:00
parent 5e6a6224d6
commit 14d8de2520
@@ -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