|
|
|
@ -518,30 +518,30 @@
|
|
|
|
|
fnImageRefreshInfo = () => {
|
|
|
|
|
let crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
if (crdnId == null || crdnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "view"
|
|
|
|
|
, crdnId : crdnId
|
|
|
|
|
, delYn : "N"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/sprt/sprt02/020/info.do")
|
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
, data : params || {}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
if (resp.crdnPayer) {
|
|
|
|
|
${pageName}Control.setData([resp.crdnPayer]);
|
|
|
|
|
} else {
|
|
|
|
|
$("#frmEdit--${pageName}")[0].reset();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// // 단속 ID 가 없다면.. return
|
|
|
|
|
// if (crdnId == null || crdnId == "") {
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// let params = {
|
|
|
|
|
// callPurpose : "view"
|
|
|
|
|
// , crdnId : crdnId
|
|
|
|
|
// , delYn : "N"
|
|
|
|
|
// };
|
|
|
|
|
|
|
|
|
|
// ajax.get({
|
|
|
|
|
// url : wctx.url("/sprt/sprt02/020/info.do")
|
|
|
|
|
// , headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
// , data : params || {}
|
|
|
|
|
// , success : resp => {
|
|
|
|
|
// if (resp.crdnPayer) {
|
|
|
|
|
// ${pageName}Control.setData([resp.crdnPayer]);
|
|
|
|
|
// } else {
|
|
|
|
|
// $("#frmEdit--${pageName}")[0].reset();
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
// });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|