Pārlūkot izejas kodu

update

reset-do-picking-order
CANCERYS\kw093 pirms 2 nedēļām
vecāks
revīzija
c60f80fe1d
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. +10
    -0
      src/app/api/stockTake/actions.ts

+ 10
- 0
src/app/api/stockTake/actions.ts Parādīt failu

@@ -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<RecordsRes<AllPickedStockTakeListReponse>>(url, {
method: "GET",
});
return res;
};
export const getApproverStockTakeRecords = async () => {
const stockTakeRecords = await serverFetchJson<AllPickedStockTakeListReponse[]>( // 改为 serverFetchJson
`${BASE_API_URL}/stockTakeRecord/AllApproverStockTakeList`,


Notiek ielāde…
Atcelt
Saglabāt