|
|
|
|
@ -560,14 +560,13 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
$P.fnDisplay();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$P.$findn("vhrno").onEnterPress(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let getPayerInfo = () => {
|
|
|
|
|
var crdnYmd = $P.$findn("crdnYmd").val().replaceAll("-", "");
|
|
|
|
|
var vhrnoEl = event.target;
|
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
|
|
if(crdnYmd == ""){
|
|
|
|
|
dialog.alert({
|
|
|
|
|
if(!crdnYmd)
|
|
|
|
|
return dialog.alert({
|
|
|
|
|
content : "단속일자를 입력하세요.",
|
|
|
|
|
init : function(){
|
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
|
@ -576,10 +575,8 @@ $(document).ready(function(){
|
|
|
|
|
onClose : function(){ $P.$findn("crdnYmd").focus(); }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(vhrno == ""){
|
|
|
|
|
dialog.alert({
|
|
|
|
|
if(!vhrno){
|
|
|
|
|
return dialog.alert({
|
|
|
|
|
content:"차량번호를 입력하세요.",
|
|
|
|
|
init : function(){
|
|
|
|
|
AppSupport.setDialogZindex();
|
|
|
|
|
@ -587,7 +584,6 @@ $(document).ready(function(){
|
|
|
|
|
},
|
|
|
|
|
onClose:function(){ $(vhrnoEl).focus(); }
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
json.post({
|
|
|
|
|
@ -606,19 +602,9 @@ $(document).ready(function(){
|
|
|
|
|
AppSupport.focusClose();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$P.$findn("rtpyrId").val("");
|
|
|
|
|
$P.$findn("addrSn").val("");
|
|
|
|
|
$P.$findn("rtpyrNm").val("");
|
|
|
|
|
$P.$findn("rtpyrSeCd").val("");
|
|
|
|
|
$P.$findn("rtpyrNo").val("");
|
|
|
|
|
$P.$findn("vin").val("");
|
|
|
|
|
$P.$findn("vhclNm").val("");
|
|
|
|
|
$P.$findn("vhclColr").val("");
|
|
|
|
|
$P.$findn("useFuelCd").val("");
|
|
|
|
|
$P.$findn("ffnlgCarmdlCd").val("");
|
|
|
|
|
$P.$findn("zip").val("");
|
|
|
|
|
$P.$findn("addr").val("");
|
|
|
|
|
$P.$findn("dtlAddr").val("");
|
|
|
|
|
|
|
|
|
|
["rtpyrId", "addrSn", "rtpyrNm", "rtpyrSeCd", "rtpyrNo", "vin", "vhclNm", "vhclColr", "useFuelCd", "ffnlgCarmdlCd", "zip", "addr", "dtlAddr"]
|
|
|
|
|
.forEach(name => $P.$findn(name).val(""))
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -667,8 +653,12 @@ $(document).ready(function(){
|
|
|
|
|
$P.$findn("dtlAddr").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
let input = $P.$findn("vhrno");
|
|
|
|
|
input.onEnterPress(getPayerInfo);
|
|
|
|
|
input.on("dblclick", getPayerInfo);
|
|
|
|
|
|
|
|
|
|
$P.$findn("teamId").on("change",function(){
|
|
|
|
|
$P.$findn("teamer1").val("");
|
|
|
|
|
|