From a29b23b7e52fbea3749733bda3fdd41f04acfc15 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期六, 09 五月 2026 10:57:32 +0800
Subject: [PATCH] fix(生产订单): 修正导出功能中的API路径和文件名

---
 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