feat: COMPANY_29 부서 등록 및 사용자 관리 페이지 개선

- 부서 등록 시 자동 생성 부서코드 기능 추가
- 사용자 관리에서 부서 필수 입력 검증 추가
- 품목 정보 페이지에서 입력 필드에 placeholder 추가
- 고객 관리 페이지에서 원본 카테고리 코드 보관 및 빈 문자열을 null로 변환하는 로직 추가
- 판매 주문 페이지에서 품목 검색 필터에 관리품목 선택 기능 추가

이 커밋은 부서 및 사용자 관리 기능을 개선하고, 사용자 경험을 향상시키기 위한 여러 변경 사항을 포함합니다.
This commit is contained in:
kjs
2026-03-29 20:04:52 +09:00
parent 3e935792d4
commit ac5292f9b0
17 changed files with 301 additions and 81 deletions
+5
View File
@@ -115,6 +115,7 @@ export const useLogin = () => {
const result = await apiCall<{
token?: string;
firstMenuPath?: string;
firstMenuName?: string;
popLandingPath?: string;
}>("POST", AUTH_CONFIG.ENDPOINTS.LOGIN, {
userId: formData.userId,
@@ -139,6 +140,10 @@ export const useLogin = () => {
}
} else {
const firstMenuPath = result.data?.firstMenuPath;
const firstMenuName = result.data?.firstMenuName;
if (firstMenuName) {
localStorage.setItem("currentMenuName", firstMenuName);
}
if (firstMenuPath) {
router.push(firstMenuPath);
} else {