From 5d378a8ea3d239b564b69c3597b7bb73ee84e80a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期四, 28 五月 2026 11:48:06 +0800
Subject: [PATCH] feat: 提高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