diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java index 681d73e6..019edf81 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt02Controller.java @@ -377,7 +377,6 @@ public class Sprt02Controller extends ApplicationController { ModelAndView mav = new ModelAndView(json ? "jsonView" : "fims/sprt/sprt02050-info"); mav - .addObject("rtnScs", true) .addObject("pageName", "sprt02050") .addObject("pageNameMain", "sprt02010") .addObject("pageDataName1", "Rduct") // dataset1 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index 8a5208e2..fb995ae1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -355,7 +355,9 @@ ${pageName}Control.onCurrentChange = item => { if (!item) return; - ${pageName}Fields.set(item); // Dataset 셋팅 + ${pageName}Fields.set(item); + + let key = item.data.CRDN_ID; } // 단속 Dialog diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp index 58eab57a..a7a9aca6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp @@ -212,7 +212,8 @@ // 현재 선택 자료 변경 이벤트 ${pageName}Control.onCurrentChange = item => { - // Dataset 셋팅 + if (!item) return; + ${pageName}Fields.set(item); let key = item.data.OPNN_ID; @@ -241,7 +242,12 @@ url : wctx.url(params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do") , data : params || {} , success : resp => { - if (resp.rtnScs) { // 성공 + if ((typeof resp) != "string") { + if (resp.rtnMsg != "") { + dialog.alert(resp.rtnMsg); + } + return; + } else { dialog.open({ id : ${pageName}${pageDataName1}Control.prefixed("Dialog") , title : dialogTitle @@ -249,10 +255,6 @@ , size : "lg" , onClose : () => { refreshDataInfo${pageName}(); } // callback 자료 재조회 }); - } else { // 실패 - if (resp.rtnMsg != "") { - dialog.alert(resp.rtnMsg); - } } } }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp index 608e0b4c..da72ac7f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp @@ -294,7 +294,8 @@ }); ${pageName}Control.onCurrentChange = item => { - // Dataset 셋팅 + if (!item) return; + ${pageName}Fields.set(item); // 가상계좌번호