| | |
| | | |
| | | import { h, markRaw } from 'vue'; |
| | | |
| | | import { DICT_TYPE } from '../../../../packages/constants/src'; |
| | | import { getDictOptions } from '../../../../packages/effects/hooks/src'; |
| | | import { formatDate, formatDateTime } from '../../../../packages/utils/src'; |
| | | import { DICT_TYPE } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | import { formatDate } from '@vben/utils'; |
| | | |
| | | import { z } from '#/adapter/form'; |
| | | import { getSimpleUserList } from '#/api/system/user'; |
| | |
| | | { |
| | | field: 'createTime', |
| | | label: '创建时间', |
| | | render: (val) => formatDateTime(val) || '-', |
| | | render: (val) => formatDate(val) || '-', |
| | | }, |
| | | { |
| | | field: 'creatorName', |
| | |
| | | { |
| | | field: 'updateTime', |
| | | label: '更新时间', |
| | | render: (val) => formatDateTime(val) || '-', |
| | | render: (val) => formatDate(val) || '-', |
| | | }, |
| | | { |
| | | field: 'updaterName', |
| | |
| | | class: 'w-full', |
| | | format: 'YYYY-MM-DD', |
| | | placeholder: '请选择单据日期', |
| | | valueFormat: 'x', |
| | | valueFormat: 'YYYY-MM-DD', |
| | | }, |
| | | fieldName: 'orderTime', |
| | | label: '单据日期', |