| | |
| | | rules: z.string().min(1, '工序名称不能为空').max(100), |
| | | }, |
| | | { |
| | | fieldName: 'type', |
| | | label: '电力工艺分类', |
| | | component: 'Select', |
| | | componentProps: { |
| | | allowClear: true, |
| | | options: getDictOptions(DICT_TYPE.MES_PRO_PROCESS_TYPE, 'number'), |
| | | placeholder: '请选择电力工艺分类', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'status', |
| | | label: '状态', |
| | | component: 'RadioGroup', |
| | |
| | | }, |
| | | { field: 'name', title: '工序名称', minWidth: 180 }, |
| | | { |
| | | field: 'type', |
| | | title: '电力工艺分类', |
| | | width: 120, |
| | | cellRender: { |
| | | name: 'CellDict', |
| | | props: { type: DICT_TYPE.MES_PRO_PROCESS_TYPE }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'status', |
| | | title: '状态', |
| | | width: 100, |