feat: [품질관리] 품질관리서/실적신고/검사 API
- QualityDocument CRUD + 수주 연결 + 개소별 데이터 저장 - PerformanceReport 실적신고 확인/메모 API - Inspection 검사 설정 + product_code 전파 수정 - 수주선택 API에 client_name 필드 추가 - 절곡 검사 프로파일 분리 (S1/S2/S3) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,16 @@ public function rules(): array
|
||||
'inspection_data.nonConformingContent' => 'nullable|string|max:1000',
|
||||
'inspection_data.templateValues' => 'nullable|array',
|
||||
'inspection_data.templateValues.*' => 'nullable',
|
||||
// 절곡 제품별 검사 데이터
|
||||
'inspection_data.products' => 'nullable|array',
|
||||
'inspection_data.products.*.id' => 'required_with:inspection_data.products|string',
|
||||
'inspection_data.products.*.bendingStatus' => ['nullable', Rule::in(['양호', '불량'])],
|
||||
'inspection_data.products.*.lengthMeasured' => 'nullable|string|max:50',
|
||||
'inspection_data.products.*.widthMeasured' => 'nullable|string|max:50',
|
||||
'inspection_data.products.*.gapPoints' => 'nullable|array',
|
||||
'inspection_data.products.*.gapPoints.*.point' => 'nullable|string',
|
||||
'inspection_data.products.*.gapPoints.*.designValue' => 'nullable|string',
|
||||
'inspection_data.products.*.gapPoints.*.measured' => 'nullable|string|max:50',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user