From 1519870c0e18171ced014a840e86a459dc6b00f1 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 12 十二月 2023 17:26:06 +0800
Subject: [PATCH] 报工记录列表增加人员姓名

---
 src/api/task.ts |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/api/task.ts b/src/api/task.ts
index bb0f969..ca76d50 100644
--- a/src/api/task.ts
+++ b/src/api/task.ts
@@ -47,8 +47,8 @@
   startTime: number
   endTime: number
   workHours: string
-  inputMaterials: inputMaterial[]
-  outputMaterials: inputMaterial[]
+  inputMaterials: Material[]
+  outputMaterials: Material[]
   workers: Worker[]
   allProcedureNames: string[]
   channel: number
@@ -62,12 +62,11 @@
   CurrentProcedureIndex: number
   CanStarted: boolean
 }
-export interface inputMaterial {
+export interface Material {
   materialId: string
   materialName: string
   amount: number
   unit: string
-  background: string
   date: string
 }
 
@@ -105,6 +104,6 @@
 }
 
 export interface CraftParamsResponse {
-  number: string
+  Number: string
   Params: CraftParam[]
 }

--
Gitblit v1.8.0