feat(WEB): 상세 페이지 권한 체계 통합 및 레이아웃/문서 기능 개선
권한 시스템 통합: - BadDebtDetail, LaborDetail, PricingDetail 권한 로직 정리 - BoardDetail, ClientDetail, ItemDetail 권한 적용 개선 - ProcessDetail, StepDetail, PermissionDetail 권한 리팩토링 - ContractDetail, HandoverReport, ProgressBilling 권한 연동 - ReceivingDetail, ShipmentDetail, WorkOrderDetail 권한 적용 - InspectionDetail, OrderSalesDetail, QuoteFooterBar 권한 개선 기능 개선: - AuthenticatedLayout 구조 리팩토링 - JointbarInspectionDocument 문서 레이아웃 개선 - PricingTableForm 폼 기능 보강 - DynamicItemForm, SectionsTab 개선 - 주문관리 상세/생산지시 페이지 개선 - VendorLedgerDetail 수정 설정: - Claude hooks 추가 (빌드 차단, 파일 크기 체크, 미사용 import 체크) - 품질감사 문서관리 계획 문서 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -390,14 +390,14 @@ export function InspectionDetail({ id }: InspectionDetailProps) {
|
||||
if (isEditMode || !inspection) return null;
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-2">
|
||||
<>
|
||||
<Button variant="outline" size="sm" onClick={() => setRequestDocOpen(true)}>
|
||||
<FileText className="w-4 h-4 mr-1" />
|
||||
검사제품요청서 보기
|
||||
<FileText className="w-4 h-4 md:mr-2" />
|
||||
<span className="hidden md:inline">검사제품요청서 보기</span>
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" onClick={() => setReportDocOpen(true)}>
|
||||
<PlayCircle className="w-4 h-4 mr-1" />
|
||||
제품검사하기
|
||||
<PlayCircle className="w-4 h-4 md:mr-2" />
|
||||
<span className="hidden md:inline">제품검사하기</span>
|
||||
</Button>
|
||||
{inspection.status !== '완료' && (
|
||||
<Button
|
||||
@@ -405,11 +405,11 @@ export function InspectionDetail({ id }: InspectionDetailProps) {
|
||||
className="bg-green-600 hover:bg-green-700"
|
||||
onClick={() => setShowCompleteDialog(true)}
|
||||
>
|
||||
<CheckCircle2 className="w-4 h-4 mr-1" />
|
||||
검사 완료
|
||||
<CheckCircle2 className="w-4 h-4 md:mr-2" />
|
||||
<span className="hidden md:inline">검사 완료</span>
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}, [isEditMode, inspection]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user