From c7b77f17e443124bf3080cde2e1c0d40a3ededb5 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 22 一月 2026 15:23:57 +0800
Subject: [PATCH] fix: 同步升级报废功能

---
 src/api/productionManagement/productBom.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/api/productionManagement/productBom.js b/src/api/productionManagement/productBom.js
index 03ddd2a..893755b 100644
--- a/src/api/productionManagement/productBom.js
+++ b/src/api/productionManagement/productBom.js
@@ -36,3 +36,12 @@
     data: ids,
   });
 }
+
+// 鏍规嵁浜у搧鍨嬪彿ID鏌ヨBOM
+export function getByModel(productModelId) {
+  return request({
+    url: "/productBom/getByModel",
+    method: "get",
+    params: { productModelId },
+  });
+}

--
Gitblit v1.9.3