feat(WEB): 제품검사 모달 양식(template) 기반 전환 (5.2.4)

FQC 문서 시스템 연동으로 하드코딩된 검사 모달을 양식 기반으로 전환.
FQC 문서가 있으면 template 기반 렌더링, 없으면 기존 legacy 모드 유지.

- fqcActions.ts: FQC 문서 Server Actions (조회/생성/저장) + 타입/변환
- FqcDocumentContent.tsx: 양식 기반 문서 렌더링 (readonly/edit, forwardRef)
- InspectionReportModal: fqcDocumentMap prop으로 FQC/legacy 모드 자동 전환
- ProductInspectionInputModal: fqcDocumentId prop으로 FQC/legacy 모드 자동 전환
- InspectionDetail: FQC 매핑 로드 로직 + 모달 prop 전달
- OrderSettingItem에 orderId 추가 (FQC 활성화 트리거)
This commit is contained in:
2026-02-12 21:17:14 +09:00
parent 14af77ca65
commit 1b711fa6e3
7 changed files with 1511 additions and 445 deletions

View File

@@ -2,3 +2,4 @@ export { InspectionRequestDocument } from './InspectionRequestDocument';
export { InspectionRequestModal } from './InspectionRequestModal';
export { InspectionReportDocument } from './InspectionReportDocument';
export { InspectionReportModal } from './InspectionReportModal';
export { FqcDocumentContent } from './FqcDocumentContent';