From 3a63dff0d98c148c6b915cd762a50ed87aa6c3a5 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 26 三月 2026 11:20:55 +0800
Subject: [PATCH] feat:1.生产订单增加清场记录弹框
---
src/api/productionManagement/productionOrder.js | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/src/api/productionManagement/productionOrder.js b/src/api/productionManagement/productionOrder.js
index 9f110a7..72cdb10 100644
--- a/src/api/productionManagement/productionOrder.js
+++ b/src/api/productionManagement/productionOrder.js
@@ -36,6 +36,22 @@
});
}
+// 鐢熶骇璁㈠崟-鏂板
+export function addProductOrder(data) {
+ return request({
+ url: "/productOrder/addProductOrder",
+ method: "post",
+ data: data,
+ });
+}
+
+export function delProductOrder(ids) {
+ return request({
+ url: `/productOrder/${ids}`,
+ method: "delete",
+ });
+}
+
// 鐢熶骇璁㈠崟-鏌ヨ浜у搧缁撴瀯鍒楄〃
export function listProcessBom(query) {
return request({
@@ -113,4 +129,20 @@
method: "post",
data: data,
});
+}
+
+export function finishOrder(id) {
+ return request({
+ url: `/productOrder/${id}`,
+ method: "patch",
+ });
+}
+
+// 淇濆瓨娓呭満璁板綍
+export function saveCleanRecord(id, data) {
+ return request({
+ url: `/productOrder/cleanRecord/${id}`,
+ method: "patch",
+ data: data,
+ });
}
\ No newline at end of file
--
Gitblit v1.9.3