Browse Source

EAM ——> 去掉工段字段

master_hella_20240701
gaojs 6 months ago
parent
commit
90714a766d
  1. 8
      src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts
  2. 7
      src/views/eam/equipmentMaintenanceRecordMain/equipmentMaintenanceRecordMain.data.ts
  3. 6
      src/views/eam/maintenance/maintenance.data.ts

8
src/views/eam/equipmentMaintenanceMain/equipmentMaintenanceMain.data.ts

@ -6,7 +6,7 @@ import {Workshop} from "@/views/wms/basicDataManage/factoryModeling/workshop/wor
import * as WorkshopApi from "@/api/wms/workshop";
import {MaintenanceItem} from "@/views/eam/maintenanceItem/maintenanceItem.data";
import * as ItemApi from "@/api/eam/maintenanceItem";
import {validateInteger, validateroundNumber} from "@/utils/validator";
import {validateroundNumber} from "@/utils/validator";
// 表单校验
export const EquipmentMaintenanceMainRules = reactive({
@ -243,12 +243,6 @@ export const EquipmentMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '工段编号',
field: 'workshopSectionCode',
sort: 'custom',
isSearch: true,
},
{
label: '创建时间',
field: 'createTime',

7
src/views/eam/equipmentMaintenanceRecordMain/equipmentMaintenanceRecordMain.data.ts

@ -45,12 +45,9 @@ export const EquipmentMaintenanceRecordMain = useCrudSchemas(reactive<CrudSchema
label: '班次枚举',
field: 'classes',
sort: 'custom',
dictType: DICT_TYPE.SHIFT_TYPE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
// dictType: DICT_TYPE.SHIFT_TYPE,
// dictClass: 'string', // 默认都是字符串类型其他暂不考虑
isSearch: true,
form: {
component: 'SelectV2'
}
},
{
label: '保养计划工单',

6
src/views/eam/maintenance/maintenance.data.ts

@ -248,12 +248,6 @@ export const Maintenance = useCrudSchemas(reactive<CrudSchema[]>([
}
},
},
{
label: '工段编号',
field: 'workshopSectionCode',
sort: 'custom',
isSearch: true,
},
{
label: '创建时间',
field: 'createTime',

Loading…
Cancel
Save