|
|
@ -4,8 +4,10 @@
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="card" style="max-width:1000px;">
|
|
|
|
<div class="card" style="max-width:1000px;">
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<input id="crdnId--${pageName}" name="crdnId" type="hidden" data-map="CRDN_ID" />
|
|
|
|
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
<input id="taskSeCd--${pageName}" name="taskSeCd" type="hidden" data-map="TASK_SE_CD" />
|
|
|
|
<input type="hidden" id="rtpyrId-${pageName}" name="rtpyrId" data-map="RTPYR_ID" />
|
|
|
|
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
|
|
|
|
|
|
|
|
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row mt-4 justify-content-end mb-3">
|
|
|
|
<div class="row mt-4 justify-content-end mb-3">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
@ -855,21 +857,24 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
json.post({
|
|
|
|
json.post({
|
|
|
|
url: wctx.url("/api/lvis/basicInfo.do"),
|
|
|
|
url: wctx.url("/payer/vehicle.do"),
|
|
|
|
data: JSON.stringify({
|
|
|
|
data: {
|
|
|
|
|
|
|
|
sggCd : $("#sggCd--${pageName}").val(),
|
|
|
|
vhrno : vhrno,
|
|
|
|
vhrno : vhrno,
|
|
|
|
levy_stdde : crdnYmd
|
|
|
|
levy_stdde : crdnYmd
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
success:resp => {
|
|
|
|
success:resp => {
|
|
|
|
|
|
|
|
|
|
|
|
if(resp.basicInfo != null && resp.basicInfo.vhrno != null){
|
|
|
|
if(resp.rtpyrId != null && resp.vehicle != null){
|
|
|
|
|
|
|
|
|
|
|
|
var basicInfo = resp.basicInfo;
|
|
|
|
$("#rtpyrId--${pageName}").val(resp.rtpyrId);
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNm--${pageName}").val(basicInfo.mber_nm);
|
|
|
|
var vehicle = resp.vehicle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNm--${pageName}").val(vehicle.mber_nm);
|
|
|
|
|
|
|
|
|
|
|
|
var pyrSeCd = "";
|
|
|
|
var pyrSeCd = "";
|
|
|
|
switch(basicInfo.mber_se_code){
|
|
|
|
switch(vehicle.mber_se_code){
|
|
|
|
case "11" : pyrSeCd = "01"; break;
|
|
|
|
case "11" : pyrSeCd = "01"; break;
|
|
|
|
case "12" : pyrSeCd = "02"; break;
|
|
|
|
case "12" : pyrSeCd = "02"; break;
|
|
|
|
case "13" : pyrSeCd = "03"; break;
|
|
|
|
case "13" : pyrSeCd = "03"; break;
|
|
|
@ -878,38 +883,38 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNo--${pageName}").val(basicInfo.mber_se_no);
|
|
|
|
$("#rtpyrNo--${pageName}").val(vehicle.mber_se_no);
|
|
|
|
|
|
|
|
|
|
|
|
$("#vin--${pageName}").val(basicInfo.vin);
|
|
|
|
$("#vin--${pageName}").val(vehicle.vin);
|
|
|
|
$("#vhclNm--${pageName}").val(basicInfo.cnm);
|
|
|
|
$("#vhclNm--${pageName}").val(vehicle.cnm);
|
|
|
|
$("#vhclColor--${pageName}").val(basicInfo.color_nm);
|
|
|
|
$("#vhclColor--${pageName}").val(vehicle.color_nm);
|
|
|
|
$("#useFuelCd--${pageName}").val(basicInfo.use_fuel_code);
|
|
|
|
$("#useFuelCd--${pageName}").val(vehicle.use_fuel_code);
|
|
|
|
|
|
|
|
|
|
|
|
if(basicInfo.vhcty_asort_code == "1"){ //승용
|
|
|
|
if(vehicle.vhcty_asort_code == "1"){ //승용
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("11");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("11");
|
|
|
|
} else if(basicInfo.vhcty_asort_code == "2"){ //승합
|
|
|
|
} else if(vehicle.vhcty_asort_code == "2"){ //승합
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("12");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("12");
|
|
|
|
} else if(basicInfo.vhcty_asort_code == "3"){ //화물
|
|
|
|
} else if(vehicle.vhcty_asort_code == "3"){ //화물
|
|
|
|
if(basicInfo.vhcle_tot_wt <= 4000){
|
|
|
|
if(vehicle.vhcle_tot_wt <= 4000){
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("13");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("13");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("14");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("14");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if(basicInfo.vhcty_asort_code == "4"){ //특수
|
|
|
|
} else if(vehicle.vhcty_asort_code == "4"){ //특수
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("15");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("15");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
//$("#ffnlgCarmdlCd--${pageName}").val("21"); //건설기계
|
|
|
|
//$("#ffnlgCarmdlCd--${pageName}").val("21"); //건설기계
|
|
|
|
//$("#ffnlgCarmdlCd--${pageName}").val("31"); //이륜차
|
|
|
|
//$("#ffnlgCarmdlCd--${pageName}").val("31"); //이륜차
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//$("#--${pageName}").val(basicInfo.);
|
|
|
|
//$("#--${pageName}").val(vehicle.);
|
|
|
|
|
|
|
|
|
|
|
|
//$("#addr--${pageName}").val(basicInfo.); //주소
|
|
|
|
//$("#addr--${pageName}").val(vehicle.); //주소
|
|
|
|
//$("#dtlAddr--${pageName}").val(basicInfo.); //상세주소
|
|
|
|
//$("#dtlAddr--${pageName}").val(vehicle.); //상세주소
|
|
|
|
//$("#zip--${pageName}").val(basicInfo.); //우편번호
|
|
|
|
//$("#zip--${pageName}").val(vehicle.); //우편번호
|
|
|
|
|
|
|
|
|
|
|
|
//"use_strnghld_legaldong_code" : "4136010300",
|
|
|
|
//"use_strnghld_legaldong_code" : "4136010300",
|
|
|
|
//"use_strnghld_adstrd_code" : "4136053000",
|
|
|
|
//"use_strnghld_adstrd_code" : "4136053000",
|
|
|
|
//"use_strnghld_mntn" : "",
|
|
|
|
//"use_strnghld_mntn" : "",
|
|
|
@ -922,7 +927,7 @@ $(document).ready(function(){
|
|
|
|
//"use_strnghld_buld_sub_no" : "2",
|
|
|
|
//"use_strnghld_buld_sub_no" : "2",
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|