fix: [제품검사 요청서] EAV 문서 없을 때 legacy fallback 적용
- useFqcMode && fqcDocument 조건으로 변경 - requestDocumentId 없는 기존 데이터에서 빈 양식 표시되던 문제 수정
This commit is contained in:
@@ -125,11 +125,11 @@ export function InspectionRequestModal({
|
||||
<Loader2 className="w-6 h-6 animate-spin text-muted-foreground" />
|
||||
<span className="ml-2 text-muted-foreground">양식 로딩 중...</span>
|
||||
</div>
|
||||
) : useFqcMode ? (
|
||||
) : useFqcMode && fqcDocument ? (
|
||||
<div ref={contentWrapperRef}>
|
||||
<FqcRequestDocumentContent
|
||||
template={fqcDocument?.template ?? fqcTemplate}
|
||||
documentData={fqcDocument?.data}
|
||||
template={fqcDocument.template ?? fqcTemplate}
|
||||
documentData={fqcDocument.data}
|
||||
documentNo={documentNo}
|
||||
createdDate={createdDate}
|
||||
readonly={true}
|
||||
|
||||
Reference in New Issue
Block a user