From 351bcc82a1e8bb1cf4c20762a75168a0406687a6 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 02 七月 2026 10:41:27 +0800
Subject: [PATCH] 销售退货:查询列表新增入库审批状态字段

---
 src/api/viewIndex.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 9cae219..0087d66 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -349,8 +349,7 @@
 
 export const productionOrderProgress = (params = {}) => {
   const safePageNum = Math.max(1, Number(params.pageNum || 1));
-  const safePageSize = Math.min(50, Math.max(1, Number(params.pageSize || 10)));
-  const safeTab = ["all", "inProgress", "completed", "paused"].includes(params.tab)
+  const safeTab = ["all", "inProgress", "completed", "end"].includes(params.tab)
     ? params.tab
     : "all";
   return request({
@@ -360,7 +359,7 @@
       ...params,
       tab: safeTab,
       pageNum: safePageNum,
-      pageSize: safePageSize,
+      pageSize: params.pageSize,
     },
     headers: {
       handleAuthError: false,

--
Gitblit v1.9.3