wengyuwen пре 4 година
родитељ
комит
bd4fa757fd

+ 1 - 1
src/views/warehouseBusiness/inStock/index.vue

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

+ 1 - 1
src/views/warehouseBusiness/outStock/index.vue

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

+ 1 - 1
src/views/warehouseBusiness/stockTransfer/index.vue

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