Browse Source

修改申请日期格式

master_hella_20240701
liuchen864 6 months ago
parent
commit
97e89c292a
  1. 11
      src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

11
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<CrudSchema[]>([
label: '申请日期',
field: 'applicationDate',
sort: 'custom',
formatter: dateFormatter,
formatter: dateFormatter2,
isSearch: false,
search: {
component: 'DatePicker',
@ -57,8 +57,11 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 175
}
width: 120
},
detail: {
dateFormat: 'YYYY-MM-DD'
},
},
{
label: '申请时间',

Loading…
Cancel
Save