diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-19 09:23:47 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-19 09:23:47 +0000 |
| commit | 8077419e40368dc703f94d558fc746b73fbc6702 (patch) | |
| tree | 333bdfb3b0d84336f1bf7d4f0f1bbced6bec2d4c /lib/risk-management/table/risks-mail-dialog.tsx | |
| parent | aa71f75ace013b2fe982e5a104e61440458e0fd2 (diff) | |
(최겸) 구매 PQ 비밀유지계약서 별첨 첨부파일 추가, 정규업체등록관리 개발
Diffstat (limited to 'lib/risk-management/table/risks-mail-dialog.tsx')
| -rw-r--r-- | lib/risk-management/table/risks-mail-dialog.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/risk-management/table/risks-mail-dialog.tsx b/lib/risk-management/table/risks-mail-dialog.tsx index 8bee1191..02c470ce 100644 --- a/lib/risk-management/table/risks-mail-dialog.tsx +++ b/lib/risk-management/table/risks-mail-dialog.tsx @@ -176,7 +176,7 @@ function RisksMailDialog(props: RisksMailDialogProps) { setManagerList(managerList); } catch (error) { console.error('Error in Loading Risk Event for Managing:', error); - toast.error(error instanceof Error ? error.message : '구매 담당자 목록을 불러오는 데 실패했어요.'); + toast.error(error instanceof Error ? error.message : '구매 담당자 목록을 불러오는 데 실패했습니다.'); } finally { setIsLoadingManagerList(false); } @@ -210,7 +210,7 @@ function RisksMailDialog(props: RisksMailDialogProps) { const file = files[0]; const maxFileSize = 10 * 1024 * 1024 if (file.size > maxFileSize) { - toast.error('파일 크기는 10MB를 초과할 수 없어요.'); + toast.error('파일 크기는 10MB를 초과할 수 없습니다.'); return; } form.setValue('attachment', file); @@ -272,15 +272,15 @@ function RisksMailDialog(props: RisksMailDialogProps) { if (!res.ok) { const errorData = await res.json(); - throw new Error(errorData.message || '리스크 알림 메일 전송에 실패했어요.'); + throw new Error(errorData.message || '리스크 알림 메일 전송에 실패했습니다.'); } - toast.success('리스크 알림 메일이 구매 담당자에게 발송되었어요.'); + toast.success('리스크 알림 메일이 구매 담당자에게 발송되었습니다.'); onSuccess(); } catch (error) { console.error('Error in Saving Risk Event:', error); toast.error( - error instanceof Error ? error.message : '리스크 알림 메일 발송 중 오류가 발생했어요.', + error instanceof Error ? error.message : '리스크 알림 메일 발송 중 오류가 발생했습니다.', ); } }) |
