Browse Source

YT-2039便次时间配置,开始时间不正确(应该是能填写时分)

intex_online20250311
张立 4 weeks ago
parent
commit
77e443df2a
  1. 18
      src/views/wms/basicDataManage/supplierManage/deliTime/deliTime.data.ts
  2. 4
      src/views/wms/basicDataManage/supplierManage/deliTime/index.vue

18
src/views/wms/basicDataManage/supplierManage/deliTime/deliTime.data.ts

@ -38,23 +38,27 @@ export const DeliTime = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
formatter: dateFormatter,
isSearch: true,
table: {
width:120
},
search: {
component: 'DatePicker',
component: 'TimePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
type: 'time',
dateFormat: 'HH:mm:ss',
valueFormat: 'x'
}
},
form: {
component: 'DatePicker',
component: 'TimePicker',
componentProps: {
type: 'datetime',
type: 'time',
dateFormat: 'HH:mm:ss',
valueFormat: 'x'
}
},
detail: {
dateFormat:'YYYY-MM-DD HH:mm:ss'
dateFormat:'HH:mm:ss'
}
},
{

4
src/views/wms/basicDataManage/supplierManage/deliTime/index.vue

@ -32,6 +32,9 @@
<span>{{ row.code }}</span>
</el-button>
</template>
<template #begeinTime="{row}">
<span>{{ formatDate(row.begeinTime,'HH:mm:ss') }}</span>
</template>
<template #action="{ row }">
<ButtonBase :Butttondata="butttondata" @button-base-click="buttonTableClick($event,row)" />
</template>
@ -65,6 +68,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'DeliTime' })

Loading…
Cancel
Save