현금영수증 수기 발행 완료

This commit is contained in:
focp212@naver.com
2025-10-24 10:28:34 +09:00
parent c2041f918f
commit 9348656db0
12 changed files with 117 additions and 97 deletions

View File

@@ -60,7 +60,7 @@ export const API_URL_USER = {
},
// mid 로 사업자 정보 조회
businessPropertyByMid: () => {
return `${API_BASE_URL}/api/v1/amsw/business-property/by-mid`;
businessProperty: () => {
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/business-property`;
},
}

View File

@@ -1,3 +1,5 @@
import { ChangeEvent } from "react";
export interface FilterSelectProps {
title: string;
selectValue: string;
@@ -18,7 +20,6 @@ export const FilterSelect = ({
<option
key={ `key-filter-select-${i}` }
value={ selectOptions[i]?.value }
selected={ (selectValue === selectOptions[i]?.value)? true: false }
>{ selectOptions[i]?.name }</option>
);
}
@@ -33,7 +34,7 @@ export const FilterSelect = ({
<select
className="flex-1"
value={ selectValue }
onChange={ (e: any) => selectSetter(e.target.value)}
onChange={ (e: ChangeEvent<HTMLSelectElement>) => selectSetter(e.target.value)}
>
{ getSelectOptions() }
</select>