refactor(WEB): 품목관리 경로 통합 - /items 삭제 및 /production/screen-production으로 일원화
- /items 폴더 삭제 (중복 경로 제거) - /production/screen-production에 신버전 DynamicItemForm 기반 페이지 적용 - 구버전 ItemForm 연결 제거로 등록/수정 오류 해결 - 컴포넌트 내부 경로 참조 /items → /production/screen-production 변경 - ItemListClient, ItemForm, ItemDetailClient, ItemDetailEdit, DynamicItemForm Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
This commit is contained in:
@@ -419,7 +419,7 @@ export default function DynamicItemForm({
|
||||
}
|
||||
}
|
||||
|
||||
router.push('/items');
|
||||
router.push('/production/screen-production');
|
||||
router.refresh();
|
||||
});
|
||||
} catch (error) {
|
||||
@@ -603,7 +603,7 @@ export default function DynamicItemForm({
|
||||
const itemType = duplicateCheckResult.duplicateItemType || selectedItemType || 'PT';
|
||||
const itemId = duplicateCheckResult.duplicateId;
|
||||
// code는 없으므로 id를 path에 사용 (edit 페이지에서 id 쿼리 파라미터로 조회)
|
||||
router.push(`/items/${itemId}/edit?type=${itemType}&id=${itemId}`);
|
||||
router.push(`/production/screen-production/${itemId}/edit?type=${itemType}&id=${itemId}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user