diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/ScorerMarkBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/ScorerMarkBaseInfo.vue index cd38ec0c..f52a92a7 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/ScorerMarkBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/ScorerMarkBaseInfo.vue @@ -368,10 +368,11 @@ export default { if (Number(item) === 18) { break } - if (item % 3 === 0 && (!this.dataSource[item].evaluateScore || !this.dataSource[item].deductionScoreReason)) { + console.log(this.dataSource[item].evaluateScore) + if (item % 3 === 0 && ((!this.dataSource[item].evaluateScore && this.dataSource[item].evaluateScore !== 0) || !this.dataSource[item].deductionScoreReason)) { hasErr = true break - } else if (item % 3 === 0 && this.dataSource[item].evaluateScore && this.dataSource[item].deductionScoreReason) { + } else if (item % 3 === 0 && (this.dataSource[item].evaluateScore || this.dataSource[item].evaluateScore === 0) && this.dataSource[item].deductionScoreReason) { // 是有评分和扣分理由的行 arr.push({ ...this.dataSource[item],