feat(API): 검사 문서/성적서 연동 개선
- DocumentService: formatTemplateForReact 필드명 정합성 수정 (column_type, sub_labels, section title/image_path) - WorkOrderService: process.options 로딩, 검사데이터 document_data 변환 로직 추가 - StoreItemInspectionRequest: templateValues 유효성 규칙 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,8 @@ public function rules(): array
|
||||
'inspection_data.gapPoints.*.right' => 'nullable|numeric',
|
||||
'inspection_data.judgment' => ['nullable', Rule::in(['pass', 'fail'])],
|
||||
'inspection_data.nonConformingContent' => 'nullable|string|max:1000',
|
||||
'inspection_data.templateValues' => 'nullable|array',
|
||||
'inspection_data.templateValues.*' => 'nullable',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user