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'))