瀏覽代碼

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

yusheng 10 月之前
父節點
當前提交
1dc24f761b
共有 1 個文件被更改,包括 4 次插入0 次删除
  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);
+          }
+        
         }
 
         // 单独点击保存并插入对应位置(物料)