fix: 总库存下钻改用category=Inventory,包含在库+异动状态
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

之前用status=Inventory只匹配在库,现改用category=Inventory
匹配Inventory+Abnormal,与统计口径一致。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-28 19:53:57 +08:00
parent cab26a207a
commit 29d295fceb

View File

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