|
@@ -2,7 +2,12 @@
|
|
|
export const taskStocktakingList = (
|
|
|
params,
|
|
|
config = { custom: { auth: true } }
|
|
|
-) => uni.$u.http.post(`/pda/taskStocktakingList`, params, config);
|
|
|
+) =>
|
|
|
+ uni.$u.http.post(
|
|
|
+ `/pda/taskStocktakingList?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
|
|
|
+ params,
|
|
|
+ config
|
|
|
+ );
|
|
|
//盘点任务详情
|
|
|
export const taskStocktakingDetail = (
|
|
|
taskId,
|
|
@@ -23,7 +28,12 @@ export const creatorSpinnerList = (
|
|
|
export const taskStocktakingItemList = (
|
|
|
params,
|
|
|
config = { custom: { auth: true } }
|
|
|
-) => uni.$u.http.post(`/pda/taskStocktakingItemList`, params, config);
|
|
|
+) =>
|
|
|
+ uni.$u.http.post(
|
|
|
+ `/pda/taskStocktakingItemList?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
|
|
|
+ params,
|
|
|
+ config
|
|
|
+ );
|
|
|
//提交盘点
|
|
|
export const stocktaking = (params, config = { custom: { auth: true } }) =>
|
|
|
uni.$u.http.post(`/pda/stocktaking`, params, config);
|