소스 검색

update

reset-do-picking-order
CANCERYS\kw093 2 주 전
부모
커밋
c60f80fe1d
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +10
    -0
      src/app/api/stockTake/actions.ts

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


불러오는 중...
취소
저장