fix: 단가관리 item_type_code 타입 정의 수정

- PriceApiItem.item_type_code를 'PRODUCT'|'MATERIAL'에서 string으로 변경
- 백엔드 통합된 item_type(FG, PT, SM, RM, CS) 값과 일치하도록 수정
- 사용되지 않는 mapItemTypeCode 함수 제거
This commit is contained in:
2025-12-21 17:23:00 +09:00
parent e5bea96182
commit f4fe50fd3b
2 changed files with 6 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ interface ApiResponse<T> {
interface PriceApiData {
id: number;
tenant_id: number;
item_type_code: 'PRODUCT' | 'MATERIAL';
item_type_code: string; // FG, PT, SM, RM, CS (items.item_type과 동일)
item_id: number;
client_group_id: number | null;
purchase_price: string | null;