feat: [생산관리] 중간검사 데이터 저장/조회 API 구현

- POST /work-orders/{id}/items/{itemId}/inspection: 품목별 검사 데이터 저장
- GET /work-orders/{id}/inspection-data: 전체 품목 검사 데이터 조회
- GET /work-orders/{id}/inspection-report: 검사 성적서용 데이터 조회
- WorkOrderItem 모델에 getInspectionData/setInspectionData 헬퍼 추가
- StoreItemInspectionRequest FormRequest 생성
- work_order_items.options['inspection_data']에 검사 결과 저장

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 09:00:57 +09:00
parent 78851ec04a
commit ee6794be1a
6 changed files with 253 additions and 0 deletions

View File

@@ -438,6 +438,7 @@
'item_status_updated' => '품목 상태가 변경되었습니다.',
'materials_fetched' => '자재 목록을 조회했습니다.',
'material_input_registered' => '자재 투입이 등록되었습니다.',
'inspection_saved' => '검사 데이터가 저장되었습니다.',
],
// 검사 관리