From 2e05e8615f1624262868a85ebab52060b7f35987 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 22 Jan 2024 09:30:58 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug81085?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/ScorerMarkBaseInfo.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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],