From b07dcaaddf964f5ca45ea204c6037d8d62c6b4ad Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期三, 08 四月 2026 17:22:41 +0800
Subject: [PATCH] feat(产品结构): 新增按BOM添加功能并优化产品结构管理
---
src/api/productionManagement/productStructure.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/api/productionManagement/productStructure.js b/src/api/productionManagement/productStructure.js
index e69e14a..978c709 100644
--- a/src/api/productionManagement/productStructure.js
+++ b/src/api/productionManagement/productStructure.js
@@ -9,6 +9,14 @@
});
}
+// 鏍规嵁BOM ID鏌ヨ鐖堕」浜у搧
+export function listByBomIdIsParent(bomId) {
+ return request({
+ url: "/productStructure/listBybomIdIsParent/" + bomId,
+ method: "get",
+ });
+}
+
export function add(data) {
return request({
url: "/productStructure",
--
Gitblit v1.9.3