| | |
| | | import { generateAutoCode } from '#/api/mes/md/autocode/record'; |
| | | import { getTemplateItemOptionList } from '#/api/mes/qc/template/item'; |
| | | import { getSimpleUserList } from '#/api/system/user'; |
| | | import { getRangePickerDefaultProps } from '#/utils'; |
| | | import { getDateRangePickerDefaultProps } from '#/utils'; |
| | | import { MdmItemSelect } from '#/views/basicData/mdm/components'; |
| | | |
| | | /** 表单类型 */ |
| | |
| | | label: '检测日期', |
| | | component: 'DatePicker', |
| | | componentProps: { |
| | | format: 'YYYY-MM-DD HH:mm:ss', |
| | | format: 'YYYY-MM-DD', |
| | | placeholder: '请选择检测日期', |
| | | showTime: true, |
| | | showTime: false, |
| | | valueFormat: 'YYYY-MM-DD HH:mm:ss', |
| | | }, |
| | | rules: 'required', |
| | |
| | | label: '检测日期', |
| | | component: 'RangePicker', |
| | | componentProps: { |
| | | ...getRangePickerDefaultProps(), |
| | | ...getDateRangePickerDefaultProps(), |
| | | }, |
| | | }, |
| | | ]; |
| | |
| | | }, |
| | | }, |
| | | { |
| | | field: 'indicatorResultSummary', |
| | | title: '检测结果(检验项)', |
| | | minWidth: 200, |
| | | showOverflow: 'tooltip', |
| | | }, |
| | | { |
| | | field: 'inspectDate', |
| | | title: '检测日期', |
| | | width: 160, |
| | | formatter: 'formatDateTime', |
| | | formatter: 'formatDate', |
| | | }, |
| | | { |
| | | field: 'inspectorNickname', |