Explorar el Código

台账合计错位

zhouhao hace 2 años
padre
commit
0cbaee51e2
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  1. 7 7
      src/views/finance/standbook_list.vue

+ 7 - 7
src/views/finance/standbook_list.vue

@@ -903,22 +903,22 @@ export default {
         if (index === 0) {
           sums[index] = '合计'
         }
-        if (index === 7) {
+        if (index === 10) {
           sums[index] = this.computedFn(data, 1)
         }
-        if (index === 8) {
+        if (index === 11) {
           sums[index] = this.computedFn(data, 2)
         }
-        if (index === 9) {
+        if (index === 12) {
           sums[index] = this.computedFn(data, 3)
         }
-        if (index === 10) {
+        if (index === 13) {
           sums[index] = this.computedFn(data, 4)
         }
-        if (index === 11) {
+        if (index === 14) {
           sums[index] = this.computedFn(data, 5)
         }
-        if (index === 12) {
+        if (index === 15) {
           sums[index] = this.computedFn(data, 6)
         }
         // if (index === 13) {
@@ -931,7 +931,7 @@ export default {
         //       return prev + curr;
         //     } else {
         //       return prev;
-        //     }
+        //     }`
         //   }, 0);
         //   sums[index] = numToFixed(aa);
         // }