From 1e697f13a97c01a460946bcf93d4d0baf09fcf17 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 21 四月 2026 11:35:12 +0800
Subject: [PATCH] BOM模块移植,更新API路径并优化数据处理逻辑
---
src/api/productionManagement/productStructure.js | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/api/productionManagement/productStructure.js b/src/api/productionManagement/productStructure.js
index 5062e04..3b189e1 100644
--- a/src/api/productionManagement/productStructure.js
+++ b/src/api/productionManagement/productStructure.js
@@ -4,7 +4,7 @@
// 鍒嗛〉鏌ヨ
export function queryList(id) {
return request({
- url: "/productStructure/listBybomId/" + id,
+ url: "/technologyBomStructure/listByBomId/" + id,
method: "get",
});
}
@@ -16,13 +16,13 @@
});
}
-// export function add(data) {
-// return request({
-// url: "/productStructure",
-// method: "post",
-// data: data,
-// });
-// }
+export function addBomDetail(data) {
+ return request({
+ url: "/technologyBomStructure",
+ method: "post",
+ data: data,
+ });
+}
// 鍒嗛〉鏌ヨ-浜у搧璁㈠崟
export function queryList2(id) {
return request({
--
Gitblit v1.9.3