This commit is contained in:
focp212@naver.com
2025-11-07 14:04:21 +09:00
parent 45cee4b53e
commit e5342f1d0a
35 changed files with 330 additions and 94 deletions

View File

@@ -92,6 +92,11 @@ export const CashReceiptDetail = ({
if(rs.issueInfo){
setPurposeType(rs.issueInfo.purpose);
}
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
};
useEffect(() => {

View File

@@ -115,6 +115,11 @@ export const EscrowDetail = ({
};
escrowMailResend(params).then((rs: any) => {
console.log(rs);
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
};

View File

@@ -5,6 +5,8 @@ import { useDownloadConfirmationMutation } from '../../api/use-download-confirma
import { InfoSectionKeys, InfoSectionProps, TransactionCategory } from '../../model/types';
import { SlideDown } from 'react-slidedown';
import 'react-slidedown/lib/slidedown.css';
import { showAlert } from '@/widgets/show-alert';
import { snackBar } from '@/shared/lib';
export const AmountInfoSection = ({
transactionCategory,
@@ -185,7 +187,12 @@ export const AmountInfoSection = ({
downloadConfirmation({
tid: tid
}).then((rs) => {
alert('거래확인서 다운 성공');
snackBar('거래확인서 다운 성공');
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
}
};