You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1491 lines
63 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms">
<head>
<w2:type>DEFAULT</w2:type>
<w2:buildDate/>
<xf:model>
<xf:instance>
<data xmlns="" />
</xf:instance>
<w2:dataCollection baseNode="map">
<w2:dataList baseNode="list" repeatNode="map" id="dc_result" saveRemovedData="true">
<w2:columnInfo>
<w2:column id="workerId" name="징수원ID" dataType="text"></w2:column>
<w2:column id="fareOfficeId" name="요금소 ID" dataType="text"></w2:column>
<w2:column id="fareOfficeNm" name="요금소" dataType="text"></w2:column>
<w2:column id="boothId" name="차로 ID" dataType="text"></w2:column>
<w2:column id="boothNm" name="차로" dataType="text"></w2:column>
<w2:column id="year" name="년" dataType="text"></w2:column>
<w2:column id="month" name="월" dataType="text"></w2:column>
<w2:column id="day" name="일" dataType="text"></w2:column>
<w2:column id="workDate" name="근무일자" dataType="text"></w2:column>
<w2:column id="workTimes" name="통행시간" dataType="text"></w2:column>
<w2:column id="seqNo" name="순번" dataType="text"></w2:column>
<w2:column id="carNo" name="차량번호" dataType="text"></w2:column>
<w2:column id="carTypeId" name="차량유형 ID" dataType="text"></w2:column>
<w2:column id="carsTypeNm" name="차량유형" dataType="text"></w2:column>
<w2:column id="levyAmount" name="금액" dataType="number"></w2:column>
<w2:column id="collectId" name="징수유형 ID" dataType="text"></w2:column>
<w2:column id="collectNm" name="징수유형" dataType="text"></w2:column>
<w2:column id="noteTransYn" name="수기여부" dataType="text"></w2:column>
<w2:column id="noteTransNm" name="수기여부" dataType="text"></w2:column>
<w2:column id="newDataYn" name="입력여부" dataType="text"></w2:column>
<w2:column id="repayKbn" name="환불구분" dataType="text"></w2:column>
<w2:column id="repayKbnNm" name="환불구분" dataType="text"></w2:column>
<w2:column id="readingId" name="판독여부ID" dataType="text"></w2:column>
<w2:column id="readingNm" name="판독여부" dataType="text"></w2:column>
<w2:column id="rfidKbn" name="RFID 구분" dataType="text"></w2:column>
<w2:column id="rfidKbnNm" name="RFID 구분" dataType="text"></w2:column>
<w2:column id="rfidTagOne" name="RFID TAG1" dataType="text"></w2:column>
<w2:column id="rfidTagTwo" name="RFID TAG2" dataType="text"></w2:column>
<w2:column id="prpKbn" name="사전등록 결제 여부" dataType="text"></w2:column>
<w2:column id="collectIdNew" name="결제상세" dataType="text"></w2:column>
<w2:column id="remarks" name="사유" dataType="text"></w2:column>
</w2:columnInfo>
</w2:dataList>
<w2:dataMap baseNode="map" id="search_cond">
<w2:keyInfo>
<w2:key id="fareOfficeId" name="요금소 ID" dataType="text"></w2:key>
<w2:key id="workerId" name="징수원 ID" dataType="text"></w2:key>
<w2:key id="boothId" name="차로 ID" dataType="text"></w2:key>
<w2:key id="workDate" name="근무일자" dataType="text"></w2:key>
<w2:key id="workSttTime" name="근무시작시간" dataType="text"></w2:key>
<w2:key id="workEndTime" name="근무종료시간" dataType="text"></w2:key>
<w2:key id="collectId" name="징수유형" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="otherSeqNo" name="중복방지번호" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="prpCode">
<w2:keyInfo>
<w2:key id="workerId" name="징수원Id" dataType="text"></w2:key>
<w2:key id="fareOfficeId" name="요금소ID" dataType="text"></w2:key>
<w2:key id="boothId" name="차로" dataType="text"></w2:key>
<w2:key id="year" name="년도" dataType="text"></w2:key>
<w2:key id="month" name="월" dataType="text"></w2:key>
<w2:key id="day" name="일" dataType="text"></w2:key>
<w2:key id="workTimes" name="시간" dataType="text"></w2:key>
<w2:key id="seqno" name="일련번호" dataType="text"></w2:key>
<w2:key id="collectIdNew" name="결제상세" dataType="text"></w2:key>
<w2:key id="repayCnt" name="재청구건수" dataType="text"></w2:key>
<w2:key id="collectId" name="징수유형" dataType="text"></w2:key>
<w2:key id="befCollectId" name="이전 징수유형" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="prpMstCheck">
<w2:keyInfo>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="workerId" name="징수원ID" dataType="text"></w2:key>
<w2:key id="fareOfficeId" name="요금소 ID" dataType="text"></w2:key>
<w2:key id="boothId" name="차로 ID" dataType="text"></w2:key>
<w2:key id="year" name="년" dataType="text"></w2:key>
<w2:key id="month" name="월" dataType="text"></w2:key>
<w2:key id="day" name="일" dataType="text"></w2:key>
<w2:key id="workTimes" name="통행시간" dataType="text"></w2:key>
<w2:key id="seqNo" name="순번" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="prpMstResult">
<w2:keyInfo>
<w2:key id="cnt" name="결과" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="resultRepay">
<w2:keyInfo>
<w2:key id="repayCnt" name="재청구건수" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="prpRepayCode">
<w2:keyInfo>
<w2:key id="workerId" name="징수원Id" dataType="text"></w2:key>
<w2:key id="fareOfficeId" name="요금소ID" dataType="text"></w2:key>
<w2:key id="boothId" name="차로" dataType="text"></w2:key>
<w2:key id="year" name="년도" dataType="text"></w2:key>
<w2:key id="month" name="월" dataType="text"></w2:key>
<w2:key id="day" name="일" dataType="text"></w2:key>
<w2:key id="workTimes" name="시간" dataType="text"></w2:key>
<w2:key id="seqno" name="일련번호" dataType="text"></w2:key>
<w2:key id="collectIdNew" name="결제상세" dataType="text"></w2:key>
<w2:key id="repayCnt" name="재청구건수" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="amount" name="금액" dataType="text"></w2:key>
<w2:key id="collectId" name="징수유형" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataList baseNode="list" repeatNode="map" id="rfidList" saveRemovedData="true">
<w2:columnInfo>
<w2:column id="rfidId" name="rfid구분ID" dataType="text"></w2:column>
<w2:column id="rfidNm" name="rfid구분명" dataType="text"></w2:column>
</w2:columnInfo>
</w2:dataList>
</w2:dataCollection>
<w2:workflowCollection></w2:workflowCollection>
<xf:submission id="sbm_searchList" ref='data:json,{"id":"search_cond","key":"param"}'
target='data:json,{"id":"dc_result","key":"result"}' action="/cfs/input/findWorkerFareTermModifyRefundList.do" method="post"
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="조회중입니다." ev:submit="" ev:submitdone="scwin.sbm_searchList_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_searchPrpCancel" ref='data:json,{"id":"prpCode","key":"param"}' target=""
action="/cfs/trsmrcv/callPreRegistPaymentCancle.do" method="post" mediatype="application/json" encoding="UTF-8" instance=""
replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="처리중입니다." ev:submit=""
ev:submitdone="scwin.sub_searchPrpCancel_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_mstCheck" ref='data:json,{"id":"prpMstCheck","key":"param"}'
target='data:json,{"id":"prpMstResult","key":"result"}' action="/cfs/input/findPrpMstCheck.do" method="post"
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="조회중입니다." ev:submit="" ev:submitdone="scwin.sub_mstCheck_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_repay" ref='data:json,{"id":"prpCode","key":"param"}'
target='data:json,{"id":"resultRepay","key":"result"}' action="/cfs/input/findPrprepayCnt.do" method="post"
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="" ev:submit="" ev:submitdone="scwin.sub_reapy_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_prpRepay" ref='data:json,{"id":"prpRepayCode","key":"param"}' target=""
action="/cfs/trsmrcv/callPreRegistPaymentRepay.do" method="post" mediatype="application/json" encoding="UTF-8" instance=""
replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="처리중입니다." ev:submit=""
ev:submitdone="scwin.sub_prpRepay_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_repay2" ref='data:json,{"id":"prpCode","key":"param"}'
target='data:json,{"id":"resultRepay","key":"result"}' action="/cfs/input/findPrprepayCnt.do" method="post"
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="" ev:submit="" ev:submitdone="scwin.sub_repay2_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_RfPrpUp" ref='data:json,{"id":"prpCode","key":"param"}' target=""
action="/cfs/input/updateWorkerFareRfTerminalPrp.do" method="post" mediatype="application/json" encoding="UTF-8" instance=""
replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submit=""
ev:submitdone="scwin.sub_RfPrpUp_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sbm_searchPrpNonList" ref='data:json,{"id":"search_cond","key":"param"}'
target='data:json,{"id":"dc_result","key":"result"}' action="/cfs/input/findWorkerFareTermPrpNonList.do" method="post"
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="" ev:submit="" ev:submitdone="" ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sub_rfid" ref="" target='data:json,{"id":"rfidList","key":"result"}' action="/cfs/input/fineRfidList.do"
method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler=""
mode="asynchronous" processMsg="" ev:submit="" ev:submitdone="" ev:submiterror="" abortTrigger="">
</xf:submission>
</xf:model>
<script type="text/javascript" lazy="false"><![CDATA[
scwin.onpageload = function() {
scwin.param = com.getParameter('data');
scwin.findWorkerInfo(); // 징수원명
search_cond.setJSON( scwin.param );
cond_boothNm.setValue(scwin.param.boothNm);
cond_workDate.setValue(scwin.param.workDate);
cond_workSttTime.setValue(scwin.param.workSttTime);
cond_workEndTime.setValue(scwin.param.workEndTime);
cond_fareOfficeId.setValue(scwin.param.fareOfficeId);
cond_workerId.setValue(scwin.param.workerId);
cond_boothId.setValue(scwin.param.boothId);
cond_otherSeqNo.setValue(scwin.param.otherSeqNo);
var close_btn = document.getElementById('mf_tac_layout_contents_002002000_body_WorkerSearchPopup_close');
close_btn.onclick = function(){
com.closePopup(com.getParameter("callbackFn"));
}
// 징수유형 코드정보 조회
scwin.findCollectCodeInfo();
if (scwin.param.incomeAdjustYn == '1') {
com.alert('수입금 정산 완료된 정보입니다. <br/>수정 및 환불 작업을 할 수 없습니다.', function() {
com.closePopup();
});
} else {
var sbxOptions = [{code : "cfs18", compID : "rfidKbn"}];
//com.setCfsCommonCode(sbxOptions);
$p.executeSubmission( sub_rfid );
}
};
scwin.onpageunload = function() {
com.closePopup(com.getParameter("callbackFn"));
};
scwin.findWorkerInfo = function() {
var object = new Object();
object.workerId = scwin.param.workerId;
object.workDate = scwin.param.workDate;
// 징수원명 조회
var ajaxOpt = {
action : '/cfs/input/findWorkerName.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
scwin.param.workerNm = data.responseJSON;
// 징수원명 셋팅
cond_workerNm.setValue(scwin.param.workerNm);
cond_workerNm.setDisabled(true);
}
};
$p.ajax( ajaxOpt );
};
scwin.findCollectCodeInfo = function() {
var object = new Object();
var ajaxOpt = {
action : '/cfs/input/findCollectCodeInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
cond_collectId.removeAll(true);
$.each(data.responseJSON, function(i, ele) {
if (!['20','50','52','54'].contains(ele.collectId)) {
// 카드, 쿠폰, 정액권, 경차 정액권제외
cond_collectId.addItem( ele.collectId , ele.collectNm , (i+1));
collectId.addItem( ele.collectId , ele.collectNm , (i+1));
}
});
}
};
$p.ajax( ajaxOpt );
};
//검색 버튼 클릭
scwin.btn_search_onclick = function(e) {
$p.executeSubmission( sbm_searchList );
};
scwin.grd_gridView1_onkeyup = function(e) {
if (e.keyCode == 38 || e.keyCode == 40) {
var rowIdx = grd_gridView1.getFocusedRowIndex();
var colIdx = grd_gridView1.getFocusedColumnIndex();
scwin.grd_gridView1_oncellclick(rowIdx, colIdx);
}
};
scwin.grd_gridView1_oncellclick = function(row,col) {
remark.setValue("");
carNo.setValue(dc_result.getCellData(row, 'carNo'));
carTypeNm.setValue(dc_result.getCellData(row, 'carsTypeNm'));
collectId.setValue(dc_result.getCellData(row, 'collectId'));
rfidKbn.setValue(dc_result.getCellData(row, 'rfidKbn'));
prpMstCheck.setJSON( dc_result.getRowJSON( row ) );
var rfidTag1Val = dc_result.getCellData(row, 'rfidTagOne')!=''?dc_result.getCellData(row, 'rfidTagOne'):'000000000000000000000000';
var rfidTag2Val = dc_result.getCellData(row, 'rfidTagTwo')!=''?dc_result.getCellData(row, 'rfidTagTwo'):'000000000000000000000000';
rfidTag1.setValue(rfidTag1Val);
rfidTag2.setValue(rfidTag2Val);
var collectIdVal = dc_result.getCellData(row, 'collectId');
var noteTransYn = dc_result.getCellData(row, 'noteTransYn');
var newDataYn = dc_result.getCellData(row, 'newDataYn');
var repayKbnVal = dc_result.getCellData(row, 'repayKbn');
var prpKbn = dc_result.getCellData(row, 'prpKbn');
var collectIdNew = dc_result.getCellData(row, 'collectIdNew');
var object = new Object();
object.workerId = dc_result.getCellData(row, 'workerId');
object.fareOfficeId = dc_result.getCellData(row, 'fareOfficeId');
object.boothId = dc_result.getCellData(row, 'boothId');
object.workDate = dc_result.getCellData(row, 'workDate');
object.workTimes = dc_result.getCellData(row, 'workTimes');
object.seqNo = dc_result.getCellData(row, 'seqNo');
object.collectIdNew = dc_result.getCellData(row, 'collectIdNew');
prpRepayCode.set( "carNo" , dc_result.getCellData(row, 'carNo') );
if((collectIdVal == '21' || collectIdVal == '23') &&
noteTransYn == '1' && newDataYn == '1' && prpKbn == '2'){
btn_prpcancel.setDisabled( false );
btn_mstCheck.setDisabled( true );
}else{
btn_mstCheck.setDisabled( false );
btn_prpcancel.setDisabled( true );
}
btn_prpNomal.setDisabled( true );
btn_prpKpay.setDisabled( true );
var pass_date = dc_result.getCellData(row, 'workDate');
prpCode.set( "workerId" , object.workerId );
prpCode.set( "fareOfficeId" , object.fareOfficeId );
prpCode.set( "boothId" , object.boothId );
prpCode.set( "year" , pass_date.substring(0,4) );
prpCode.set( "month" , pass_date.substring(4,6) );
prpCode.set( "day" , pass_date.substring(6,8) );
prpCode.set( "workTimes" , object.workTimes );
prpCode.set( "seqno" , object.seqNo );
prpCode.set( "collectIdNew" , object.collectIdNew );
scwin.repaysub2();
if (collectIdVal == '21' || collectIdVal == '22') {
// 일반 선/후불은 일반환불 및 전액환불 가능...
collectId.setDisabled(true);
if (repayKbnVal == '0') {
// 미 환불일경우
remark.setDisabled(false);
btn_retHalf.setDisabled(false);
btn_retAll.setDisabled(false);
btn_retCancel.setDisabled(true);
btn_save.setDisabled(true);
} else {
// 환불일경우 .. .환불 취소할수 있다.
remark.setDisabled(true);
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(true);
btn_retCancel.setDisabled(false);
btn_save.setDisabled(true);
}
if(collectIdNew == "61" || collectIdNew == "62" || collectIdNew == "63" || collectIdNew == "64" || collectIdNew == "65" || collectIdNew == "66"){
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(true);
}
} else if (collectIdVal == '23' || collectIdVal == '24') {
// 경차 선/후불은 전액환불만 가능
collectId.setDisabled(true);
if (repayKbnVal == '0') {
// 미 환불일경우
remark.setDisabled(false);
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(false);
btn_retCancel.setDisabled(true);
btn_save.setDisabled(true);
} else {
// 환불일경우 .. .환불 취소할수 있다.
remark.setDisabled(true);
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(true);
btn_retCancel.setDisabled(false);
btn_save.setDisabled(true);
}
if(collectIdNew == "61" || collectIdNew == "62" || collectIdNew == "63" || collectIdNew == "64" || collectIdNew == "65" || collectIdNew == "66"){
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(true);
}
} else {
collectId.setDisabled(false);
remark.setDisabled(false);
btn_retHalf.setDisabled(true);
btn_retAll.setDisabled(true);
btn_retCancel.setDisabled(true);
btn_save.setDisabled(false);
}
};
scwin.repaysub2 = function(e){
$p.executeSubmission(sub_repay2);
};
scwin.sub_repay2_submitdone = function(e) {
prpCode.set( "repayCnt" , resultRepay.get( "repayCnt" ) );
};
//환불 버튼 클릭
scwin.btn_retHalf_onclick = function(e) {
// 일부(반액) 환불처리
var rowIdx = grd_gridView1.getFocusedRowIndex();
var repayKbn = dc_result.getCellData(rowIdx, 'repayKbn');
if (repayKbn == '1' || repayKbn == '2') {
com.alert('이미 환불처리된 정보입니다. 전액환불하려면 "환불취소"를 한 후 "전액환불" 처리 하세요');
return;
}
// 환불처리 (반액)
scwin.createWorkerFareRepayInfo('1');
};
//전액 환불 버튼 클릭
scwin.btn_retAll_onclick = function(e) {
// 전액환불 처리
var rowIdx = grd_gridView1.getFocusedRowIndex();
var repayKbn = dc_result.getCellData(rowIdx, 'repayKbn');
if (repayKbn == '1' || repayKbn == '2') {
com.alert('이미 환불처리된 정보입니다. 반액환불하려면 "환불취소"를 한 후 "환불" 처리하세요.');
return;
}
scwin.createWorkerFareRepayInfo('2');
};
scwin.createWorkerFareRepayInfo = function(p_repayKbn) {
// 환불/전액환불 처리
var g_div = p_repayKbn == '1' ? '환불' : '전액환불';
com.confirm(g_div+'처리 하시겠습니까?', function(e) {
if (e) {
var rowIdx = grd_gridView1.getFocusedRowIndex();
if (remark.getValue() == '') {
com.alert('사유를 입력하세요', function() {
remark.focus();
});
return;
}
var object = new Object();
object.fareOfficeId = dc_result.getCellData(rowIdx, 'fareOfficeId');
object.workerId = dc_result.getCellData(rowIdx, 'workerId');
object.boothId = dc_result.getCellData(rowIdx, 'boothId');
object.year = dc_result.getCellData(rowIdx, 'year');
object.month = dc_result.getCellData(rowIdx, 'month');
object.day = dc_result.getCellData(rowIdx, 'day');
object.workDate = dc_result.getCellData(rowIdx, 'workDate');
object.workTimes = dc_result.getCellData(rowIdx, 'workTimes');
object.seqNo = dc_result.getCellData(rowIdx, 'seqNo');
object.workSttTime = scwin.param.workSttTime;
object.workEndTime = scwin.param.workEndTime;
object.remark = remark.getValue();
object.collectId = collectId.getValue();
object.repayKbn = p_repayKbn; // 1:환불(반액환불), 2:전액환불
var ajaxOpt = {
action : '/cfs/input/createWorkerFareRepayInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
com.alert(data.responseJSON.rsMsg.message, function() {
if (data.responseJSON.rsMsg.statusCode == 'S') {
$p.executeSubmission( sbm_searchList );
}
});
}
};
$p.ajax(ajaxOpt);
}
});
};
//환불취소버튼 클릭
scwin.btn_retCancel_onclick = function(e) {
// 환불취소
var rowIdx = grd_gridView1.getFocusedRowIndex();
var repayKbn = dc_result.getCellData(rowIdx, 'repayKbn');
if (repayKbn == '0') {
return;
}
com.confirm('환불 취소를 하시겠습니까?', function (e) {
if (e) {
var object = new Object();
object.fareOfficeId = dc_result.getCellData(rowIdx, 'fareOfficeId');
object.workerId = dc_result.getCellData(rowIdx, 'workerId');
object.boothId = dc_result.getCellData(rowIdx, 'boothId');
object.year = dc_result.getCellData(rowIdx, 'year');
object.month = dc_result.getCellData(rowIdx, 'month');
object.day = dc_result.getCellData(rowIdx, 'day');
object.workDate = dc_result.getCellData(rowIdx, 'workDate');
object.workTimes = dc_result.getCellData(rowIdx, 'workTimes');
object.seqNo = dc_result.getCellData(rowIdx, 'seqNo');
object.workSttTime = scwin.param.workSttTime;
object.workEndTime = scwin.param.workEndTime;
var ajaxOpt = {
action : '/cfs/input/updateWorkerFareRepayCancelInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
com.alert(data.responseJSON.rsMsg.message, function() {
if (data.responseJSON.rsMsg.statusCode == 'S') {
$p.executeSubmission( sbm_searchList );
}
});
}
};
$p.ajax(ajaxOpt);
}
});
};
//닫기 버튼 클릭
scwin.btn_close_onclick = function(e) {
com.closePopup(com.getParameter("callbackFn"));
};
//저장 버튼 클릭
scwin.btn_save_onclick = function(e) {
var rowIdx = grd_gridView1.getFocusedRowIndex();
var readingId = dc_result.getCellData(rowIdx, 'readingId');
var collectIdVal = dc_result.getCellData(rowIdx, 'collectId');
if ( collectId.getValue() == '' ) {
com.alert('징수유형을 선택하세요.', function() {
collectId.focus();
});
return;
}
// 징수유형을 현금, 경차현금, 면제, 미납, 쿠폰회수, 경차쿠폰회수 -> 카드로 변경할 수 없음.
if (['10','11','30','31','32','33','34','40','51','53'].contains(collectIdVal)) {
if (['21','22','23','24'].contains(collectId.getValue())) {
com.alert('카드로 수정할 수 없습니다.', function() {
collectId.focus();
});
return;
}
}
var object = new Object();
object.fareOfficeId = dc_result.getCellData(rowIdx, 'fareOfficeId');
object.workerId = dc_result.getCellData(rowIdx, 'workerId');
object.boothId = dc_result.getCellData(rowIdx, 'boothId');
object.year = dc_result.getCellData(rowIdx, 'year');
object.month = dc_result.getCellData(rowIdx, 'month');
object.day = dc_result.getCellData(rowIdx, 'day');
object.workDate = dc_result.getCellData(rowIdx, 'workDate');
object.workTimes = dc_result.getCellData(rowIdx, 'workTimes');
object.seqNo = dc_result.getCellData(rowIdx, 'seqNo');
if (collectIdVal == '51' || collectIdVal == '53') {
var ajaxOpt = {
action : '/cfs/input/countWorkerFareCollectCouponInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
if ( data.responseJSON > 0 ) {
com.confirm( '1개 이상의 회수쿠폰 번호가 등록된 정보 입니다.<br/>'
+ '다른 징수유형으로 변경 시 회수쿠폰번호가 등록정보가 삭제됩니다.<br/>'
+ '삭제처리 및 징수유형 변경작업을 계속 하시겠습니까?', function(e) {
if (e) {
// 회수쿠폰 삭제처리
scwin.deleteWorkerFareCollectCouponInfo(object);
}
});
}else{
//저장완료 처리
scwin.updateWorkerFareCollectTypeChange(object);
}
}
};
$p.ajax(ajaxOpt);
} else {
scwin.updateWorkerFareCollectTypeChange(object);
}
};
scwin.deleteWorkerFareCollectCouponInfo = function(object) {
// 회수쿠폰 삭제처리
var ajaxOpt = {
action : '/cfs/input/deleteWorkerFareCollectCouponInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(object)
, success : function(data) {
var statusCode = data.responseJSON.rsMsg.statusCode;
if (statusCode == 'S') {
// 징수유형 변경 처리
scwin.updateWorkerFareCollectTypeChange(object);
} else {
com.alert(data.responseJSON.rsMsg.message);
}
}
};
$p.ajax(ajaxOpt);
};
scwin.updateWorkerFareCollectTypeChange = function(object) {
// 징수유형 변경처리
var rowIdx = grd_gridView1.getFocusedRowIndex();
var collectIdVal = dc_result.getCellData(rowIdx, 'collectId');
var changeMoney = 0;
if (['30','31','32','33','34'].contains(collectId.getValue())) {
changeMoney = 0;
} else if (['51','53','40'].contains(collectId.getValue())) {
object.levyAmount = dc_result.getCellData(rowIdx, 'levyAmount');
} else {
var param = new Object();
param.workDate = object.workDate;
param.collectId = collectId.getValue();
var ajaxOpt = {
action : '/cfs/input/findMoneyFromFareInfo.do'
, mode : 'synchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(param)
, success : function(data) {
changeMoney = data.responseJSON;
object.levyAmount = changeMoney;
}
};
$p.ajax(ajaxOpt);
if (changeMoney == 0) {
com.alert('요금정보에 금액정보가 없습니다.');
return;
}
}
if (remark.getValue().trim() == '') {
com.alert('사유를 입력하세요', function() {
remark.focus();
});
return;
}
// 수정된정보가 있는지 비교체크
// AS-IS 시스템에서는 차량번호, 차종, 환불여부 등을 비교체크 하지만
// 목록에 조회된 값으로 조회하여 수정 후 저장 함으로 징수유형과 RFID 구분값 만을 비교체크 함.
var rfidKbnVal = dc_result.getCellData(rowIdx, 'rfidKbn');
if ( (collectIdVal == collectId.getValue()) && (rfidKbnVal == rfidKbn.getValue()) ) {
com.alert('수정된 정보가 없습니다.');
return;
}
////////////////////////////////////////////////////
// 20070103 kde rfid check
if ( ['01','03','04'].contains(rfidKbn.getValue()) ) {
// 요일제감면(01), 저공해화감면(03), 요일제+저공해화감면(04)
if (['30','31','32','33','34'].contains(collectId.getValue())) {
com.confirm('현재 RFID감면차량입니다. 면제로 수정하시겠습니까?', function(e) {
if (e) {
} else {
rfidKbn.setValue('99');
}
scwin.updateWorkerFareCollectTypeChange_ajax(object);
});
}else if (collectId.getValue() == '40') {
com.confirm('현재 RFID감면차량입니다. 미납으로 수정하시겠습니까?', function(e) {
if (e) {
} else {
rfidKbn.setValue('99');
}
scwin.updateWorkerFareCollectTypeChange_ajax(object);
});
}else if (['10','21','22','51'].contains(collectId.getValue())) {
com.alert('RFID감면차량입니다. 일반징수유형을 수정할 수 없습니다.');
check = false;
}else{
scwin.updateWorkerFareCollectTypeChange_ajax(object);
}
} else if (rfidKbn.getValue() == '02') {
if (collectId.getValue() != '30') {
com.alert('현재 RFID구분이 저공해면제입니다.<br/>면제이외의 징수유형으로 수정할 수 없습니다.<br/>수정을 원하시면 전산담당자에게 문의하세요');
return;
}
scwin.updateWorkerFareCollectTypeChange_ajax(object);
} else {
scwin.updateWorkerFareCollectTypeChange_ajax(object);
}
};
scwin.updateWorkerFareCollectTypeChange_ajax = function(object) {
var rowIdx = grd_gridView1.getFocusedRowIndex();
var collectIdVal = dc_result.getCellData(rowIdx, 'collectId');
var updateContents = '';
if (collectIdVal == collectId.getValue()) {
alert("동일한 징수유형으로 수정을 할 수 없습니다.");
return;
}
updateContents = '징수유형 : ' + dc_result.getCellData(rowIdx, 'collectNm') + '->' + collectId.getText();
var param = new Object();
param.fareOfficeId = object.fareOfficeId;
param.boothId = object.boothId;
param.year = object.year;
param.month = object.month;
param.day = object.day;
param.workTimes = object.workTimes;
param.seqNo = object.seqNo;
param.workDate = object.workDate;
param.workerId = object.workerId;
param.levyAmount = object.levyAmount;
param.collectId = collectId.getValue();
param.carNo = dc_result.getCellData(rowIdx, 'carNo');
param.carTypeId = dc_result.getCellData(rowIdx, 'carTypeId');
param.remark = remark.getValue();
param.rfidKbn = rfidKbn.getValue();
param.rfidTagOne = rfidTag1.getValue();
param.rfidTagTwo = rfidTag2.getValue();
param.befCollectId = collectIdVal;
param.updateContents = updateContents;
param.cardIssueId = '';
var ajaxOpt = {
action : '/cfs/input/updateWorkerFareCollectTypeChange.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(param)
, success : function(data) {
if(data.responseJSON.rsMsg.statusCode != 'S'){
com.alert(data.responseJSON.rsMsg.message);
return;
}
if(data.responseJSON.res != 0){
com.alert(data.responseJSON.rsMsg.message);
return;
}
scwin.createWorkerFareRfidNamsanTempInfo(param);
}
};
$p.ajax(ajaxOpt);
};
scwin.createWorkerFareRfidNamsanTempInfo = function(object) {
// 20070103 kde
// rfid_namsan_temp에 insert or update
var rowIdx = grd_gridView1.getFocusedRowIndex();
var collectIdVal = dc_result.getCellData(rowIdx, 'collectId');
var param1 = new Object();
param1.boothId = object.boothId;
param1.carNo = object.carNo;
param1.carTypeId = object.carTypeId;
param1.cardIssueId = object.cardIssueId;
param1.collectId = object.collectId;
param1.year = object.year;
param1.month = object.month;
param1.day = object.day;
param1.fareOfficeId = object.fareOfficeId;
param1.remark = object.remark;
param1.rfidKbn = object.rfidKbn;
param1.rfidTagOne = object.rfidTagOne;
param1.rfidTagTwo = object.rfidTagTwo;
param1.seqNo = object.seqNo;
param1.updateContents = object.updateContents;
param1.workDate = object.workDate;
param1.workTimes = object.workTimes;
param1.workerId = object.workerId;
var ajaxOpt = {
action : '/cfs/input/createWorkerFareRfidNamsanTempInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(param1)
, success : function(data) {
var statusCode = data.responseJSON.rsMsg.statusCode;
if (statusCode != 'S') {
com.alert(data.responseJSON.rsMsg.message);
return;
}
if ( collectIdVal == collectId.getValue() ) {
com.alert('동일한 징수유형으로 수정을 할 수 없습니다.');
return;
}
var bef_cash = 0, bef_free = 0, bef_minap = 0, bef_coupon = 0, bef_light_cash = 0, bef_light_coupon = 0;
var aft_cash = 0, aft_free = 0, aft_minap = 0, aft_coupon = 0, aft_light_cash = 0, aft_light_coupon = 0;
if (collectIdVal == '10') bef_cash++;
if (['30','31','32','33','34'].contains(collectIdVal)) bef_free++;
if (collectIdVal == '40') bef_minap++;
if (collectIdVal == '51') bef_coupon++;
if (collectIdVal == '11') bef_light_cash++;
if (collectIdVal == '53') bef_light_coupon++;
if (collectId.getValue() == '10') aft_cash++;
if (['30','31','32','33','34'].contains(collectId.getValue())) aft_free++;
if (collectId.getValue() == '40') aft_minap++;
if (collectId.getValue() == '51') aft_coupon++;
if (collectId.getValue() == '11') aft_light_cash++;
if (collectId.getValue() == '53') aft_light_coupon++;
var param = new Object();
param.workerId = object.workerId;
param.fareOfficeId = object.fareOfficeId;
param.boothId = object.boothId;
param.workDate = object.workDate;
param.year = object.year;
param.month = object.month;
param.day = object.day;
param.workSttTime = search_cond.get("workSttTime");
param.workEndTime = search_cond.get("workEndTime");
param.cashQty = aft_cash-bef_cash;
param.cashLightQty = aft_light_cash-bef_light_cash;
param.couponNomlQty = aft_coupon-bef_coupon;
param.couponLightQty = aft_light_coupon-bef_light_coupon;
param.exemptionQty = aft_free-bef_free;
param.noPayQty = aft_minap-bef_minap;
var ajaxOpt = {
action : '/cfs/input/updateWorkerFareAdjustFareRepayInfo.do'
, mode : 'asynchronous'
, mediatype : 'application/json'
, method: 'POST'
, requestData : $.toJSON(param)
, success : function(data) {
com.alert(data.responseJSON.rsMsg.message, function() {
$p.executeSubmission(sbm_searchList);
});
}
};
$p.ajax(ajaxOpt);
}
};
$p.ajax(ajaxOpt);
};
//사전 미납 조회 버튼 클릭시
scwin.btn_prpNonpay_onclick = function(e) {
$p.executeSubmission(sbm_searchPrpNonList)
};
//사전등록 여부 조회 버튼 클릭
scwin.btn_mstCheck_onclick = function(e) {
$p.executeSubmission(sub_mstCheck);
};
scwin.sub_mstCheck_submitdone = function(e) {
var mstCheck = prpMstResult.get("cnt");
if(mstCheck == "-1"){
com.alert("이미 결제 처리되었습니다.");
return;
}else if(mstCheck == "-2"){
com.alert("사전등록 면제지침건입니다. 청구하실 수 없습니다.");
return;
}
if(mstCheck == "0"){
alert("사전등록 건이 아닙니다.");
btn_prpNomal.setDisabled( true );
btn_prpKpay.setDisabled( true );
return;
}
var ExecollectCheck = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"collectId");
var ExecollectCheckNew = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"collectIdNew");
var ExecollectRemarks = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"remarks");
var ExecollectPrpKbn = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"prpKbn");
if(ExecollectCheck == '21' || ExecollectCheck == '23'){
com.alert("이미 선불로 결제 처리하였습니다.");
return;
}
if(ExecollectCheck != '10' && ExecollectCheck != '11' && ExecollectCheck != '22' && ExecollectCheck != '24' && ExecollectCheck != '40'){
if(ExecollectPrpKbn == '3'){
com.alert("면제지침 반송건입니다. 청구하실 수 없습니다.");
return;
} else {
com.alert("사전등록 건 입니다. 미납으로 변경후 사전등록 청구가 가능합니다.");
return;
}
return;
}
if(ExecollectCheckNew == '41'){
com.alert("사전등록 후납건입니다. 청구하실 수 없습니다.");
return;
}
if((ExecollectRemarks.indexOf("망오류") == '-1') && (ExecollectCheckNew == '68') ){
com.alert("사전등록 반송건입니다. 청구하실 수 없습니다.");
return;
}
com.alert("사전등록 건 입니다. 재청구 하실 수 있습니다.");
btn_prpNomal.setDisabled( false );
btn_prpKpay.setDisabled( false );
};
//사전 결제 취소 버튼 클릭
scwin.btn_prpcancel_onclick = function(e) {
prpCode.set("collectId","40");
$p.executeSubmission(sub_searchPrpCancel);
};
scwin.sub_searchPrpCancel_submitdone = function(e) {
var resultData = e.responseJSON;
if(resultData == null || resultData.result == null) {
alert("서버 통신 도중 오류가 발생하였습니다. 잠시후 다시 시도해주시기 바랍니다.");
return;
}
if(resultData.result != "SUCCESS") {
alert("사전등록 결제 취소에 실패하였습니다. 전산담당자에게 문의하세요");
return;
}
alert("정상 취소되었습니다.");
$p.executeSubmission( sbm_searchList );
};
//사전일반 수동청구 버튼 클릭시
scwin.btn_prpNomal_onclick = function(e) {
btn_prpNomal.setDisabled( true );
btn_prpKpay.setDisabled( true );
var ExecollectCheck = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"collectId");
prpCode.set("collectId","21");
prpCode.set( "collectIdNew" , "61" );
prpCode.set( "befCollectId" , ExecollectCheck);
scwin.repayCnt();
};
//사전경차 수동청구 버튼 클릭시
scwin.btn_prpKpay_onclick = function(e) {
btn_prpKpay.setDisabled( true );
btn_prpNomal.setDisabled( true );
var ExecollectCheck = dc_result.getCellData(grd_gridView1.getFocusedRowIndex(),"collectId");
prpCode.set("collectId","23");
prpCode.set( "collectIdNew" , "62" );
prpCode.set( "befCollectId" , ExecollectCheck);
scwin.repayCnt();
};
scwin.repayCnt = function(e){
var newCollect = prpCode.get( "collectIdNew" );
var newCollNm = "";
if(newCollect == "61"){
newCollNm = "일반(2000)";
}else{
newCollNm = "경차(1000)";
}
com.confirm(newCollNm+"재청구 하시겠습니까?", "scwin.repaysub");
}
scwin.repaysub = function(isReturnVal){
if(isReturnVal){
if('22' == prpCode.get( "befCollectId" ) || prpCode.get( "befCollectId" ) == '24'){
$p.executeSubmission(sub_RfPrpUp);
}else{
$p.executeSubmission(sub_repay);
}
}
};
scwin.sub_RfPrpUp_submitdone = function(e) {
$p.executeSubmission(sub_repay);
};
scwin.sub_reapy_submitdone = function(e) {
prpRepayCode.set( "workerId" , prpCode.get( "workerId" ) );
prpRepayCode.set( "fareOfficeId" , prpCode.get( "fareOfficeId" ) );
prpRepayCode.set( "boothId" , prpCode.get( "boothId" ) );
prpRepayCode.set( "year" , prpCode.get( "year" ) );
prpRepayCode.set( "month" , prpCode.get( "month" ) );
prpRepayCode.set( "day" , prpCode.get( "day" ) );
prpRepayCode.set( "workTimes" , prpCode.get( "workTimes" ) );
prpRepayCode.set( "seqno" , prpCode.get( "seqno" ) );
prpRepayCode.set( "collectIdNew" , prpCode.get( "collectIdNew" ) );
prpRepayCode.set( "collectId" , prpCode.get( "collectId" ) );
prpRepayCode.set( "repayCnt" , resultRepay.get( "repayCnt" ) );
if(prpCode.get( "collectIdNew" ) == "61"){
prpRepayCode.set( "amount" , "2000" );
}else{
prpRepayCode.set( "amount" , "1000" );
}
$p.executeSubmission(sub_prpRepay);
};
scwin.sub_prpRepay_submitdone = function(e) {
var resultData = e.responseJSON;
if(resultData == null || resultData.result == null){
com.alert("서버 통신 도중 오류가 발생하였습니다. 잠시후 다시 시도해주시기 바랍니다.");
return;
}
if(resultData.result != "SUCCESS"){
com.alert("수동청구 실패했습니다. 전산담당자에게 문의하세요");
return;
}
com.closePopup(com.getParameter("callbackFn"));
};
]]></script>
</head>
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
<xf:group class="contentWrap" id="" style="padding-top:10px; padding-bottom: 10px">
<xf:group class="tbl_search" id="grp_search" style="">
<xf:group adaptive="layout" adaptiveThreshold="700" class="w2tb tbl_sc" id="grp_searchPop" style="" tagname="table">
<w2:attributes>
<w2:summary></w2:summary>
</w2:attributes>
<xf:group tagname="colgroup">
<xf:group style="width:70.00px;" tagname="col"></xf:group>
<xf:group style="width:100px;" tagname="col"></xf:group>
<xf:group style="width:70px;" tagname="col"></xf:group>
<xf:group style="width:90px;" tagname="col"></xf:group>
<xf:group style="width:90px;" tagname="col"></xf:group>
<xf:group style="width:100px;" tagname="col"></xf:group>
<xf:group tagname="col" style="width:70px;"></xf:group>
<xf:group tagname="col" style="width:250px;"></xf:group>
<xf:group style="width:*;" tagname="col"></xf:group>
</xf:group>
<xf:group adaptive="" adaptiveThreshold="" style="" tagname="tr">
<xf:group class="w2tb_th tac" tagname="th">
징수원명
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
<xf:input adjustMaxLength="false" id="cond_fareOfficeId" ref="data:search_cond.fareOfficeId"
style="display: none;l">
</xf:input>
<xf:input adjustMaxLength="false" class="tac" id="cond_workerId" ref="data:search_cond.workerId"
style="display: none;">
</xf:input>
<xf:input adjustMaxLength="false" id="cond_workerNm" ref="" style="width:80px;background-color: #c1dbc1;"
class="tac" readOnly="true" disabled="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th tac" tagname="th">
차로
<w2:attributes></w2:attributes>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" class="" id="cond_boothId" ref="data:prpMstCheck.fareOfficeNm"
style="display: none;">
</xf:input>
<xf:input adjustMaxLength="false" id="cond_boothNm" ref="" style="width:80px;background-color: #c1dbc1;"
class="tac" readOnly="true" disabled="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th tac" tagname="th">
근무일자
<w2:attributes></w2:attributes>
</xf:group>
<xf:group class="w2tb_td" tagname="td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="cond_workDate" ref="data:search_cond.workDate"
style="width:80px;background-color: #c1dbc1;" class="tac" dataType="date" readOnly="true" disabled="true">
</xf:input>
</xf:group>
<xf:group tagname="th" class="w2tb_th tac">
근무시간
<w2:attributes></w2:attributes>
</xf:group>
<xf:group tagname="td" class="w2tb_td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" class="tac" dataType="time" displayFormat="HH:mm:ss" id="cond_workSttTime"
readOnly="true" style="width:75px;background-color: #c1dbc1;" ref="data:search_cond.workSttTime" disabled="true">
</xf:input>
<w2:span id="" label="~" style=""></w2:span>
<xf:input adjustMaxLength="false" class="tac" dataType="time" displayFormat="HH:mm:ss" id="cond_workEndTime"
readOnly="true" style="width:75px;background-color: #c1dbc1;" ref="data:search_cond.workEndTime" disabled="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_td" style="" tagname="td"></xf:group>
</xf:group>
<xf:group tagname="tr" style="">
<xf:group tagname="th" class="w2tb_th">
징수유형
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
</xf:group>
<xf:group tagname="td" class="w2tb_td">
<w2:attributes>
<w2:colspan>2</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:select1 id="cond_collectId" chooseOption="true" displayMode="label" style="width: 148px;height: 21px;"
submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled"
ref="data:search_cond.collectId" chooseOptionLabel="">
<xf:choices></xf:choices>
</xf:select1>
</xf:group>
<xf:group tagname="th" class="w2tb_th tac">
차량번호
<w2:attributes></w2:attributes>
</xf:group>
<xf:group tagname="th" class="w2tb_th tal">
<w2:attributes>
<w2:scope>row</w2:scope>
<w2:colspan>2</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:input adjustMaxLength="false" id="cond_otherSeqNo" ref="data:search_cond.otherSeqNo"
style="display: none;">
</xf:input>
<xf:input adjustMaxLength="false" id="cond_carNo" ref="data:search_cond.carNo" style="width: 100px;" allowChar="" maxlength="20" ignoreChar="! "></xf:input>
</xf:group>
<xf:group tagname="th" class="w2tb_th">
<w2:attributes>
<w2:scope>row</w2:scope>
<w2:colspan>3</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:trigger class="btn_cm" disabled="" ev:onclick="scwin.btn_prpNonpay_onclick" id="btn_prpNonpay" style="margin-right:10px;" type="button">
<xf:label><![CDATA[사전 미납 조회]]></xf:label>
</xf:trigger><xf:trigger class="btn_cm" disabled="true" ev:onclick="scwin.btn_mstCheck_onclick" id="btn_mstCheck"
style="margin-right:10px;" type="button">
<xf:label><![CDATA[사전등록 여부 조회]]></xf:label>
</xf:trigger>
<xf:trigger class="btn_cm" disabled="true"
ev:onclick="scwin.btn_prpNomal_onclick" id="btn_prpNomal"
style="margin-right:10px;" type="button">
<xf:label><![CDATA[사전일반 수동청구]]></xf:label>
</xf:trigger>
<xf:trigger class="btn_cm" disabled="true"
ev:onclick="scwin.btn_prpKpay_onclick" id="btn_prpKpay"
style="margin-right:10px;" type="button">
<xf:label><![CDATA[사전경차 수동청구]]></xf:label>
</xf:trigger>
<xf:trigger class="btn_cm" ev:onclick="scwin.btn_prpcancel_onclick" id="btn_prpcancel"
style="margin-right:10px;" type="button" disabled="true">
<xf:label><![CDATA[사전결제 취소]]></xf:label>
</xf:trigger>
<xf:trigger class="btn_sh" ev:onclick="scwin.btn_search_onclick" id="btn_search" style="margin-right:-5px;"
type="button">
<xf:label><![CDATA[검색]]></xf:label>
</xf:trigger>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
<w2:gridView autoFit="allColumn" autoFitMinWidth="" class="cm_grid" dataList="data:dc_result"
ev:oncellclick="scwin.grd_gridView1_oncellclick" ev:oncelldblclick="scwin.grd_gridView1_oncellclick" fixedColumnWithHidden="true"
focusMode="row" id="grd_gridView1" ignoreCellClick="false" ignoreToggleOnDisabled="false" readOnly="true" scrollByColumn="false"
scrollByColumnAdaptive="false" style="height: 300px;" summaryAuto="false" useShiftKey="true" visibleRowNum="10" rowNumVisible="true"
rowNumHeaderValue="순번" ev:onkeyup="scwin.grd_gridView1_onkeyup">
<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
<w2:header style="" id="header1">
<w2:row style="" id="row1">
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column49" value="징수원ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column47" value="요금소 ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column45" value="요금소"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column43" value="차로 ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column41" value="차로"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column39" value="년"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column37" value="월"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column35" value="일"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column33" value="근무일자"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="column31" value="통행시간"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column29" value="순번"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="column27" value="차량번호"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column25" value="차량유형 ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="column17" value="징수유형"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="column23" value="차종"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column21" value="금액"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column19" value="징수유형 ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="column15" value="수기"
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column13" value="입력여부"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column51" value="수기"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="column11" value="환불"
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column53" value="환불"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column9" value="판독여부ID"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column7" value="판독여부"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="120" inputType="text" style="" id="column5" value="RFID 구분"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="120" inputType="text" style="" id="column55" value="RFID 구분"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column3" value="RFID TAG1"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column1" value="RFID TAG2"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="150" inputType="text" style="" id="column101" value="사유"
blockSelect="false" displayMode="label">
</w2:column>
</w2:row>
</w2:header>
<w2:gBody style="" id="gBody1">
<w2:row style="" id="row2">
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="workerId" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="fareOfficeId" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="fareOfficeNm" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="boothId" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="boothNm" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="year" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="month" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="day" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="workDate" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="workTimes" value=""
blockSelect="false" displayMode="label" dataType="time" displayFormat="HH:mm:ss">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="seqNo" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="carNo" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="carTypeId" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="80" inputType="text" style="" id="collectNm" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="carsTypeNm" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="levyAmount" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="collectId" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="noteTransYn" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="newDataYn" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="noteTransNm" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="60" inputType="text" style="" id="repayKbn" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="repayKbnNm" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="readingId" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="readingNm" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="120" inputType="text" style="" id="rfidKbn" value="" blockSelect="false"
displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="120" inputType="text" style="" id="rfidKbnNm" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="rfidTagOne" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="rfidTagTwo" value=""
blockSelect="false" displayMode="label" hidden="true">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="remarks" value=""
blockSelect="false" displayMode="label">
</w2:column>
</w2:row>
</w2:gBody>
</w2:gridView>
<xf:group class="defaultbox" id="" style="table-layout:cell;vertical-align: bottom;">
<xf:group id="grp_group21" style="width:200px;float:left;"></xf:group>
<xf:group class="w2tb fl" id="" style="margin-left:0px;" tagname="table">
<w2:attributes>
<w2:summary></w2:summary>
</w2:attributes>
<xf:group tagname="caption"></xf:group>
<xf:group tagname="colgroup">
<xf:group style="width:150px;" tagname="col"></xf:group>
<xf:group style="width:270px;" tagname="col"></xf:group>
<xf:group style="width:150px;" tagname="col"></xf:group>
<xf:group style="width:250px;" tagname="col"></xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">
차량번호
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:input adjustMaxLength="false" id="carNo" style="width: 144px;background-color:#a8ccf0;" readOnly="true"
disabled="true">
</xf:input>
</xf:group>
<xf:group class="w2tb_th" tagname="th">
차종
<w2:attributes></w2:attributes>
</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:input adjustMaxLength="false" id="carTypeNm" style="width: 144px;background-color:#a8ccf0;" readOnly="true"
disabled="true">
</xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">
징수유형
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:select1 id="collectId" chooseOption="true" displayMode="label" style="width: 148px;height: 21px;"
submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled"
chooseOptionLabel="" ref="" visibleRowNum="8">
<xf:choices></xf:choices>
</xf:select1>
</xf:group>
<xf:group class="w2tb_th" tagname="th">사유(60자)<w2:attributes></w2:attributes></xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:textarea id="remark" style="width:100%;height: 50px;" maxlength="60"></xf:textarea>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="txt_blue tal" style="padding-left:10px;height:30px;table-layout: cell;vertical-align: bottom;"
tagname="th">
RFID&amp;nbsp;처리
<w2:attributes>
<w2:scope>row</w2:scope>
<w2:colspan>4</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<w2:textbox style="width:345px;height:23px;margin-left:100px;margin-top:-20px;" id="tbx_textbox1" label="※사전등록 결제취소는 당일거래만 통합정산사에서 &amp;nbsp;취소 가능&lt;br/&gt;"></w2:textbox>
</xf:group>
</xf:group>
<xf:group tagname="tr" style="">
<xf:group tagname="th" class="w2tb_th">
RFID구분
<w2:attributes>
<w2:scope>row</w2:scope>
</w2:attributes>
</xf:group>
<xf:group tagname="td" class="w2tb_td">
<w2:attributes></w2:attributes>
<xf:select1 id="rfidKbn" chooseOption="true" displayMode="label" style="width: 148px;height: 21px;"
submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled"
ref="" chooseOptionLabel=" ">
<xf:choices>
<xf:itemset nodeset="data:rfidList">
<xf:label ref="rfidNm"></xf:label>
<xf:value ref="rfidId"></xf:value>
</xf:itemset>
</xf:choices>
</xf:select1>
</xf:group>
<xf:group tagname="th" class="w2tb_th">
RFID&amp;nbsp;TAG
<w2:attributes></w2:attributes>
</xf:group>
<xf:group tagname="td" class="w2tb_td">
<w2:attributes></w2:attributes>
<xf:input adjustMaxLength="false" id="rfidTag1" style="width: 100%;background-color: #c1dbc1;" readOnly="true"
disabled="true">
</xf:input>
<xf:input adjustMaxLength="false" id="rfidTag2" style="width: 100%;margin-top:5px;background-color: #c1dbc1;"
readOnly="true" disabled="true">
</xf:input>
</xf:group>
</xf:group>
</xf:group>
<xf:group class="fr" id="grp_group1" style="width:85px;border:1px solie black;">
<xf:trigger type="button" style="width: 80px;height: 30px;" id="btn_retHalf" disabled="true"
ev:onclick="scwin.btn_retHalf_onclick">
<xf:label><![CDATA[환불]]></xf:label>
</xf:trigger>
<xf:trigger id="btn_retAll" style="width: 80px;height: 30px;margin-top:5px;" type="button" disabled="true"
ev:onclick="scwin.btn_retAll_onclick">
<xf:label><![CDATA[전액환불]]></xf:label>
</xf:trigger>
<xf:trigger id="btn_retCancel" style="width: 80px;height: 30px;margin-top:5px;" type="button" disabled="true"
ev:onclick="scwin.btn_retCancel_onclick">
<xf:label><![CDATA[환불취소]]></xf:label>
</xf:trigger>
<xf:trigger id="btn_save" style="width: 80px;height: 30px;margin-top:10px;" type="button" disabled="true"
ev:onclick="scwin.btn_save_onclick">
<xf:label><![CDATA[저장]]></xf:label>
</xf:trigger>
<xf:trigger id="btn_close" style="width: 80px;height: 30px;margin-top:5px;" type="button"
ev:onclick="scwin.btn_close_onclick">
<xf:label><![CDATA[닫기]]></xf:label>
</xf:trigger>
</xf:group>
</xf:group>
</xf:group>
</body>
</html>