Commit 72b7f59b by linjinhong

修改订单跟踪分页失效问题

parent f8da4a73
...@@ -372,15 +372,13 @@ const getWeekRange = (weeks = 0, type: 'past' | 'future' = 'past') => { ...@@ -372,15 +372,13 @@ const getWeekRange = (weeks = 0, type: 'past' | 'future' = 'past') => {
return [start.startOf('week').toDate(), start.endOf('week').toDate()] return [start.startOf('week').toDate(), start.endOf('week').toDate()]
} }
async function getData() {}
const handleSizeChange = (pageSize: number) => { const handleSizeChange = (pageSize: number) => {
pagination.value.pageSize = pageSize pagination.value.pageSize = pageSize
getData() getOrderListFn()
} }
const handleCurrentChange = (currentPage: number) => { const handleCurrentChange = (currentPage: number) => {
pagination.value.currentPage = currentPage pagination.value.currentPage = currentPage
getData() getOrderListFn()
} }
const productionClient = ref<ProductionClient[]>() const productionClient = ref<ProductionClient[]>()
...@@ -593,7 +591,6 @@ loadTabData() ...@@ -593,7 +591,6 @@ loadTabData()
loadProductionClient() loadProductionClient()
getUserMark() getUserMark()
loadCraftList() loadCraftList()
getData()
getWarehouse() getWarehouse()
onMounted(() => { onMounted(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment