fix: [accounting] 일반전표 수동입력 모달 개선 + 입고 상세 정리

This commit is contained in:
유병철
2026-03-18 19:57:52 +09:00
parent 85862dbace
commit 1925762cb6
3 changed files with 14 additions and 5 deletions

View File

@@ -224,9 +224,7 @@ export function ReceivingDetail({ id, mode = 'view' }: Props) {
if (templateCheck.success) {
setHasInspectionTemplate(templateCheck.hasTemplate);
}
if (templateCheck.attachments && templateCheck.attachments.length > 0) {
setInspectionAttachments(templateCheck.attachments);
}
setInspectionAttachments(templateCheck.attachments ?? []);
} else {
setHasInspectionTemplate(false);
}