Explorar o código

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

yusheng hai 10 meses
pai
achega
1dc24f761b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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);
+          }
+        
         }
 
         // 单独点击保存并插入对应位置(物料)