diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index 167fe0ff..157678e2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -2,12 +2,12 @@ <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
-
+
-
+
@@ -39,24 +39,23 @@
-
-
+
- - - +
+ +
-
+
@@ -73,10 +72,6 @@
-
- - -
@@ -93,15 +88,21 @@
차량명칭/차량색상은 입력항목이 아닙니다.
-
+
+ + +
+
+
+
-
+
-
+
- -
- -
- +
+
+
+
+
+
+ +
@@ -144,13 +148,33 @@
@@ -295,9 +302,21 @@ $(document).ready(function(){ * 초기화 **************************************************************************/ var clsForTask = $("#taskSeCd--${pageName}").val().toLowerCase(); - var content = document.getElementById("taskItem--${pageName}").content; - var taskItem = $(content).find("."+clsForTask); - $("#editByTask--${pageName}").html(taskItem); + + //업무별 입력 항목 + var editContent = document.getElementById("taskItem--${pageName}").content; + var taskItems = $(editContent).find("."+clsForTask); + var editSlotAreas = $("#frmEdit--${pageName}").find(".slot-edit"); + editSlotAreas.each(function(){ + var taskItem = taskItems.filter("[data-slot-index='"+this.dataset.slotIndex+"']"); + if(taskItem.length > 0){ + this.replaceWith(taskItem[0].cloneNode(true)); + } else { + this.classList.remove("pvs","bpv","dpv","eca"); + this.innerHTML = ""; + } + }); + initDatepicker("frmEdit--${pageName}"); //달력 초기화 @@ -333,5 +352,4 @@ $(document).ready(function(){ }); - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index 1c3eaf26..62f72a2f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -100,18 +100,19 @@
-
+
+