diff --git a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts b/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts index 1482f4200..20406de65 100644 --- a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts +++ b/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts @@ -1,5 +1,5 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' -import { dateFormatter } from '@/utils/formatTime' +import { dateFormatter, dateFormatter2 } from '@/utils/formatTime' import * as ItemApi from '@/api/wms/itembasic' import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' import * as SupplierApi from '@/api/wms/supplier' @@ -38,7 +38,7 @@ export const InspectionMain = useCrudSchemas(reactive([ label: '申请日期', field: 'applicationDate', sort: 'custom', - formatter: dateFormatter, + formatter: dateFormatter2, isSearch: false, search: { component: 'DatePicker', @@ -57,8 +57,11 @@ export const InspectionMain = useCrudSchemas(reactive([ } }, table: { - width: 175 - } + width: 120 + }, + detail: { + dateFormat: 'YYYY-MM-DD' + }, }, { label: '申请时间',