Эх сурвалжийг харах

优化包装数据重量计算逻辑

yusheng 10 сар өмнө
parent
commit
1dc24f761b

+ 4 - 0
src/views/bpm/stockManagement/storage.vue

@@ -3588,6 +3588,10 @@
             (packingItem) => packingItem.packageNo == onlyCode
             (packingItem) => packingItem.packageNo == onlyCode
           );
           );
           this.$set(this.packingList[index], 'measureQuantity', remainder);
           this.$set(this.packingList[index], 'measureQuantity', remainder);
+          if(row.singleWeight){
+                this.$set(this.packingList[index], 'weight', row.singleWeight*remainder);
+          }
+        
         }
         }
 
 
         // 单独点击保存并插入对应位置(物料)
         // 单独点击保存并插入对应位置(物料)