|
|
|
@ -326,7 +326,8 @@ pageObject.childReq.push({
|
|
|
|
|
getNextKey : function(){ return ""; },
|
|
|
|
|
getPrevKey : function(){ return ""; },
|
|
|
|
|
selectRow : function(){},
|
|
|
|
|
holdRow : function(){}
|
|
|
|
|
holdRow : function(){},
|
|
|
|
|
refreshList : function(){}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
@ -602,7 +603,9 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
|
"crdnId" : crdnId,
|
|
|
|
|
"levyExclSeCd" : levyExclSeCd
|
|
|
|
|
"levyExclSeCd" : levyExclSeCd,
|
|
|
|
|
"openerPageName" : "cvlc01020-info",
|
|
|
|
|
"callbackFuncName" : "pageObject['cvlc01020-info']['exclCallback']",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
@ -611,17 +614,44 @@ $(document).ready(function(){
|
|
|
|
|
success : resp => {
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "levyExcldialog--${pageName}",
|
|
|
|
|
id : "levyExcldialog",
|
|
|
|
|
title : "부과제외 정보",
|
|
|
|
|
content : resp,
|
|
|
|
|
size : "lg",
|
|
|
|
|
init : () => { },
|
|
|
|
|
onClose : () => { $P.fnGo(crdnId); } // callback
|
|
|
|
|
init : () => {},
|
|
|
|
|
onClose : () => {}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.exclCallback = function(saved){
|
|
|
|
|
if(saved){
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
var cursorKey = "";
|
|
|
|
|
|
|
|
|
|
var nextKey = $P.provided.getNextKey(crdnId);
|
|
|
|
|
if(nextKey != ""){
|
|
|
|
|
cursorKey = nextKey;
|
|
|
|
|
} else {
|
|
|
|
|
var prevKey = $P.provided.getPrevKey(crdnId);
|
|
|
|
|
if(prevKey != ""){
|
|
|
|
|
cursorKey = prevKey;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.provided.refreshList();
|
|
|
|
|
|
|
|
|
|
if(cursorKey != ""){
|
|
|
|
|
$P.fnGo(cursorKey);
|
|
|
|
|
} else {
|
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.fnPrev = () => {
|
|
|
|
|
var prevKey = $P.provided.getPrevKey($("#crdnId--${pageName}").val());
|
|
|
|
|
if(prevKey != ""){
|
|
|
|
|