maliang 2 hónapja
szülő
commit
673147fe7f

+ 5 - 1
common/request/apis/inventoryInquiry.js

@@ -3,7 +3,11 @@ export const inventoryInquiry = (
   params,
   config = { custom: { auth: true } }
 ) => {
-  return uni.$u.http.post(`/pda/inventoryInquiry`, params, config);
+  return uni.$u.http.post(
+    `/pda/inventoryInquiry?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
+    params,
+    config
+  );
 };
 //库位
 export const inventoryPositionTree = (

+ 12 - 2
common/request/apis/inventoryTask.js

@@ -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);

+ 2 - 0
pages/inventory-task/detail.vue

@@ -364,6 +364,8 @@ export default {
           taskId,
           ...this.queryFilterValues,
           number: this.number,
+          currentPage,
+          pageSize,
         };
         console.log("getTaskStocktakingItemList======", params);
         const res = await taskStocktakingItemList(params);