设备台账/设备统计:去掉所属工序字段
工序在主数据里没有维护入口(生产基础数据只有工厂/车间/工作站,工序表为空),
设备新增时下拉无任何可选项,属于死字段:去掉表单、搜索项与列表/统计列。
Co-Authored-By: Claude Code <noreply@anthropic.com>
| | |
| | | import { z } from '#/adapter/form'; |
| | | import { generateAutoCode } from '#/api/mes/md/autocode/record'; |
| | | import { MdWorkshopSelect } from '#/views/mes/md/workstation/components'; |
| | | import { ProProcessSelect } from '#/views/mes/process-design/process/components'; |
| | | |
| | | import { DvMachineryTypeSelect } from './type/components'; |
| | | |
| | |
| | | placeholder: '请选择所属车间', |
| | | }, |
| | | rules: 'selectRequired', |
| | | }, |
| | | { |
| | | fieldName: 'processId', |
| | | label: '所属工序', |
| | | component: markRaw(ProProcessSelect), |
| | | componentProps: { |
| | | allowClear: true, |
| | | placeholder: '请选择所属工序', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'status', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'processId', |
| | | label: '所属工序', |
| | | component: markRaw(ProProcessSelect), |
| | | componentProps: { |
| | | allowClear: true, |
| | | placeholder: '请选择所属工序', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'status', |
| | | label: '设备状态', |
| | | component: 'Select', |
| | |
| | | { field: 'specification', title: '规格型号', minWidth: 140 }, |
| | | { field: 'machineryTypeName', title: '设备类型', minWidth: 140 }, |
| | | { field: 'workshopName', title: '所属车间', minWidth: 140 }, |
| | | { field: 'processName', title: '所属工序', minWidth: 140 }, |
| | | { |
| | | field: 'status', |
| | | title: '设备状态', |
| | |
| | | { field: 'machineryName', title: '设备名称', minWidth: 140 }, |
| | | { field: 'machineryTypeName', title: '设备类型', minWidth: 120 }, |
| | | { field: 'workshopName', title: '所属车间', minWidth: 120 }, |
| | | { field: 'processName', title: '所属工序', minWidth: 120 }, |
| | | { |
| | | field: 'status', |
| | | title: '设备状态', |