diff --git a/src/main/webapp/WEB-INF/views/drilling/input/drilling_input.jsp b/src/main/webapp/WEB-INF/views/drilling/input/drilling_input.jsp
index abfcce43..39c6ea25 100644
--- a/src/main/webapp/WEB-INF/views/drilling/input/drilling_input.jsp
+++ b/src/main/webapp/WEB-INF/views/drilling/input/drilling_input.jsp
@@ -237,8 +237,15 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe
건설사 미선정
-
-
+ `;
+ if (tableId > 1) {
+ newTable += `
+
+ |
+
`;
+ }
+
+ newTable += `
`;
@@ -653,7 +660,7 @@ if (request.getSession().getAttribute("CLS") == null || "2".equals(request.getSe
}
}
- const tableHtml = `
+ var tableHtml = `
`
;
document.getElementById("table-container").insertAdjacentHTML("beforeend", tableHtml);
if (document.getElementsByClassName('table-scrollable').length < 1) {addItem()} // 엑셀로 받아오기 중 실패할 경우 삭제한 빈 양식 원복
+ // 첫번째 요소는 삭제하지 않는다.
+ if (document.getElementsByClassName('table-scrollable').length < 2) {$('#table-container > div:first-child tr:last-child').remove()}
+ }
+
+ function removeRow(idx) {
+ $('div[data-index='+ idx +']').remove();
}