change(mes): 修改 prodShiftChange 组件中的班组属性名称

- 将 classTeamName 更改为 teamName
- 更新相关 API 类型定义,以保持一致性和避免潜在错误
master
zch 2 months ago
parent e727a76170
commit ec5ed99f64

@ -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;
/**
*
*/

@ -68,7 +68,7 @@
</el-table-column>
<el-table-column label="机台" align="center" prop="machineName" v-if="columns[3].visible"/>
<el-table-column label="班次" align="center" prop="shiftName" v-if="columns[4].visible"/>
<el-table-column label="班组" align="center" prop="classTeamName" v-if="columns[5].visible"/>
<el-table-column label="班组" align="center" prop="teamName" v-if="columns[5].visible"/>
<!-- <el-table-column label="接班人" align="center" prop="userId" v-if="columns[6].visible"/>-->
<el-table-column label="接班人名称" align="center" prop="userName" v-if="columns[6].visible"/>
<el-table-column label="备注" align="center" prop="remark" v-if="columns[7].visible"/>
@ -209,7 +209,7 @@ const initFormData: ProdShiftChangeForm = {
userName: undefined,
remark: undefined,
machineName: undefined,
classTeamName: undefined,
teamName: undefined,
shiftName: undefined,
}
const data = reactive<PageData<ProdShiftChangeForm, ProdShiftChangeQuery>>({
@ -225,7 +225,7 @@ const data = reactive<PageData<ProdShiftChangeForm, ProdShiftChangeQuery>>({
userId: undefined,
userName: undefined,
machineName: undefined,
classTeamName: undefined,
teamName: undefined,
shiftName: undefined,
params: {
}

Loading…
Cancel
Save