main
jjh 11 months ago
parent 11c68e53c5
commit bc05fe3ec5

@ -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

@ -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

@ -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);
}
}
}
});

@ -294,7 +294,8 @@
});
${pageName}Control.onCurrentChange = item => {
// Dataset 셋팅
if (!item) return;
${pageName}Fields.set(item);
// 가상계좌번호

Loading…
Cancel
Save