[update] 修改企标制修订流程主起草人汇总节点
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user