From d476be7eda60a04e0cbbc28c5aa048dfceffd789 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 03 七月 2026 15:39:23 +0800
Subject: [PATCH] 新增采购退货后,如果对应的采购退货审批也通过,采购退货记录不能删除,删除按钮置灰

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