[update] 修改bug81085

This commit is contained in:
lideqin
2024-01-22 09:30:58 +08:00
parent c629e64da2
commit 2e05e8615f
@@ -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],