민원자료삭제 수정

main
이범준 11 months ago
parent 5a8ce54d8e
commit 8f531ceefb

@ -495,12 +495,19 @@ $(document).ready(function(){
if(rcptYmd != null){ if(rcptYmd != null){
var ds = $P.crdnControl.dataset.getDataset(); var ds = $P.crdnControl.dataset.getDataset();
var crdnIds = ds.filter(function(item){ var crdnIds = [];
var filtered = ds.filter(function(item){
if(item['CVLCPT_RCPT_YMD'] == rcptYmd && !$P.holdList.includes(item['CRDN_ID'])){ if(item['CVLCPT_RCPT_YMD'] == rcptYmd && !$P.holdList.includes(item['CRDN_ID'])){
return item["CRDN_ID"]; return true;
} else {
return false;
} }
}); });
for(var i=0; i < filtered.length; i++){
crdnIds.push(filtered[i].CRDN_ID);
}
$P.crdnControl.select(crdnIds,true); $P.crdnControl.select(crdnIds,true);
} else { } else {
var cur = $P.crdnControl.getCurrent(); var cur = $P.crdnControl.getCurrent();

Loading…
Cancel
Save