From c55fb124359d43db6891ef39f68040e41932e6be Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 26 三月 2026 09:56:47 +0800
Subject: [PATCH] 军泰伟业 1.bom添加可以按bom添加物料清单功能,并不用绑定工序 2.生产订单新增修改时选择产品后直接反显工艺路线和物料清单并可以修改
---
src/api/productionManagement/productStructure.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/api/productionManagement/productStructure.js b/src/api/productionManagement/productStructure.js
index 074e27a..978c709 100644
--- a/src/api/productionManagement/productStructure.js
+++ b/src/api/productionManagement/productStructure.js
@@ -4,7 +4,15 @@
// 鍒嗛〉鏌ヨ
export function queryList(id) {
return request({
- url: "/productStructure/listByproductModelId/" + id,
+ url: "/productStructure/listBybomId/" + id,
+ method: "get",
+ });
+}
+
+// 鏍规嵁BOM ID鏌ヨ鐖堕」浜у搧
+export function listByBomIdIsParent(bomId) {
+ return request({
+ url: "/productStructure/listBybomIdIsParent/" + bomId,
method: "get",
});
}
@@ -15,4 +23,4 @@
method: "post",
data: data,
});
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3