Browse Source

YT-1999便次时间配置表

intex_online20250311
zhaoyiran 4 weeks ago
parent
commit
146adc7885
  1. 23
      src/views/wms/basicDataManage/supplierManage/deliTimeWms/deliTimeWms.data.ts
  2. 2
      src/views/wms/basicDataManage/supplierManage/deliTimeWms/index.vue

23
src/views/wms/basicDataManage/supplierManage/deliTimeWms/deliTimeWms.data.ts

@ -1,5 +1,5 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter } from '@/utils/formatTime'
import { dateFormatter, dateFormatterHHMMSS } from '@/utils/formatTime'
// 表单校验
export const DeliTimeRules = reactive({
@ -36,23 +36,30 @@ export const DeliTimeWms = useCrudSchemas(reactive<CrudSchema[]>([
label: '开始时间',
field: 'beginTime',
sort: 'custom',
formatter: dateFormatter,
formatter: dateFormatterHHMMSS,
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:'HH:mm:ss'
}
},
{
label: '创建者',

2
src/views/wms/basicDataManage/supplierManage/deliTimeWms/index.vue

@ -54,7 +54,7 @@
<Detail ref="detailRef" :isBasic="true" :allSchemas="DeliTimeWms.allSchemas" />
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/basic/deli-time/import" :importTemplateData="importTemplateData" @success="importSuccess" />
<ImportForm ref="importFormRef" url="/wms/deli-time-wms/import" :importTemplateData="importTemplateData" @success="importSuccess" :isShowOut="true" :updateIsDisable="true" :coverIsDisable="true" :mode="2"/>
</template>
<script setup lang="ts">

Loading…
Cancel
Save