diff --git a/src/server/routes/vehicles.ts b/src/server/routes/vehicles.ts index b64b969..36a3a00 100644 --- a/src/server/routes/vehicles.ts +++ b/src/server/routes/vehicles.ts @@ -951,7 +951,7 @@ app.get('/list', async (c) => { // GET /api/vehicles/inventory-stats — grouped inventory stats for the inventory statistics section app.get('/inventory-stats', async (c) => { const vehicles = await getVehicles(); - const inventory = vehicles.filter((v) => v.status === 'Inventory'); + const inventory = vehicles.filter((v) => v.status === 'Inventory' || v.status === 'Abnormal'); const TYPE_NAME_MAP: Record = { t4_5: '4.5T普货',