From 92bd815250054f79473bfe10df31b93c996e32ea Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 06 十一月 2023 17:51:04 +0800
Subject: [PATCH] 工艺列表的更新按钮状态修改
---
src/api/task.ts | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/api/task.ts b/src/api/task.ts
index 521f229..ca76d50 100644
--- a/src/api/task.ts
+++ b/src/api/task.ts
@@ -47,8 +47,8 @@
startTime: number
endTime: number
workHours: string
- inputMaterials: string
- outputMaterials: string
+ inputMaterials: Material[]
+ outputMaterials: Material[]
workers: Worker[]
allProcedureNames: string[]
channel: number
@@ -61,6 +61,13 @@
AllProcedures: string[]
CurrentProcedureIndex: number
CanStarted: boolean
+}
+export interface Material {
+ materialId: string
+ materialName: string
+ amount: number
+ unit: string
+ date: string
}
export interface Worker {
@@ -97,6 +104,6 @@
}
export interface CraftParamsResponse {
- number: string
+ Number: string
Params: CraftParam[]
}
--
Gitblit v1.8.0