liu
2 天以前 74318c7f51a59e3003c1f1d9c8ee777a925de74a
src/views/mes/qc/outsourcetest/data.ts
@@ -1,10 +1,13 @@
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';
@@ -61,9 +64,9 @@
    {
      fieldName: 'itemId',
      label: '检测对象',
      component: 'Input',
      component: markRaw(MdItemSelect),
      componentProps: {
        placeholder: '检测对象(物料/设备)',
        placeholder: '请选择检测对象(物料)',
        disabled: isReadonly,
      },
    },