fix(react): 매출관리, 직원폼, 작업지시서 컴포넌트 수정

- SalesManagement actions 및 index 개선
- EmployeeForm 수정
- WorkOrder Detail/Edit/List 컴포넌트 업데이트
- IntegratedDetailTemplate types 수정
- dashboard types 업데이트
This commit is contained in:
2026-01-23 15:38:32 +09:00
parent e3043a3f0d
commit 662a0cc4ac
9 changed files with 177 additions and 48 deletions

View File

@@ -556,9 +556,27 @@ export interface ExpectedExpenseFooterSummaryApiResponse {
item_count: number; // 건수
}
/** 지출예상 월별 추이 */
export interface ExpectedExpenseMonthlyTrendApiResponse {
month: string; // "2026-01"
label: string; // "1월"
amount: number; // 금액
}
/** 지출예상 거래처별 분포 */
export interface ExpectedExpenseVendorDistributionApiResponse {
name: string; // 거래처명
value: number; // 금액
count: number; // 건수
percentage: number; // 비율(%)
color: string; // 차트 색상
}
/** GET /api/v1/expected-expenses/dashboard-detail 응답 */
export interface ExpectedExpenseDashboardDetailApiResponse {
summary: ExpectedExpenseDashboardSummaryApiResponse;
monthly_trend: ExpectedExpenseMonthlyTrendApiResponse[];
vendor_distribution: ExpectedExpenseVendorDistributionApiResponse[];
items: ExpectedExpenseItemApiResponse[];
footer_summary: ExpectedExpenseFooterSummaryApiResponse;
}