diff --git a/src/api/wms/demandforecastingMain/index.ts b/src/api/wms/demandforecastingMain/index.ts index 16cda3e7a..cfb56420e 100644 --- a/src/api/wms/demandforecastingMain/index.ts +++ b/src/api/wms/demandforecastingMain/index.ts @@ -50,7 +50,13 @@ export const deleteDemandforecastingMain = async (id: number) => { // 导出要货预测主 Excel export const exportDemandforecastingMain = async (params) => { - return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/demandforecasting-main/export-excel-senior', data }) + } else { + return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params }) + } } // 下载用户导入模板 diff --git a/src/views/wms/basicDataManage/orderManage/shift/shift.data.ts b/src/views/wms/basicDataManage/orderManage/shift/shift.data.ts index 0fa31a053..f48755d9e 100644 --- a/src/views/wms/basicDataManage/orderManage/shift/shift.data.ts +++ b/src/views/wms/basicDataManage/orderManage/shift/shift.data.ts @@ -32,28 +32,28 @@ export const Shift = useCrudSchemas(reactive([ isTable: true, formatter: dateFormatter, detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' + dateFormat: 'HH:mm:ss' }, - sort: 'custom', + sort: 'custom', table: { - width: 180 + width: 180, }, form: { - component: 'DatePicker', + component: 'TimePicker', componentProps: { style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'time', + dateFormat: 'HH:mm:ss', valueFormat: 'x', } }, isSearch: true, search: { show: true, - component: 'DatePicker', + component: 'TimePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', + valueFormat: 'HH:mm:ss', + type: 'timeSelect', } } }, @@ -63,28 +63,28 @@ export const Shift = useCrudSchemas(reactive([ isTable: true, formatter: dateFormatter, detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' + dateFormat: 'HH:mm:ss', }, sort: 'custom', table: { width: 180 }, form: { - component: 'DatePicker', + component: 'TimePicker', componentProps: { style: {width:'100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'time', + dateFormat: 'HH:mm:ss', valueFormat: 'x', } }, isSearch: true, search: { show: true, - component: 'DatePicker', + component: 'TimePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', + valueFormat: 'HH:mm:ss', + type: 'timeSelect', } } }, diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts index ed80943d0..c03ec4394 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts @@ -338,6 +338,15 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ } } }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } ])) //表单校验 diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue index 616278d21..a5ab004d2 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue @@ -62,6 +62,7 @@