Browse Source

YT-1979

intex_online20250311
zhaoyiran 4 weeks ago
parent
commit
87886ef24c
  1. 2
      src/views/wms/supplierManage/supplierDeliMain/index.vue
  2. 4
      src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts

2
src/views/wms/supplierManage/supplierDeliMain/index.vue

@ -164,7 +164,7 @@ const { tableObject, tableMethods } = useTable({
// //
const { getList, setSearchParams } = tableMethods const { getList, setSearchParams } = tableMethods
const getListExecute = () => { const getListExecute = () => {
tableObject.params.yearAndMonth=formatDate(new Date(),'YYYYMM') tableObject.params.yearAndMonth=formatDate(new Date(),'YYYY-MM')
getList() getList()
tableObject.tableList.forEach(item=>item.isOpen = false) tableObject.tableList.forEach(item=>item.isOpen = false)
} }

4
src/views/wms/supplierManage/supplierDeliMain/supplierDeliMain.data.ts

@ -53,10 +53,10 @@ export const SupplierDeliMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
search: { search: {
component: 'DatePicker', component: 'DatePicker',
value: formatDate(new Date(),'YYYYMM'), value: formatDate(new Date(),'YYYY-MM'),
componentProps: { componentProps: {
type: 'month', type: 'month',
valueFormat: 'YYYYMM', valueFormat: 'YYYY-MM',
} }
} }
}, },

Loading…
Cancel
Save