src/views/statistic/personSalaryList.vue
@@ -148,7 +148,7 @@ > <el-table-column prop="rowNum" width="50" width="80" fixed label="序号" /> @@ -627,9 +627,9 @@ const value = Number(curr) if (!isNaN(value)) { // return prev + curr return Math.round(prev * 100) / 100 + Math.round(curr * 100) / 100 return Math.floor(Math.round(prev * 100) / 100 + Math.round(curr * 100) / 100) } else { return Math.round(prev * 100) / 100 return Math.floor(Math.round(prev * 100) / 100) } }, 0)