From d476be7eda60a04e0cbbc28c5aa048dfceffd789 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 03 七月 2026 15:39:23 +0800
Subject: [PATCH] 新增采购退货后,如果对应的采购退货审批也通过,采购退货记录不能删除,删除按钮置灰
---
src/api/viewIndex.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/api/viewIndex.js b/src/api/viewIndex.js
index 4d2923c..0087d66 100644
--- a/src/api/viewIndex.js
+++ b/src/api/viewIndex.js
@@ -349,7 +349,7 @@
export const productionOrderProgress = (params = {}) => {
const safePageNum = Math.max(1, Number(params.pageNum || 1));
- const safeTab = ["all", "inProgress", "completed", "paused"].includes(params.tab)
+ const safeTab = ["all", "inProgress", "completed", "end"].includes(params.tab)
? params.tab
: "all";
return request({
--
Gitblit v1.9.3