From ac999e889d020c31a4855cf6209d611397fb393e Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 29 四月 2026 09:09:32 +0800
Subject: [PATCH] 重构生产报表表:注释掉未使用的字段,更新详细数据获取逻辑,并增强以选定工单号为依据的导出功能。

---
 src/api/productionManagement/workOrder.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/api/productionManagement/workOrder.js b/src/api/productionManagement/workOrder.js
index bf4b381..620296d 100644
--- a/src/api/productionManagement/workOrder.js
+++ b/src/api/productionManagement/workOrder.js
@@ -23,3 +23,21 @@
     data: data,
   });
 }
+
+export function reportState(params) {
+  return request({
+    url: "/productionProductMain/reportState",
+    method: "get",
+    params,
+  });
+}
+
+// 涓嬭浇宸ュ崟娴佽浆鍗★紙杩斿洖鏂囦欢娴侊級
+export function downProductWorkOrder(id) {
+  return request({
+    url: "/productWorkOrder/down",
+    method: "post",
+    data: { id },
+    responseType: "blob",
+  });
+}

--
Gitblit v1.9.3