| | |
| | | import type { VbenFormSchema } from '#/adapter/form'; |
| | | import type { VxeTableGridOptions } from '#/adapter/vxe-table'; |
| | | |
| | | import { markRaw } from 'vue'; |
| | | |
| | | import { DICT_TYPE } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | |
| | | import { getRangePickerDefaultProps } from '#/utils'; |
| | | import { MdItemSelect } from '#/views/mes/md/item/components'; |
| | | |
| | | /** 表单类型 */ |
| | | export type FormType = 'create' | 'detail' | 'edit'; |
| | |
| | | { |
| | | fieldName: 'itemId', |
| | | label: '检测对象', |
| | | component: 'Input', |
| | | component: markRaw(MdItemSelect), |
| | | componentProps: { |
| | | placeholder: '检测对象(物料/设备)', |
| | | placeholder: '请选择检测对象(物料)', |
| | | disabled: isReadonly, |
| | | }, |
| | | }, |