From 057c13502ecedf49d85d47ab23f3492859f16653 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 29 十一月 2025 10:43:15 +0800
Subject: [PATCH] fix: 技术文件变更时,生产就不能继续报工了。
---
src/api/product/wire.ts | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/api/product/wire.ts b/src/api/product/wire.ts
index d8e0fd7..16774a9 100644
--- a/src/api/product/wire.ts
+++ b/src/api/product/wire.ts
@@ -32,7 +32,7 @@
// 鏂板鏉嗗寘
addRodBagTree(data: any) {
return request<BaseResult<any>>({
- url: "/app/addRodBagTree",
+ url: "/wireOutput/addRodBagTree",
method: "POST",
data: data,
});
@@ -41,8 +41,8 @@
// 鍒犻櫎鏉嗗寘
deleteRodBagTree(data: any) {
return request<BaseResult<any>>({
- url: "/app/deleteRodBagTree",
- method: "DELETE",
+ url: "/wireOutput/deleteRodBagTree",
+ method: "POST",
data: data,
});
},
@@ -72,6 +72,15 @@
method: "DELETE",
});
},
+
+ // 楠岃瘉鍙樻洿
+ verifyChanges(params: { projectId: number | string }) {
+ return request<BaseResult<any>>({
+ url: "/app/verifyChanges",
+ method: "GET",
+ data: params,
+ });
+ },
};
export default WireApi;
--
Gitblit v1.9.3