소스 검색

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

zhangcl 1 주 전
부모
커밋
ca12fed863
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]) {