From 55976008541a697f5cd1fb39f3892f3a20b5999f Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Wed, 28 Aug 2024 17:27:36 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=E5=88=B6=E4=BF=AE?= =?UTF-8?q?=E8=AE=A2=E6=B5=81=E7=A8=8B=E8=AF=84=E5=88=86=E4=BA=BA=E8=AF=84?= =?UTF-8?q?=E5=88=86=E8=8A=82=E7=82=B9=EF=BC=8C=E6=89=A3=E5=88=86=E7=90=86?= =?UTF-8?q?=E7=94=B1=E6=94=B9=E6=88=90=E9=9D=9E=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/ScorerMarkBaseInfo.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardRevision/module/ScorerMarkBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/module/ScorerMarkBaseInfo.vue index ef0c7b2..c1e2ef7 100644 --- a/src/views/workCenter/enterpriseStandardRevision/module/ScorerMarkBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/module/ScorerMarkBaseInfo.vue @@ -39,7 +39,7 @@ + class="vertical-form-item rate-label"/> @@ -181,7 +181,8 @@ export default { let hasErr = false const arr = [] for (const item in this.dataSource) { - if (!(this.dataSource[item].evaluateScore + '') || !this.dataSource[item].deductionScoreReason) { + console.log(this.dataSource[item].evaluateScore) + if (!(this.dataSource[item].evaluateScore + '')) { hasErr = true break } else { @@ -192,6 +193,7 @@ export default { }) } } + hasErr = false let data = {} // 需要返回的数据 if (hasErr) { this.$message(this.$t('enStandardRevision.pleaseEnterAllMarkItem'))