From 3f0856494e2265305b33a06d41796237c6eeda9f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 29 七月 2026 17:45:33 +0800
Subject: [PATCH] 银川 1.生产任务 - 选工作站自动计算生产时长 2.生产流程 - 查看产品设计归档及附件
---
src/api/mes/pro/task/index.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/api/mes/pro/task/index.ts b/src/api/mes/pro/task/index.ts
index 2e36c40..515185b 100644
--- a/src/api/mes/pro/task/index.ts
+++ b/src/api/mes/pro/task/index.ts
@@ -166,3 +166,11 @@
{ params },
);
}
+
+/** 鏍规嵁宸ヤ綔绔欏拰鏁伴噺璁$畻鐢熶骇鏃堕暱 */
+export function calculateTaskDuration(workstationId: number, quantity: number) {
+ return requestClient.get<{ duration: number }>(
+ '/mes/pro/task/calculate-duration',
+ { params: { workstationId, quantity } },
+ );
+}
--
Gitblit v1.9.3