거래내역 조회 필터 뱃지

This commit is contained in:
focp212@naver.com
2025-11-17 18:30:18 +09:00
parent a9943150ad
commit 565e78cd1e
3 changed files with 74 additions and 17 deletions

View File

@@ -52,7 +52,7 @@ export const AllTransactionFilter = ({
setBankCode,
setSearchCl,
setSearchValue,
serviceCodeOptions
serviceCodeOptions,
}: AllTransactionFilterProps) => {
const { t } = useTranslation();
@@ -144,13 +144,12 @@ export const AllTransactionFilter = ({
};
let setSearchClOptions = (value: string) => {
let options = [];
setFilterServiceCode(value);
if(value === ''){
setFilterSearchCl(undefined);
}
else if(value === '01'){
options.push({name: t('filter.searchOptions.cardNumber'), value: AllTransactionSearchCl.CARD_NO});