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