From 0dda6984f31cf5970b7d3442aef10badfcc245b8 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 26 六月 2026 09:39:43 +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