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