|
|
@ -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:1100px;" title="단속정보">
|
|
|
|
<div class="card" style="max-width:1100px;" title="단속정보">
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<input 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" value="${taskSeCd}" />
|
|
|
|
<input type="hidden" id="rtpyrId-${pageName}" name="rtpyrId" data-map="RTPYR_ID"/>
|
|
|
|
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" value="${sggCd}" />
|
|
|
|
|
|
|
|
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" value="${taskSeCd}" />
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<template class="pvs bpv">
|
|
|
@ -474,21 +476,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;
|
|
|
@ -497,24 +502,24 @@ $(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"); //건설기계
|
|
|
@ -523,11 +528,11 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//$("#--${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",
|
|
|
|