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) => {