fix: [item-management] 품목 삭제 시 loadItemList 미정의 오류 수정
- confirmDeleteItem/showItemHistory 함수를 IIFE 내부로 이동 - loadItemList 스코프 접근 가능하도록 구조 수정
This commit is contained in:
@@ -607,7 +607,6 @@ function renderFormulaTree(data, container) {
|
||||
container.innerHTML = '<p class="text-gray-400 text-center py-10">산출된 자재가 없습니다.</p>';
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
// ── 품목 삭제 ──
|
||||
window.confirmDeleteItem = function(itemId, itemName) {
|
||||
@@ -729,5 +728,6 @@ function renderFormulaTree(data, container) {
|
||||
window.closeHistoryModal = function() {
|
||||
document.getElementById('history-modal').classList.add('hidden');
|
||||
};
|
||||
})();
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user