| | |
| | | |
| | | import { z } from '#/adapter/form'; |
| | | import { generateAutoCode } from '#/api/mes/md/autocode/record'; |
| | | import { MdWorkshopSelect, MdWorkstationSelect } from '#/views/mes/md/workstation/components'; |
| | | import { MdWorkshopSelect } from '#/views/mes/md/workstation/components'; |
| | | |
| | | import { DvMachineryTypeSelect } from './type/components'; |
| | | |
| | |
| | | class: '!w-full', |
| | | min: 0, |
| | | precision: 2, |
| | | placeholder: '请输入生产效率(每分钟)', |
| | | placeholder: '请输入生产效率(每小时)', |
| | | }, |
| | | }, |
| | | { |
| | |
| | | placeholder: '请输入传送履带数量', |
| | | }, |
| | | help: '2代表双倍效率', |
| | | }, |
| | | { |
| | | fieldName: 'workstationId', |
| | | label: '工作站', |
| | | component: markRaw(MdWorkstationSelect), |
| | | componentProps: { |
| | | placeholder: '请选择工作站', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'specification', |
| | |
| | | placeholder: '请选择设备状态', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'workstationId', |
| | | label: '工作站', |
| | | component: markRaw(MdWorkstationSelect), |
| | | componentProps: { |
| | | allowClear: true, |
| | | placeholder: '请选择工作站', |
| | | }, |
| | | }, |
| | | ]; |
| | | } |
| | | |
| | |
| | | props: { type: DICT_TYPE.MES_DV_MACHINERY_STATUS }, |
| | | }, |
| | | }, |
| | | { field: 'productionEfficiency', title: '生产效率', width: 120 }, |
| | | { field: 'productionEfficiency', title: '生产效率(/h)', width: 120 }, |
| | | { field: 'conveyorBelt', title: '传送履带', width: 100 }, |
| | | { field: 'workstationName', title: '工作站', minWidth: 140 }, |
| | | { |
| | | field: 'lastCheckTime', |
| | | title: '最近点检时间', |