차적조회 실패 메시지 추가

main
이범준 1 year ago
parent 5407edcba7
commit 6693d7c9be

@ -483,8 +483,10 @@ $(document).ready(function(){
levy_stdde : crdnYmd levy_stdde : crdnYmd
}, },
success:resp => { success:resp => {
if(!resp.found){
if(resp.rtpyrId != null && resp.vehicle != null){ dialog.alert("차량 정보가 없습니다.");
return;
}
$("#rtpyrId--${pageName}").val(resp.rtpyrId); $("#rtpyrId--${pageName}").val(resp.rtpyrId);
@ -545,7 +547,7 @@ $(document).ready(function(){
//"use_strnghld_buld_main_no" : "16", //"use_strnghld_buld_main_no" : "16",
//"use_strnghld_buld_sub_no" : "2", //"use_strnghld_buld_sub_no" : "2",
}
} }
}); });

@ -910,7 +910,10 @@ $(document).ready(function(){
}, },
success:resp => { success:resp => {
if(resp.rtpyrId != null && resp.vehicle != null){ if(!resp.found){
dialog.alert("차량 정보가 없습니다.");
return;
}
$("#rtpyrId--${pageName}").val(resp.rtpyrId); $("#rtpyrId--${pageName}").val(resp.rtpyrId);
@ -971,7 +974,7 @@ $(document).ready(function(){
//"use_strnghld_buld_main_no" : "16", //"use_strnghld_buld_main_no" : "16",
//"use_strnghld_buld_sub_no" : "2", //"use_strnghld_buld_sub_no" : "2",
}
} }
}); });

Loading…
Cancel
Save