fix: 修正总库存计算,区分在库/待交车/异动状态
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- 总库存 = 在库 + 异动(不含待交车)
- 待交车独立展示
- 库 = 纯在库数量
- 异 = 异动数量
- 验证: 运营 + 库存 + 待交 = 总资产

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
kkfluous
2026-03-26 15:03:44 +08:00
parent f7bbe27b1e
commit 363399faed
2 changed files with 12 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ export interface Vehicle {
color: string;
location: string;
region: string;
status: 'Operating' | 'Inventory' | 'Abnormal';
status: 'Operating' | 'Inventory' | 'Pending' | 'Abnormal';
ownership: string;
rentCompany: string;
contractNo: string | null;