From 8628548282f8c4fe3762d28dbb5c73625e7a68ce Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 28 Feb 2026 01:46:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(mes):=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84=E9=A2=84=E7=95=99=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/cal/holiday/index.ts | 4 ---- src/api/mes/cal/plan/index.ts | 4 ---- src/api/mes/cal/plan/shift/index.ts | 4 ---- src/api/mes/cal/plan/team.ts.bak | 4 ---- src/api/mes/cal/plan/team/index.ts | 4 ---- src/api/mes/cal/shift/index.ts.bak | 4 ---- src/api/mes/cal/team/index.ts | 4 ---- src/api/mes/cal/team/member/index.ts | 4 ---- src/api/mes/cal/team/shift/index.ts | 4 ---- src/api/mes/md/client/index.ts | 4 ---- src/api/mes/md/vendor/index.ts | 4 ---- src/api/mes/md/workstation/index.ts | 4 ---- src/api/mes/md/workstation/workshop/index.ts | 4 ---- src/api/mes/wm/warehouse/area/index.ts | 4 ---- src/api/mes/wm/warehouse/index.ts | 4 ---- src/api/mes/wm/warehouse/location/index.ts | 4 ---- 16 files changed, 64 deletions(-) diff --git a/src/api/mes/cal/holiday/index.ts b/src/api/mes/cal/holiday/index.ts index 876f8da28..503d3964e 100644 --- a/src/api/mes/cal/holiday/index.ts +++ b/src/api/mes/cal/holiday/index.ts @@ -6,10 +6,6 @@ export interface CalHolidayVO { day: number // 日期(时间戳) type: number // 日期类型 remark: string // 备注 - attribute1: string // 预留字段1 - attribute2: string // 预留字段2 - attribute3: number // 预留字段3 - attribute4: number // 预留字段4 createTime: string // 创建时间 } diff --git a/src/api/mes/cal/plan/index.ts b/src/api/mes/cal/plan/index.ts index 074cddf0d..45ba4f8b7 100644 --- a/src/api/mes/cal/plan/index.ts +++ b/src/api/mes/cal/plan/index.ts @@ -13,10 +13,6 @@ export interface CalPlanVO { shiftCount: number // 倒班天数 status: number // 状态 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 排班计划 API diff --git a/src/api/mes/cal/plan/shift/index.ts b/src/api/mes/cal/plan/shift/index.ts index cd0221015..891ecfca4 100644 --- a/src/api/mes/cal/plan/shift/index.ts +++ b/src/api/mes/cal/plan/shift/index.ts @@ -9,10 +9,6 @@ export interface CalPlanShiftVO { startTime: string // 开始时间 endTime: string // 结束时间 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 计划班次 API diff --git a/src/api/mes/cal/plan/team.ts.bak b/src/api/mes/cal/plan/team.ts.bak index 7b0a32f64..5465070ec 100644 --- a/src/api/mes/cal/plan/team.ts.bak +++ b/src/api/mes/cal/plan/team.ts.bak @@ -8,10 +8,6 @@ export interface CalPlanTeamVO { teamCode: string // 班组编码 teamName: string // 班组名称 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // TODO @AI:挪到 team/index.ts 中 diff --git a/src/api/mes/cal/plan/team/index.ts b/src/api/mes/cal/plan/team/index.ts index 63a7b7213..27d238bdb 100644 --- a/src/api/mes/cal/plan/team/index.ts +++ b/src/api/mes/cal/plan/team/index.ts @@ -8,10 +8,6 @@ export interface CalPlanTeamVO { teamCode: string // 班组编码 teamName: string // 班组名称 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 计划班组关联 API diff --git a/src/api/mes/cal/shift/index.ts.bak b/src/api/mes/cal/shift/index.ts.bak index dca4a75ce..bd88a9ddf 100644 --- a/src/api/mes/cal/shift/index.ts.bak +++ b/src/api/mes/cal/shift/index.ts.bak @@ -11,10 +11,6 @@ export interface CalPlanShiftVO { startTime: string // 开始时间 endTime: string // 结束时间 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 计划班次 API diff --git a/src/api/mes/cal/team/index.ts b/src/api/mes/cal/team/index.ts index f8712504c..038c1e951 100644 --- a/src/api/mes/cal/team/index.ts +++ b/src/api/mes/cal/team/index.ts @@ -7,10 +7,6 @@ export interface CalTeamVO { name: string // 班组名称 calendarType: number // 班组类型 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 班组 API diff --git a/src/api/mes/cal/team/member/index.ts b/src/api/mes/cal/team/member/index.ts index 1f2973fcb..79c4ff27a 100644 --- a/src/api/mes/cal/team/member/index.ts +++ b/src/api/mes/cal/team/member/index.ts @@ -9,10 +9,6 @@ export interface CalTeamMemberVO { nickname: string // 用户昵称(关联查询) telephone: string // 用户手机号(关联查询) remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 班组成员 API diff --git a/src/api/mes/cal/team/shift/index.ts b/src/api/mes/cal/team/shift/index.ts index ac7a2b194..3c16d20c9 100644 --- a/src/api/mes/cal/team/shift/index.ts +++ b/src/api/mes/cal/team/shift/index.ts @@ -11,10 +11,6 @@ export interface CalTeamShiftVO { teamName: string // 班组名称(关联查询) shiftName: string // 班次名称(关联查询) remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 班组排班 API diff --git a/src/api/mes/md/client/index.ts b/src/api/mes/md/client/index.ts index 1fe9c1518..80f232c62 100644 --- a/src/api/mes/md/client/index.ts +++ b/src/api/mes/md/client/index.ts @@ -21,10 +21,6 @@ export interface MdClientVO { contact2Telephone: string // 联系人2-电话 contact2Email: string // 联系人2-邮箱 creditCode: string // 统一社会信用代码 - attribute1: string // 预留字段1 - attribute2: string // 预留字段2 - attribute3: number // 预留字段3 - attribute4: number // 预留字段4 status: number // 状态 remark: string // 备注 } diff --git a/src/api/mes/md/vendor/index.ts b/src/api/mes/md/vendor/index.ts index 2e7fa6a1b..c1ba165f7 100644 --- a/src/api/mes/md/vendor/index.ts +++ b/src/api/mes/md/vendor/index.ts @@ -22,10 +22,6 @@ export interface MdVendorVO { contact2Telephone: string // 联系人2-电话 contact2Email: string // 联系人2-邮箱 creditCode: string // 统一社会信用代码 - attribute1: string // 预留字段1 - attribute2: string // 预留字段2 - attribute3: number // 预留字段3 - attribute4: number // 预留字段4 status: number // 状态 remark: string // 备注 } diff --git a/src/api/mes/md/workstation/index.ts b/src/api/mes/md/workstation/index.ts index 7ffdd4f6c..cdec65e8a 100644 --- a/src/api/mes/md/workstation/index.ts +++ b/src/api/mes/md/workstation/index.ts @@ -14,10 +14,6 @@ export interface MdWorkstationVO { areaId: number // 库位 ID status: number // 状态 remark: string // 备注 - attribute1: string - attribute2: string - attribute3: number - attribute4: number } // MES 工作站 API diff --git a/src/api/mes/md/workstation/workshop/index.ts b/src/api/mes/md/workstation/workshop/index.ts index 7b4f6be83..1db375521 100644 --- a/src/api/mes/md/workstation/workshop/index.ts +++ b/src/api/mes/md/workstation/workshop/index.ts @@ -10,10 +10,6 @@ export interface MdWorkshopVO { chargeUserName: string // 负责人名称 status: number // 状态 remark: string // 备注 - attribute1: string // 预留字段1 - attribute2: string // 预留字段2 - attribute3: number // 预留字段3 - attribute4: number // 预留字段4 } // MES 车间 API diff --git a/src/api/mes/wm/warehouse/area/index.ts b/src/api/mes/wm/warehouse/area/index.ts index d56f0f735..e5a1f6f6a 100644 --- a/src/api/mes/wm/warehouse/area/index.ts +++ b/src/api/mes/wm/warehouse/area/index.ts @@ -19,10 +19,6 @@ export interface WmWarehouseAreaVO { allowItemMixing: boolean allowBatchMixing: boolean remark: string - attribute1: string - attribute2: string - attribute3: number - attribute4: number createTime: string } diff --git a/src/api/mes/wm/warehouse/index.ts b/src/api/mes/wm/warehouse/index.ts index 0c3f30ac3..eeb0648c4 100644 --- a/src/api/mes/wm/warehouse/index.ts +++ b/src/api/mes/wm/warehouse/index.ts @@ -10,10 +10,6 @@ export interface WmWarehouseVO { chargeUserId: number frozen: boolean remark: string - attribute1: string - attribute2: string - attribute3: number - attribute4: number createTime: string } diff --git a/src/api/mes/wm/warehouse/location/index.ts b/src/api/mes/wm/warehouse/location/index.ts index 1a2fe52ea..2a41fd80f 100644 --- a/src/api/mes/wm/warehouse/location/index.ts +++ b/src/api/mes/wm/warehouse/location/index.ts @@ -11,10 +11,6 @@ export interface WmWarehouseLocationVO { areaStatus: number frozen: boolean remark: string - attribute1: string - attribute2: string - attribute3: number - attribute4: number createTime: string }