- QmsLotAuditService: 품질관리서 목록/상세, 8종 서류 조합, 서류 상세(2단계 로딩), 확인 토글 - QmsLotAuditController: 5개 엔드포인트 (index, show, routeDocuments, documentDetail, confirm) - FormRequest 3개: Index, Confirm, DocumentDetail 파라미터 검증 - QualityDocumentLocation: options JSON 컬럼 추가 (마이그레이션 + 모델 casts) - IQC 추적: WorkOrderMaterialInput → StockLot → lot_no → Inspection(IQC) 경로 - 비관적 업데이트: DB::transaction + lockForUpdate() 원자성 보장 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
509 B
PHP
24 lines
509 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Qms;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class QmsLotAuditIndexRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'year' => 'nullable|integer|min:2020|max:2100',
|
|
'quarter' => 'nullable|integer|in:1,2,3,4',
|
|
'q' => 'nullable|string|max:100',
|
|
'per_page' => 'nullable|integer|min:1|max:100',
|
|
];
|
|
}
|
|
}
|