From ec5ed99f644859869c939478a2ee3338ebde78a4 Mon Sep 17 00:00:00 2001 From: zch Date: Wed, 11 Jun 2025 11:20:31 +0800 Subject: [PATCH] =?UTF-8?q?change(mes):=20=E4=BF=AE=E6=94=B9=20prodShiftCh?= =?UTF-8?q?ange=20=E7=BB=84=E4=BB=B6=E4=B8=AD=E7=9A=84=E7=8F=AD=E7=BB=84?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 classTeamName 更改为 teamName - 更新相关 API 类型定义,以保持一致性和避免潜在错误 --- src/api/mes/prodShiftChange/types.ts | 6 +++--- src/views/mes/prodShiftChange/index.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/mes/prodShiftChange/types.ts b/src/api/mes/prodShiftChange/types.ts index e7a8cd4..b60876e 100644 --- a/src/api/mes/prodShiftChange/types.ts +++ b/src/api/mes/prodShiftChange/types.ts @@ -46,7 +46,7 @@ export interface ProdShiftChangeVO { /** * 班组名称 */ - classTeamName?: string; + teamName?: string; /** * 班次名称 */ @@ -102,7 +102,7 @@ export interface ProdShiftChangeForm extends BaseEntity { /** * 班组名称 */ - classTeamName?: string; + teamName?: string; /** * 班次名称 */ @@ -159,7 +159,7 @@ export interface ProdShiftChangeQuery extends PageQuery { /** * 班组名称 */ - classTeamName?: string; + teamName?: string; /** * 班次名称 */ diff --git a/src/views/mes/prodShiftChange/index.vue b/src/views/mes/prodShiftChange/index.vue index fdf2733..f81d1a2 100644 --- a/src/views/mes/prodShiftChange/index.vue +++ b/src/views/mes/prodShiftChange/index.vue @@ -68,7 +68,7 @@ - + @@ -209,7 +209,7 @@ const initFormData: ProdShiftChangeForm = { userName: undefined, remark: undefined, machineName: undefined, - classTeamName: undefined, + teamName: undefined, shiftName: undefined, } const data = reactive>({ @@ -225,7 +225,7 @@ const data = reactive>({ userId: undefined, userName: undefined, machineName: undefined, - classTeamName: undefined, + teamName: undefined, shiftName: undefined, params: { }