민원상세조회 화면 차적조회 수정

main
이범준 10 months ago
parent 6da8482a46
commit f8d3456a5b

@ -863,7 +863,7 @@ $(document).ready(function(){
//차적조회 //차적조회
$("#vhrno--${pageName}").onEnterPress(function(){ $("#vhrno--${pageName}").onEnterPress(async function(){
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", ""); var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
var vhrnoEl = event.target; var vhrnoEl = event.target;
@ -891,14 +891,7 @@ $(document).ready(function(){
return; return;
} }
json.post({ var resp = await getVhclInfo($("#sggCd--${pageName}").val(), vhrno, crdnYmd);
url: wctx.url("/payer/vehicle.do"),
data: {
sggCd : $("#sggCd--${pageName}").val(),
vhrno : vhrno,
levy_stdde : crdnYmd
},
success:resp => {
if(!resp.found){ if(!resp.found){
dialog.alert({ dialog.alert({
@ -966,8 +959,7 @@ $(document).ready(function(){
$("#zip--${pageName}").val(vehicle.zip_code); //우편번호 $("#zip--${pageName}").val(vehicle.zip_code); //우편번호
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소 $("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소 $("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
}
});
}); });

Loading…
Cancel
Save