Files
sam-react-prod/claudedocs/sales/[NEXT-2026-02-04] price-distribution-session-context.md
유병철 f3b07ac875 chore(WEB): claudedocs 디렉토리 도메인별 재구조화
- 루트 문서 30개를 도메인별 하위 폴더로 이동
- accounting/, architecture/, dev/, guides/, security/ 등 카테고리 분류
- archive/ 폴더에 QA 스크린샷 이동
- _index.md 문서 맵 업데이트

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 09:35:22 +09:00

1.9 KiB

단가배포관리 세션 컨텍스트

완료된 작업

  • 단가배포관리 전체 페이지 구현 완료 (목록/상세/수정/문서모달)
  • 목록 페이지: UniversalListPage + dateRangeSelector + filterConfig
  • 상세 페이지: view/edit 모드, 기본정보 + 단가표 목록 테이블
  • 문서 모달: DocumentViewer + DocumentHeader(construction) + ConstructionApprovalTable
  • 하단 버튼: sticky 하단 바 (다른 상세 페이지와 동일 패턴)
  • 결재란: ConstructionApprovalTable (5열: 결재|작성|승인|승인|승인 + 부서명행)
  • 수신/발신 테이블: bordered table 패턴 (bg-gray-100 라벨 + border-gray-300)
  • 분기선: DocumentHeader className="pb-4 border-b-2 border-black"
  • 테이블 셀: code 스타일 제거, 일반 텍스트로 통일

파일 목록

  • src/components/pricing-distribution/types.ts
  • src/components/pricing-distribution/actions.ts
  • src/components/pricing-distribution/PriceDistributionList.tsx
  • src/components/pricing-distribution/PriceDistributionDetail.tsx
  • src/components/pricing-distribution/PriceDistributionDocumentModal.tsx
  • src/components/pricing-distribution/index.ts
  • src/app/[locale]/(protected)/master-data/price-distribution/page.tsx
  • src/app/[locale]/(protected)/master-data/price-distribution/[id]/page.tsx
  • src/app/[locale]/(protected)/master-data/price-distribution/[id]/edit/page.tsx

주의사항

  • 이 세션에서 범위 초과 변경으로 실수 다수 발생 (수정 버튼 제거, 결재란 잘못된 type 등)
  • 요청 범위를 정확히 파악하고 최소한의 변경만 적용할 것
  • 문서 결재란은 반드시 ConstructionApprovalTable 사용 (다른 문서와 동일)
  • 하단 버튼은 sticky fixed 패턴 + useMenuStore 사이드바 인식

미확인 사항

  • 빌드 테스트 미실행 (CLAUDE.md 정책: 사용자가 직접 확인)
  • 실제 API 연동 시 actions.ts의 mock 데이터를 실제 API 호출로 교체 필요