yusheng 7 luni în urmă
părinte
comite
b89afab20f
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      src/views/bpm/stockManagement/storage.vue

+ 3 - 3
src/views/bpm/stockManagement/storage.vue

@@ -1692,7 +1692,7 @@
               let weight =
                 filtersItem.sendTotalWeight ||
                 filtersItem.receiveTotalWeight ||
-                singleWeight * filtersItem.measureQuantity;
+                singleWeight * measureQuantity;
               console.log(weight, 'weight');
               // if(weight){
 
@@ -1774,8 +1774,8 @@
                   : '', // 颜色
                 measureType: item.measureType, // 计量方式
                 netWeight: item.netWeight > -1 ? item.netWeight : 0, // 净重
-                singleWeight: singleWeight, // 单重重量
-                weight: weight, // 总重量
+                singleWeight: singleWeight||0, // 单重重量
+                weight: weight||0, // 总重量
                 weightUnit: item.weightUnit, // 重量单位
                 totalMoney: totalMoney, // 总价
                 unitPrice: item.unitPrice || unitPrice, // 单价