Parcourir la source

pms 物料消耗 保养工单 修复bug

zhangcl il y a 1 semaine
Parent
commit
ca12fed863
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/pms/iotmainworkorder/IotMainWorkOrderOptimize.vue

+ 1 - 1
src/views/pms/iotmainworkorder/IotMainWorkOrderOptimize.vue

@@ -1326,7 +1326,7 @@ const handleAddMaterial = () => {
   };
 
   // 生成唯一键
-  const uniqueKey = `${currentBomItem.value.deviceId}${currentBomItem.value.bomNodeId}`;
+  const uniqueKey = `${currentBomItem.value.bomNodeId}`;
 
   // 更新 bomMaterialsMap
   if (!bomMaterialsMap.value[uniqueKey]) {