fix: [order] 수주관리 UI 개선 - 카드 재구성, stats 상태 추가, STOCK 제품 필터링

- 수주관리 카드 재구성 (수주/생산/출하)
- stats에 inProduction/produced 매핑 추가
- 수주관리 목록에서 재고생산(STOCK) 제품 필터링
This commit is contained in:
2026-03-18 15:28:48 +09:00
parent 3ec6fdd71b
commit 4e967540e9
2 changed files with 51 additions and 36 deletions

View File

@@ -379,6 +379,8 @@ export interface OrderStats {
draft: number;
confirmed: number;
inProgress: number;
inProduction: number;
produced: number;
completed: number;
cancelled: number;
totalAmount: number;
@@ -958,6 +960,8 @@ export async function getOrderStats(): Promise<{
draft: result.data.draft,
confirmed: result.data.confirmed,
inProgress: result.data.in_progress,
inProduction: result.data.in_production || 0,
produced: result.data.produced || 0,
completed: result.data.completed,
cancelled: result.data.cancelled,
totalAmount: result.data.total_amount,