From c60f80fe1d1b93e82da29353d3ac94c983ca2101 Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Tue, 3 Mar 2026 21:00:59 +0800 Subject: [PATCH] update --- src/app/api/stockTake/actions.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/api/stockTake/actions.ts b/src/app/api/stockTake/actions.ts index 7b9c1a2..12083b7 100644 --- a/src/app/api/stockTake/actions.ts +++ b/src/app/api/stockTake/actions.ts @@ -120,6 +120,16 @@ export const getStockTakeRecords = async () => { ); return stockTakeRecords; } +export const getStockTakeRecordsPaged = async ( + pageNum: number, + pageSize: number + ) => { + const url = `${BASE_API_URL}/stockTakeRecord/AllPickedStockOutRecordList?pageNum=${pageNum}&pageSize=${pageSize}`; + const res = await serverFetchJson>(url, { + method: "GET", + }); + return res; + }; export const getApproverStockTakeRecords = async () => { const stockTakeRecords = await serverFetchJson( // 改为 serverFetchJson `${BASE_API_URL}/stockTakeRecord/AllApproverStockTakeList`,