From 1c1af9b0fc10778ae5ac13cc68fd4030affbcfe1 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 09 九月 2026 10:59:53 +0800
Subject: [PATCH] feat(wm): 新增SN码管理和设备入库功能
---
src/api/mes/dv/machinery/index.ts | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/api/mes/dv/machinery/index.ts b/src/api/mes/dv/machinery/index.ts
index f57a772..4a414b6 100644
--- a/src/api/mes/dv/machinery/index.ts
+++ b/src/api/mes/dv/machinery/index.ts
@@ -7,16 +7,22 @@
export interface Machinery {
id?: number; // 璁惧缂栧彿
code?: string; // 璁惧缂栫爜
+ tbDeviceId?: string; // 鏁伴噰璁惧ID锛堝閮ㄦ暟閲� tbDeviceId锛�
name?: string; // 璁惧鍚嶇О
brand?: string; // 鍝佺墝
specification?: string; // 瑙勬牸鍨嬪彿
machineryTypeId?: number; // 璁惧绫诲瀷缂栧彿
machineryTypeName?: string; // 璁惧绫诲瀷鍚嶇О
+ itemId?: number; // 璁惧鐗╂枡缂栧彿锛圡DM 鐗╂枡锛�
workshopId?: number; // 鎵�灞炶溅闂寸紪鍙�
workshopName?: string; // 鎵�灞炶溅闂村悕绉�
status?: number; // 璁惧鐘舵��
lastMaintenTime?: Date; // 鏈�杩戜繚鍏绘椂闂�
lastCheckTime?: Date; // 鏈�杩戠偣妫�鏃堕棿
+ productionEfficiency?: number; // 鐢熶骇鏁堢巼
+ conveyorBelt?: number; // 浼犻�佸饱甯︽暟閲�
+ workstationId?: number; // 宸ヤ綔绔欑紪鍙�
+ workstationName?: string; // 宸ヤ綔绔欏悕绉�
remark?: string; // 澶囨敞
createTime?: Date; // 鍒涘缓鏃堕棿
}
--
Gitblit v1.9.3