Browse Source

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

yusheng 10 tháng trước cách đây
mục cha
commit
1dc24f761b
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/views/bpm/stockManagement/storage.vue

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

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