feat: 품목기준관리 Zustand 리팩토링 (테스트 페이지)
## 주요 변경사항 - Zustand 정규화 스토어 구현 (useItemMasterStore) - 테스트 페이지 구현 (/items-management-test) - 계층구조/섹션/항목/속성 탭 완성 - CRUD 다이얼로그 (페이지/섹션/필드/BOM/속성) - Import 기능 (섹션/필드 불러오기) - 드래그앤드롭 순서 변경 - 인라인 편집 기능 ## 구현 완료 (약 72%) - 페이지/섹션/필드 CRUD ✅ - BOM 관리 ✅ - 단위/재질/표면처리 CRUD ✅ - Import/복제 기능 ✅ ## 미구현 기능 - 절대경로(absolute_path) 수정 - 페이지 복제 - 필드 조건부 표시 - 칼럼 관리 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -376,9 +376,9 @@ export const transformUnitOptionResponse = (
|
||||
): { id: string; value: string; label: string; isActive: boolean } => {
|
||||
return {
|
||||
id: response.id.toString(), // number → string 변환
|
||||
value: response.value,
|
||||
label: response.label,
|
||||
isActive: true, // API에 없으므로 기본값
|
||||
value: response.unit_code,
|
||||
label: response.unit_name,
|
||||
isActive: response.is_active,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user