From 8b323249951d598654717be7acb1e1f41393f5d9 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期六, 16 五月 2026 11:23:10 +0800
Subject: [PATCH] feat:1.bom结构需求数量递归计算

---
 src/api/productionManagement/productStructure.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/productionManagement/productStructure.js b/src/api/productionManagement/productStructure.js
index f09d91a..c55c93e 100644
--- a/src/api/productionManagement/productStructure.js
+++ b/src/api/productionManagement/productStructure.js
@@ -40,8 +40,8 @@
 
 export function add2(data) {
   return request({
-    url: "/productionOrderStructure/addOrUpdateBomStructs/" + data.orderId,
-    method: "put",
-    data: data.children,
+    url: "/productionBomStructure/addOrUpdateBomStructs",
+    method: "post",
+    data: data,
   });
 }

--
Gitblit v1.9.3