From 87886ef24c5870962ca7e945c99efeec1fa9215e Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 7 Mar 2025 17:22:04 +0800 Subject: [PATCH] YT-1979 --- src/views/wms/supplierManage/supplierDeliMain/index.vue | 2 +- .../supplierManage/supplierDeliMain/supplierDeliMain.data.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/wms/supplierManage/supplierDeliMain/index.vue b/src/views/wms/supplierManage/supplierDeliMain/index.vue index fae18808c..9c921f1e3 100644 --- a/src/views/wms/supplierManage/supplierDeliMain/index.vue +++ b/src/views/wms/supplierManage/supplierDeliMain/index.vue @@ -164,7 +164,7 @@ const { tableObject, tableMethods } = useTable({ // 获得表格的各种操作 const { getList, setSearchParams } = tableMethods const getListExecute = () => { - tableObject.params.yearAndMonth=formatDate(new Date(),'YYYYMM') + tableObject.params.yearAndMonth=formatDate(new Date(),'YYYY-MM') getList() tableObject.tableList.forEach(item=>item.isOpen = false) } diff --git a/src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts b/src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts index 2971294a9..0e34589d2 100644 --- a/src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts +++ b/src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts @@ -53,10 +53,10 @@ export const SupplierDeliMain = useCrudSchemas(reactive([ isSearch: true, search: { component: 'DatePicker', - value: formatDate(new Date(),'YYYYMM'), + value: formatDate(new Date(),'YYYY-MM'), componentProps: { type: 'month', - valueFormat: 'YYYYMM', + valueFormat: 'YYYY-MM', } } },