zhangyuewww 3 年之前
父节点
当前提交
9a9e75c215
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/statisticalReport/purchaseClosingCashierList.vue

+ 1 - 1
src/views/statisticalReport/purchaseClosingCashierList.vue

@@ -359,7 +359,7 @@ export default {
       columns.forEach((column, index) => {
         if (index === 0) {
           sums[index] = '合计'
-        } else if (index === 5 || index === 7 || index === 8 || index === 9) {
+        } else if (index === 4 || index === 10 || index === 8 || index === 9|| index === 12 || index === 13 || index === 14 ) {
           const values = data.map(item => Number(item[column.property]))
           if (!values.every(value => isNaN(value))) {
             sums[index] = values.reduce((prev, curr) => {