diff --git a/src/components/table/Wgy.vue b/src/components/table/Wgy.vue index 42ae3a1..1b7d22c 100644 --- a/src/components/table/Wgy.vue +++ b/src/components/table/Wgy.vue @@ -830,7 +830,7 @@ export default { this.modal.scoring.rowIndex = index; this.modal.scoring.score = populationEdit; this.modal.scoring.reason = row.reasonY; - this.modal.scoring.maxScore = 3; + this.modal.scoring.maxScore = 4; this.modal.scoring.minScore = 0; this.modal.scoring.userName = row.B; this.modal.scoring.title = '人口信息维护' @@ -849,7 +849,7 @@ export default { this.modal.scoring.title = '人口信息抽查'; }, // 党建信息录入 + - onParySaveClick(row, index) { + onPartySaveClick(row, index) { let partySave = row.AA; this.modal.scoring.show = true; this.modal.scoring.rowKey = 'AA'; @@ -882,7 +882,7 @@ export default { this.modal.scoring.rowIndex = index; this.modal.scoring.score = partyEdit; this.modal.scoring.reason = row.reasonAC; - this.modal.scoring.maxScore = 3; + this.modal.scoring.maxScore = 4; this.modal.scoring.minScore = 0; this.modal.scoring.userName = row.B; this.modal.scoring.title = '党建信息维护'; @@ -902,6 +902,7 @@ export default { }, computeAE(row) { let result = row.C + row.H - row.J + row.L - row.M - row.N - row.O - row.P + row.Q - row.S - row.T - row.U - row.V + row.W + row.X + row.Y - row.Z + row.AA + row.AB + row.AC - row.AD; + result = Math.min(result, 100); return result < 0 ? 0 : result.toFixed(2); }, onSearchClick() {