From 29d295fceba4d22bdc9408cd06496072de7cf65d Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sat, 28 Mar 2026 19:53:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=80=BB=E5=BA=93=E5=AD=98=E4=B8=8B?= =?UTF-8?q?=E9=92=BB=E6=94=B9=E7=94=A8category=3DInventory=EF=BC=8C?= =?UTF-8?q?=E5=8C=85=E5=90=AB=E5=9C=A8=E5=BA=93+=E5=BC=82=E5=8A=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前用status=Inventory只匹配在库,现改用category=Inventory 匹配Inventory+Abnormal,与统计口径一致。 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index d7afd9a..735f430 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -185,7 +185,7 @@ export default function App() { if (showPlateNumbers.batch !== 'All') params.batch = showPlateNumbers.batch; if (showPlateNumbers.model !== 'All') params.model = showPlateNumbers.model; if (showPlateNumbers.location !== 'All') params.location = showPlateNumbers.location; - if (cat === 'Inventory') params.status = 'Inventory'; + if (cat === 'Inventory') params.category = 'Inventory'; if (cat === 'Operating') params.category = 'Operating'; if (showPlateNumbers.manager) params.manager = showPlateNumbers.manager; if (showPlateNumbers.customer) params.customer = showPlateNumbers.customer;