|
|
@ -381,7 +381,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/photo-main.jsp" />
|
|
|
|
<jsp:include page="/WEB-INF/jsp/fims/photo-main.jsp" />
|
|
|
|
<div id="refreshEnd--${pageName}" class="parentGrid" hidden></div>
|
|
|
|
<div name="refreshEnd" class="parentGrid" hidden></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -467,9 +467,9 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
var sggCd = $("#sggCd--${pageName}").val();
|
|
|
|
var sggCd = $P.$find("sggCd").val();
|
|
|
|
var taskSeCd = $("#taskSeCd--${pageName}").val();
|
|
|
|
var taskSeCd = $P.$find("taskSeCd").val();
|
|
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
var params = {
|
|
|
|
"openerPageName" : "${pageName}",
|
|
|
|
"openerPageName" : "${pageName}",
|
|
|
@ -546,7 +546,7 @@ $(document).ready(function(){
|
|
|
|
dialog.close("levyExclDialog--${pageName}");
|
|
|
|
dialog.close("levyExclDialog--${pageName}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
var cursorKey = "";
|
|
|
|
var cursorKey = "";
|
|
|
|
|
|
|
|
|
|
|
@ -560,20 +560,20 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").attr("data-cursor-key", cursorKey);
|
|
|
|
$P.$find("refreshEnd").attr("data-cursor-key", cursorKey);
|
|
|
|
$P.provided.refreshList();
|
|
|
|
$P.provided.refreshList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnPrev = () => {
|
|
|
|
$P.fnPrev = () => {
|
|
|
|
var prevKey = $P.provided.getPrevKey($("#crdnId--${pageName}").val());
|
|
|
|
var prevKey = $P.provided.getPrevKey($P.$find("crdnId").val());
|
|
|
|
if(prevKey != ""){
|
|
|
|
if(prevKey != ""){
|
|
|
|
$P.fnGo(prevKey);
|
|
|
|
$P.fnGo(prevKey);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnNext = () => {
|
|
|
|
$P.fnNext = () => {
|
|
|
|
var nextKey = $P.provided.getNextKey($("#crdnId--${pageName}").val());
|
|
|
|
var nextKey = $P.provided.getNextKey($P.$find("crdnId").val());
|
|
|
|
if(nextKey != ""){
|
|
|
|
if(nextKey != ""){
|
|
|
|
$P.fnGo(nextKey);
|
|
|
|
$P.fnGo(nextKey);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -597,8 +597,8 @@ $(document).ready(function(){
|
|
|
|
//보안모드
|
|
|
|
//보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
var cs = $P.provided.getCountStatus($("#crdnId--${pageName}").val());
|
|
|
|
var cs = $P.provided.getCountStatus($P.$find("crdnId").val());
|
|
|
|
$("#countStauts--${pageName}").val(cs);
|
|
|
|
$P.$find("countStauts").val(cs);
|
|
|
|
$P.provided.selectRow(crdnId);
|
|
|
|
$P.provided.selectRow(crdnId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -613,7 +613,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnCopy = async() => {
|
|
|
|
$P.fnCopy = async() => {
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
if(await confirm2("현 자료의 복사본을 생성하시겠습니까?")){
|
|
|
|
if(await confirm2("현 자료의 복사본을 생성하시겠습니까?")){
|
|
|
|
|
|
|
|
|
|
|
@ -630,7 +630,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").attr("data-cursor-key", crdnId);
|
|
|
|
$P.$find("refreshEnd").attr("data-cursor-key", crdnId);
|
|
|
|
$P.provided.refreshList();
|
|
|
|
$P.provided.refreshList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -640,7 +640,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnOpenCvlcptOrgnl = () => {
|
|
|
|
$P.fnOpenCvlcptOrgnl = () => {
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
var dialogId = "cvlcptOrgnlDialog--${pageName}";
|
|
|
|
var dialogId = "cvlcptOrgnlDialog--${pageName}";
|
|
|
|
|
|
|
|
|
|
|
@ -662,7 +662,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnHold = () => {
|
|
|
|
$P.fnHold = () => {
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
$P.provided.holdRow(crdnId);
|
|
|
|
$P.provided.holdRow(crdnId);
|
|
|
|
|
|
|
|
|
|
|
@ -689,7 +689,7 @@ $(document).ready(function(){
|
|
|
|
$P.fnPopPayer = () => {
|
|
|
|
$P.fnPopPayer = () => {
|
|
|
|
var callPurpose = "";
|
|
|
|
var callPurpose = "";
|
|
|
|
var dialogTitle = "";
|
|
|
|
var dialogTitle = "";
|
|
|
|
if($("#rtpyrId--${pageName}").val() == null || $("#rtpyrId--${pageName}").val() == ""){
|
|
|
|
if($P.$find("rtpyrId").val() == null || $P.$find("rtpyrId").val() == ""){
|
|
|
|
callPurpose = "create";
|
|
|
|
callPurpose = "create";
|
|
|
|
dialogTitle = "납부자 등록";
|
|
|
|
dialogTitle = "납부자 등록";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -699,12 +699,12 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
var params = {
|
|
|
|
callPurpose : callPurpose,
|
|
|
|
callPurpose : callPurpose,
|
|
|
|
crdnId : $("#crdnId--${pageName}").val(), // 단속 ID
|
|
|
|
crdnId : $P.$find("crdnId").val(), // 단속 ID
|
|
|
|
sggCd : $("#sggCd--${pageName}").val(), // 시군구 코드
|
|
|
|
sggCd : $P.$find("sggCd").val(), // 시군구 코드
|
|
|
|
taskSeCd : $("#taskSeCd--${pageName}").val(), // 업무 구분 코드
|
|
|
|
taskSeCd : $P.$find("taskSeCd").val(), // 업무 구분 코드
|
|
|
|
rtpyrId : $("#rtpyrId--${pageName}").val(), // 납부자 ID
|
|
|
|
rtpyrId : $P.$find("rtpyrId").val(), // 납부자 ID
|
|
|
|
addrSn : $("#addrSn--${pageName}").val(), // 주소 일련번호
|
|
|
|
addrSn : $P.$find("addrSn").val(), // 주소 일련번호
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(), // 차량번호
|
|
|
|
vhrno : $P.$find("vhrno").val(), // 차량번호
|
|
|
|
rtpyrInptSeCd : "01", // 납부자 입력 구분 코드
|
|
|
|
rtpyrInptSeCd : "01", // 납부자 입력 구분 코드
|
|
|
|
delYn : "N"
|
|
|
|
delYn : "N"
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -729,9 +729,9 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
var params = {
|
|
|
|
callPurpose : "refresh",
|
|
|
|
callPurpose : "refresh",
|
|
|
|
crdnId : $("#crdnId--${pageName}").val(),
|
|
|
|
crdnId : $P.$find("crdnId").val(),
|
|
|
|
sggCd : $("#sggCd--${pageName}").val(),
|
|
|
|
sggCd : $P.$find("sggCd").val(),
|
|
|
|
taskSeCd : $("#taskSeCd--${pageName}").val(),
|
|
|
|
taskSeCd : $P.$find("taskSeCd").val(),
|
|
|
|
delYn : "N"
|
|
|
|
delYn : "N"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -743,23 +743,23 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
if (resp.crdnPayer) {
|
|
|
|
if (resp.crdnPayer) {
|
|
|
|
var payer = resp.crdnPayer;
|
|
|
|
var payer = resp.crdnPayer;
|
|
|
|
$("#rtpyrId--${pageName}").val(payer.RTPYR_ID).change();
|
|
|
|
$P.$find("rtpyrId").val(payer.RTPYR_ID).change();
|
|
|
|
$("#addrSn--${pageName}").val(payer.ADDR_SN).change();
|
|
|
|
$P.$find("addrSn").val(payer.ADDR_SN).change();
|
|
|
|
$("#rtpyrNm--${pageName}").val(payer.RTPYR_NM).change();
|
|
|
|
$P.$find("rtpyrNm").val(payer.RTPYR_NM).change();
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(payer.RTPYR_SE_CD).change();
|
|
|
|
$P.$find("rtpyrSeCd").val(payer.RTPYR_SE_CD).change();
|
|
|
|
$("#rtpyrNo--${pageName}").val(payer.RTPYR_NO).change();
|
|
|
|
$P.$find("rtpyrNo").val(payer.RTPYR_NO).change();
|
|
|
|
$("#zip--${pageName}").val(payer.ZIP).change();
|
|
|
|
$P.$find("zip").val(payer.ZIP).change();
|
|
|
|
$("#addr--${pageName}").val(payer.ADDR).change();
|
|
|
|
$P.$find("addr").val(payer.ADDR).change();
|
|
|
|
$("#dtlAddr--${pageName}").val(payer.DTL_ADDR).change();
|
|
|
|
$P.$find("dtlAddr").val(payer.DTL_ADDR).change();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#rtpyrId--${pageName}").val("").change();
|
|
|
|
$P.$find("rtpyrId").val("").change();
|
|
|
|
$("#addrSn--${pageName}").val("").change();
|
|
|
|
$P.$find("addrSn").val("").change();
|
|
|
|
$("#rtpyrNm--${pageName}").val("").change();
|
|
|
|
$P.$find("rtpyrNm").val("").change();
|
|
|
|
$("#rtpyrSeCd--${pageName}").val("").change();
|
|
|
|
$P.$find("rtpyrSeCd").val("").change();
|
|
|
|
$("#rtpyrNo--${pageName}").val("").change();
|
|
|
|
$P.$find("rtpyrNo").val("").change();
|
|
|
|
$("#zip--${pageName}").val("").change();
|
|
|
|
$P.$find("zip").val("").change();
|
|
|
|
$("#addr--${pageName}").val("").change();
|
|
|
|
$P.$find("addr").val("").change();
|
|
|
|
$("#dtlAddr--${pageName}").val("").change();
|
|
|
|
$P.$find("dtlAddr").val("").change();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -767,7 +767,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnReset = () => {
|
|
|
|
$P.fnReset = () => {
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnGo(crdnId);
|
|
|
|
$P.fnGo(crdnId);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -815,7 +815,7 @@ $(document).ready(function(){
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
ajax.post({
|
|
|
|
url : $P.ctrl.urls.remove,
|
|
|
|
url : $P.ctrl.urls.remove,
|
|
|
@ -834,7 +834,7 @@ $(document).ready(function(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $P.$find("crdnId").val();
|
|
|
|
|
|
|
|
|
|
|
|
var cursorKey = "";
|
|
|
|
var cursorKey = "";
|
|
|
|
|
|
|
|
|
|
|
@ -848,7 +848,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").attr("data-cursor-key", cursorKey);
|
|
|
|
$P.$find("refreshEnd").attr("data-cursor-key", cursorKey);
|
|
|
|
$P.provided.refreshList();
|
|
|
|
$P.provided.refreshList();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -885,19 +885,19 @@ $(document).ready(function(){
|
|
|
|
//납부자 등록, 수정
|
|
|
|
//납부자 등록, 수정
|
|
|
|
$P.$find("btnPopPayer").on("click", () => $P.fnPopPayer());
|
|
|
|
$P.$find("btnPopPayer").on("click", () => $P.fnPopPayer());
|
|
|
|
|
|
|
|
|
|
|
|
$("#vhrno--${pageName}").onEnterPress(function(){
|
|
|
|
$P.$find("vhrno").onEnterPress(function(){
|
|
|
|
$P.getVehicleTotalInfo(event.target);
|
|
|
|
$P.getVehicleTotalInfo(event.target);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//차적조회(단속내역,민원상담내역,차적기본조회,장애인표지조회)
|
|
|
|
//차적조회(단속내역,민원상담내역,차적기본조회,장애인표지조회)
|
|
|
|
$P.getVehicleTotalInfo = async function(vhrnoEl){
|
|
|
|
$P.getVehicleTotalInfo = async function(vhrnoEl){
|
|
|
|
var otherWindow = false;
|
|
|
|
var otherWindow = false;
|
|
|
|
if(!vhrnoEl.id.endsWith("--${pageName}")){
|
|
|
|
if($(vhrnoEl).parents("[data-doctx='${pageName}']").length < 1){
|
|
|
|
otherWindow = true;
|
|
|
|
otherWindow = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var taskSeCd = "${taskSeCd}";
|
|
|
|
var taskSeCd = "${taskSeCd}";
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
var crdnYmd = $P.$find("crdnYmd").val().replaceAll("-", "");
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
|
|
|
|
|
|
|
|
|
if(crdnYmd == ""){
|
|
|
|
if(crdnYmd == ""){
|
|
|
@ -908,7 +908,7 @@ $(document).ready(function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onClose:function(){ $("#crdnYmd--${pageName}").focus(); }
|
|
|
|
onClose:function(){ $P.$find("crdnYmd").focus(); }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -936,7 +936,7 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var sggCd = $("#sggCd--${pageName}").val();
|
|
|
|
var sggCd = $P.$find("sggCd").val();
|
|
|
|
var resp = null;
|
|
|
|
var resp = null;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
@ -961,24 +961,24 @@ $(document).ready(function(){
|
|
|
|
resp = await getVhclInfo(sggCd, vhrno, crdnYmd);
|
|
|
|
resp = await getVhclInfo(sggCd, vhrno, crdnYmd);
|
|
|
|
|
|
|
|
|
|
|
|
if(otherWindow){
|
|
|
|
if(otherWindow){
|
|
|
|
$("#vhrno--${pageName}").val(vhrno);
|
|
|
|
$P.$find("vhrno").val(vhrno);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!resp.found){
|
|
|
|
if(!resp.found){
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrId--${pageName}").val("");
|
|
|
|
$P.$find("rtpyrId").val("");
|
|
|
|
$("#addrSn--${pageName}").val("");
|
|
|
|
$P.$find("addrSn").val("");
|
|
|
|
$("#rtpyrNm--${pageName}").val("");
|
|
|
|
$P.$find("rtpyrNm").val("");
|
|
|
|
$("#rtpyrSeCd--${pageName}").val("");
|
|
|
|
$P.$find("rtpyrSeCd").val("");
|
|
|
|
$("#rtpyrNo--${pageName}").val("");
|
|
|
|
$P.$find("rtpyrNo").val("");
|
|
|
|
$("#vin--${pageName}").val("");
|
|
|
|
$P.$find("vin").val("");
|
|
|
|
$("#vhclNm--${pageName}").val("");
|
|
|
|
$P.$find("vhclNm").val("");
|
|
|
|
$("#vhclColr--${pageName}").val("");
|
|
|
|
$P.$find("vhclColr").val("");
|
|
|
|
$("#useFuelCd--${pageName}").val("");
|
|
|
|
$P.$find("useFuelCd").val("");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("");
|
|
|
|
$("#zip--${pageName}").val("");
|
|
|
|
$P.$find("zip").val("");
|
|
|
|
$("#addr--${pageName}").val("");
|
|
|
|
$P.$find("addr").val("");
|
|
|
|
$("#dtlAddr--${pageName}").val("");
|
|
|
|
$P.$find("dtlAddr").val("");
|
|
|
|
|
|
|
|
|
|
|
|
if(!otherWindow){
|
|
|
|
if(!otherWindow){
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
@ -998,12 +998,12 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrId--${pageName}").val(resp.rtpyrId);
|
|
|
|
$P.$find("rtpyrId").val(resp.rtpyrId);
|
|
|
|
$("#addrSn--${pageName}").val(resp.addrSn);
|
|
|
|
$P.$find("addrSn").val(resp.addrSn);
|
|
|
|
|
|
|
|
|
|
|
|
var vehicle = resp.vehicle;
|
|
|
|
var vehicle = resp.vehicle;
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNm--${pageName}").val(vehicle.mber_nm);
|
|
|
|
$P.$find("rtpyrNm").val(vehicle.mber_nm);
|
|
|
|
|
|
|
|
|
|
|
|
var pyrSeCd = "";
|
|
|
|
var pyrSeCd = "";
|
|
|
|
switch(vehicle.mber_se_code){
|
|
|
|
switch(vehicle.mber_se_code){
|
|
|
@ -1013,51 +1013,51 @@ $(document).ready(function(){
|
|
|
|
case "14" : pyrSeCd = "04"; break;
|
|
|
|
case "14" : pyrSeCd = "04"; break;
|
|
|
|
case "15" : pyrSeCd = "05"; break;
|
|
|
|
case "15" : pyrSeCd = "05"; break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
|
|
|
|
$P.$find("rtpyrSeCd").val(pyrSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNo--${pageName}").val(vehicle.mber_se_no);
|
|
|
|
$P.$find("rtpyrNo").val(vehicle.mber_se_no);
|
|
|
|
|
|
|
|
|
|
|
|
$("#vin--${pageName}").val(vehicle.vin);
|
|
|
|
$P.$find("vin").val(vehicle.vin);
|
|
|
|
$("#vhclNm--${pageName}").val(vehicle.cnm);
|
|
|
|
$P.$find("vhclNm").val(vehicle.cnm);
|
|
|
|
$("#vhclColr--${pageName}").val(vehicle.color_nm);
|
|
|
|
$P.$find("vhclColr").val(vehicle.color_nm);
|
|
|
|
$("#useFuelCd--${pageName}").val(vehicle.use_fuel_code);
|
|
|
|
$P.$find("useFuelCd").val(vehicle.use_fuel_code);
|
|
|
|
|
|
|
|
|
|
|
|
if(vehicle.vhcty_asort_code == "1"){ //승용
|
|
|
|
if(vehicle.vhcty_asort_code == "1"){ //승용
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("11");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("11");
|
|
|
|
} else if(vehicle.vhcty_asort_code == "2"){ //승합
|
|
|
|
} else if(vehicle.vhcty_asort_code == "2"){ //승합
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("12");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("12");
|
|
|
|
} else if(vehicle.vhcty_asort_code == "3"){ //화물
|
|
|
|
} else if(vehicle.vhcty_asort_code == "3"){ //화물
|
|
|
|
if(vehicle.mxmm_ldg <= 4000){
|
|
|
|
if(vehicle.mxmm_ldg <= 4000){
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("13");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("13");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("14");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("14");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if(vehicle.vhcty_asort_code == "4"){ //특수
|
|
|
|
} else if(vehicle.vhcty_asort_code == "4"){ //특수
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("15");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("15");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("");
|
|
|
|
$P.$find("ffnlgCarmdlCd").val("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#zip--${pageName}").val(vehicle.zip_code); //우편번호
|
|
|
|
$P.$find("zip").val(vehicle.zip_code); //우편번호
|
|
|
|
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
|
|
|
|
$P.$find("addr").val(vehicle.road_nm_adres); //주소
|
|
|
|
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
$P.$find("dtlAddr").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
|
|
|
|
|
|
|
|
if(taskSeCd == "DPV"){
|
|
|
|
if(taskSeCd == "DPV"){
|
|
|
|
resp = await getVhclDisabledParkingInfo(vhrno);
|
|
|
|
resp = await getVhclDisabledParkingInfo(vhrno);
|
|
|
|
|
|
|
|
|
|
|
|
if(resp.parkingInfo.BOHUN_PARKING_PSBL_YN == "Y" || resp.parkingInfo.PARKING_PSBL_YN == "Y") {
|
|
|
|
if(resp.parkingInfo.BOHUN_PARKING_PSBL_YN == "Y" || resp.parkingInfo.PARKING_PSBL_YN == "Y") {
|
|
|
|
$("#prkPsbltyRsltCd--${pageName}").val("2");
|
|
|
|
$P.$find("prkPsbltyRsltCd").val("2");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#prkPsbltyRsltCd--${pageName}").val("1");
|
|
|
|
$P.$find("prkPsbltyRsltCd").val("1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(otherWindow){
|
|
|
|
if(otherWindow){
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(),
|
|
|
|
vhrno : $P.$find("vhrno").val(),
|
|
|
|
vhclNm : $("#vhclNm--${pageName}").val(),
|
|
|
|
vhclNm : $P.$find("vhclNm").val(),
|
|
|
|
vhclColr : $("#vhclColr--${pageName}").val()
|
|
|
|
vhclColr : $P.$find("vhclColr").val()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -1071,7 +1071,7 @@ $(document).ready(function(){
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
openType : "D",
|
|
|
|
openType : "D",
|
|
|
|
taskSeCd : "${taskSeCd}",
|
|
|
|
taskSeCd : "${taskSeCd}",
|
|
|
|
vhrno : $("#vhrno--${pageName}").val()
|
|
|
|
vhrno : $P.$find("vhrno").val()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function(resp) {
|
|
|
|
success: function(resp) {
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
@ -1084,7 +1084,7 @@ $(document).ready(function(){
|
|
|
|
$(document).find("div.modal").last().on('shown.bs.modal', function () {
|
|
|
|
$(document).find("div.modal").last().on('shown.bs.modal', function () {
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='schCrdnYmdFrom']").set("");
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='schCrdnYmdFrom']").set("");
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='schCrdnYmdTo']").set("");
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='schCrdnYmdTo']").set("");
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='vhrno']").set($("#vhrno--${pageName}").val());
|
|
|
|
$("#crdnListDialog--${pageName}").find("[name='vhrno']").set($P.$find("vhrno").val());
|
|
|
|
$("#crdnListDialog--${pageName}").find(".btn-search").eq(0).click();
|
|
|
|
$("#crdnListDialog--${pageName}").find(".btn-search").eq(0).click();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1101,7 +1101,7 @@ $(document).ready(function(){
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
openType : "D",
|
|
|
|
openType : "D",
|
|
|
|
taskSeCd : "${taskSeCd}",
|
|
|
|
taskSeCd : "${taskSeCd}",
|
|
|
|
vhrno : $("#vhrno--${pageName}").val()
|
|
|
|
vhrno : $P.$find("vhrno").val()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function(resp) {
|
|
|
|
success: function(resp) {
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
@ -1114,7 +1114,7 @@ $(document).ready(function(){
|
|
|
|
$(document).find("div.modal").last().on('shown.bs.modal', function () {
|
|
|
|
$(document).find("div.modal").last().on('shown.bs.modal', function () {
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schDscsnYmdFrom']").set("");
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schDscsnYmdFrom']").set("");
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schDscsnYmdTo']").set("");
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schDscsnYmdTo']").set("");
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schVhrno']").set($("#vhrno--${pageName}").val());
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find("[name='schVhrno']").set($P.$find("vhrno").val());
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find(".btn-search").eq(0).click();
|
|
|
|
$("#cvlcptDscsnListDialog--${pageName}").find(".btn-search").eq(0).click();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1126,17 +1126,17 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if("${taskSeCd}" == "DPV"){
|
|
|
|
if("${taskSeCd}" == "DPV"){
|
|
|
|
$("#vltnCd--${pageName}").on("change", function(){
|
|
|
|
$P.$find("vltnCd").on("change", function(){
|
|
|
|
if(this.value == "01"){
|
|
|
|
if(this.value == "01"){
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").show();
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").hide();
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").hide();
|
|
|
|
$("#dstrbncYn--${pageName}").prop("checked", false);
|
|
|
|
$P.$find("dstrbncYn").prop("checked", false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").on("refreshEnd", function(){
|
|
|
|
$P.$find("refreshEnd").on("refreshEnd", function(){
|
|
|
|
|
|
|
|
|
|
|
|
if(this.dataset.cursorKey == null || this.dataset.cursorKey == ""){
|
|
|
|
if(this.dataset.cursorKey == null || this.dataset.cursorKey == ""){
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
@ -1176,7 +1176,7 @@ $(document).ready(function(){
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
$P.ctrl.dataset.setData([crdnInfo]);
|
|
|
|
$P.ctrl.dataset.setData([crdnInfo]);
|
|
|
|
|
|
|
|
|
|
|
|
if($("#taskSeCd--${pageName}").val() == "DPV" && $("#vltnCd--${pageName}").val() == "01"){
|
|
|
|
if($P.$find("taskSeCd").val() == "DPV" && $P.$find("vltnCd").val() == "01"){
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").show();
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").show();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").hide();
|
|
|
|
$("label[for='dstrbncYn--${pageName}']").hide();
|
|
|
@ -1185,17 +1185,17 @@ $(document).ready(function(){
|
|
|
|
//보안모드
|
|
|
|
//보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
var cs = $P.provided.getCountStatus($("#crdnId--${pageName}").val());
|
|
|
|
var cs = $P.provided.getCountStatus($P.$find("crdnId").val());
|
|
|
|
$("#countStauts--${pageName}").val(cs);
|
|
|
|
$P.$find("countStauts").val(cs);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//사진영역 설정
|
|
|
|
//사진영역 설정
|
|
|
|
settingPhotoMain("${pageName}", "crdnId--${pageName}",
|
|
|
|
settingPhotoMain("${pageName}", "crdnId--${pageName}",
|
|
|
|
function(){
|
|
|
|
function(){
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(),
|
|
|
|
vhrno : $P.$find("vhrno").val(),
|
|
|
|
vhclNm : $("#vhclNm--${pageName}").val(),
|
|
|
|
vhclNm : $P.$find("vhclNm").val(),
|
|
|
|
vhclColr : $("#vhclColr--${pageName}").val()
|
|
|
|
vhclColr : $P.$find("vhclColr").val()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async function(vhrnoEl){
|
|
|
|
async function(vhrnoEl){
|
|
|
|