diff --git a/plans/order-management-plan.md b/plans/order-management-plan.md index 8b42a6d..ef5d447 100644 --- a/plans/order-management-plan.md +++ b/plans/order-management-plan.md @@ -2,7 +2,7 @@ > **작성일**: 2025-01-08 > **목적**: 수주관리 페이지 Mock 데이터 → API 연동 -> **상태**: ✅ Phase 2 완료 (Frontend API 연동 완료) +> **상태**: ✅ Phase 3 완료 (100% 완료) --- @@ -10,11 +10,11 @@ | 항목 | 내용 | |------|------| -| **마지막 완료 작업** | Phase 2 완료 - Frontend API 연동 (actions.ts, 타입 정의, 페이지 연동) | -| **다음 작업** | Phase 3: 고급 기능 (견적→수주 변환, 생산지시 생성, 상태 흐름 관리) | -| **진행률** | 2/3 Phase (67%) | -| **마지막 업데이트** | 2025-01-08 | -| **커밋** | Phase 2 커밋 대기 중 | +| **마지막 완료 작업** | Phase 3 완료 - 고급 기능 (견적→수주 변환, 생산지시 생성 연동, 상태 흐름 관리) | +| **다음 작업** | 완료 (후속: 테스트 보강, UX 개선 등) | +| **진행률** | 3/3 Phase (100%) | +| **마지막 업데이트** | 2025-01-09 | +| **커밋** | Phase 3 커밋 대기 중 | --- @@ -47,7 +47,7 @@ | 등록 페이지 | `react/src/app/[locale]/(protected)/sales/order-management-sales/new/page.tsx` | ✅ API 연동 | | 상세 페이지 | `react/src/app/[locale]/(protected)/sales/order-management-sales/[id]/page.tsx` | ✅ API 연동 | | 수정 페이지 | `react/src/app/[locale]/(protected)/sales/order-management-sales/[id]/edit/page.tsx` | ✅ API 연동 | -| 생산지시 페이지 | `react/src/app/[locale]/(protected)/sales/order-management-sales/[id]/production-order/page.tsx` | ⏳ Phase 3 | +| 생산지시 페이지 | `react/src/app/[locale]/(protected)/sales/order-management-sales/[id]/production-order/page.tsx` | ✅ 완료 | | 등록 컴포넌트 | `react/src/components/orders/OrderRegistration.tsx` | ✅ 완료 | | 견적선택 다이얼로그 | `react/src/components/orders/QuotationSelectDialog.tsx` | ✅ 완료 | | 품목추가 다이얼로그 | `react/src/components/orders/ItemAddDialog.tsx` | ✅ 완료 | @@ -100,13 +100,13 @@ | 2.4 | 등록 페이지 연동 | ✅ | createOrder() 연동 | | 2.5 | 수정 페이지 연동 | ✅ | updateOrder() 연동 + 타입 오류 수정 | -### Phase 3: 고급 기능 +### Phase 3: 고급 기능 (✅ 완료) | # | 작업 항목 | 상태 | 비고 | |---|----------|:----:|------| -| 3.1 | 견적서 → 수주 변환 | ⏳ | Order.createFromQuote() | -| 3.2 | 생산지시 생성 연동 | ⏳ | WorkOrder 연결 | -| 3.3 | 상태 흐름 관리 | ⏳ | DRAFT → CONFIRMED → ... | +| 3.1 | 견적서 → 수주 변환 | ✅ | QuotationSelectDialog + createOrderFromQuote() | +| 3.2 | 생산지시 생성 연동 | ✅ | createProductionOrder() + production-order 페이지 | +| 3.3 | 상태 흐름 관리 | ✅ | 수주확정 다이얼로그 + updateOrderStatus() | ---