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.

422 lines
21 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:dataMap baseNode="map" id="paramMap" style="">
<w2:keyInfo>
<w2:key dataType="text" id="fareOfficeId" name="요금소"></w2:key>
<w2:key id="kbn" name="구분" dataType="text"></w2:key>
<w2:key dataType="date" id="passStDate" name="통행일자(FROM)"></w2:key>
<w2:key id="passEdDate" name="통행일자(TO)" dataType="date"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataList baseNode="list" repeatNode="map" id="overFareList" saveRemovedData="true">
<w2:columnInfo>
<w2:column id="kbn" name="구분" dataType="text"></w2:column>
<w2:column id="overfareKbn" name="과오납구분" dataType="text"></w2:column>
<w2:column id="checkPrint" name="출력" dataType="text"></w2:column>
<w2:column id="checkNotice" name="고지구분" dataType="text"></w2:column>
<w2:column id="workerId" name="작업자" dataType="text"></w2:column>
<w2:column id="fareOfficeId" name="요금소" dataType="text"></w2:column>
<w2:column id="boothId" 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="workSttTime" name="통행시간(시작)" dataType="text"></w2:column>
<w2:column id="workEndTime" name="통행시간(종료)" dataType="text"></w2:column>
<w2:column id="passDateTime" name="통행일시" dataType="text"></w2:column>
<w2:column id="overfareSeqno" name="과오납 일련번호" dataType="text"></w2:column>
<w2:column id="overfareAmount" name="과오납금" dataType="number"></w2:column>
<w2:column id="overfareTimes" name="과오납시간" dataType="text"></w2:column>
<w2:column id="remarks" name="비고" dataType="text"></w2:column>
<w2:column id="carNo" name="차량번호" dataType="text"></w2:column>
<w2:column id="residentDate" name="차량등록일자" dataType="text"></w2:column>
<w2:column id="owner" name="차량소유자" dataType="text"></w2:column>
<w2:column id="residentNo" name="주민(법인)번호" dataType="text"></w2:column>
<w2:column id="postNo" name="우편번호" dataType="text"></w2:column>
<w2:column id="address" name="주소" dataType="text"></w2:column>
</w2:columnInfo>
</w2:dataList>
<w2:dataMap baseNode="map" id="paramReport">
<w2:keyInfo>
<w2:key id="fareOfficeId" name="요금소" dataType="text"></w2:key>
<w2:key id="boothId" name="차로" dataType="text"></w2:key>
<w2:key id="passDate" name="통행일자" dataType="text"></w2:key>
<w2:key id="passTime" name="통행시간" dataType="text"></w2:key>
<w2:key id="carNo" name="차량번호" dataType="text"></w2:key>
<w2:key id="residentNo" name="주민(법인)번호" dataType="text"></w2:key>
<w2:key id="motionId" name="상태값" dataType="text"></w2:key>
<w2:key id="inStDate" name="시작일자" dataType="text"></w2:key>
<w2:key id="inEdDate" name="종료일자" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
</w2:dataCollection>
<w2:workflowCollection></w2:workflowCollection>
<xf:submission id="sbm_overFareList" ref='data:json,{"id":"paramMap","key":"param"}' target="data:json,overFareList" action="/cfs/income/findIncomeOverFareInfoList.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() {
//요금소(cfs01)
var sbxOptions = [{ code : "cfs01", compID : "sbx_fareOfficeId", option : sbx_fareOfficeId.getText() }];
com.setCfsCommonCode( sbxOptions );
//통행일자
var ymd = com.getToday();
ica_passStDate.setValue( ymd );
ica_passEdDate.setValue( ymd );
};
scwin.onpageunload = function() {
};
scwin.btn_search_onclick = function(e) {
//alert("조회");
if (com.validateGroup(grp_search) === false) {
return false;
}else{
if(ica_passEdDate.getValue() < ica_passStDate.getValue()){
com.alert("시작 일자가 종료 일자보다 큽니다. 날짜 형식을 확인해 주세요.");
return;
}
com.executeSubmission(sbm_overFareList);
}
};
scwin.btn_print_onclick = function(e) {
if (overFareList.getRowCount() == 0) {
com.alert("인쇄할 정보가 없습니다.");
return;
}
//alert("인쇄");
var totalCnt = grd_overFareList.getTotalRow();
if (totalCnt > 0) {
alert("레포트를 인쇄합니다. ("+totalCnt+"건)");
var form_tag = document.getElementById("IC025M01");
form_tag.fareOfficeId.value = paramMap.get("fareOfficeId");
form_tag.kbn.value = paramMap.get("kbn");
form_tag.passStDate.value = paramMap.get("passStDate");
form_tag.passEdDate.value = paramMap.get("passEdDate");
form_tag.crfName.value = "IC025M01_1";
var url = "/ClipReport4/reportView.jsp";
form_tag.action=url;
form_tag.method ="post";
form_tag.target="clipform";
form_tag.submit();
} else {
alert("인쇄할 정보가 없습니다.");
}
};
scwin.btn_excel_down_onclick = function(e) {
if (overFareList.getRowCount() == 0) {
com.alert("엑셀다운로드할 정보가 없습니다.");
return;
}
//alert("엑셀다운로드");
var info = {};
var options = {};
options.fileName = "과오납금 내역서 및 환불처리_"+com.getCurDtime()+".xlsx";
options.sheetName = "과오납금 내역서 및 환불처리";
options.showProcess = "true"; //다운로드 시 프로세스 창을 보여줄지 여부 (true:보임)
//options.showConfirm = "true"; //다운로드 확인창을 띄울지 여부 (false:미확인)
options.useFooter = "true"; //다운로드시 Footer를 출력 할지 여부 (true:포함)
//options.useSubTotal = "false"; //다운로드시 SubTotal을 출력 할지 여부 (false:미포함)
options.printSet = {
fitToPage : "true" //엑셀 프린터 출력시 쪽맞춤 사용 유무 (false:미사용)
, landScape : "true" //엑셀 프린터 출력시 가로 방향 출력 유무 (false:세로)
, pageSize : "A4" //엑셀 프린터 출력시 인쇄용지 설정 (A4:A4용지)
};
options.autoSizeColumn = "true"; //너비자동맞춤 설정 유무 (false:미적용)
options.useStyle = "true"; //화면의 그리드 스타일을 엑셀파일로 내려받음
options.useFooterData = "true"; //footer 값을 서식없이 그대로 올린다.
options.type = "1";
//com.gridDataDownLoad(grd_overFareList, options, info);
//com.fncMakeExcelProvider("incomeOverService", "findIncomeOverFareInfoList", "cfs.income.vo.IncomeParamsVO", paramMap, grd_overFareList, options, info);
grd_overFareList.advancedExcelDownload( options , info );
};
scwin.grd_overFareList_oncelldblclick = function(row,col) {
//alert("과오납정보 수정 - 목록 더블클릭");
var param = {};
param.overfareKbn = overFareList.getCellData( row , 'overfareKbn' );
param.workerId = overFareList.getCellData( row , 'workerId' );
param.fareOfficeId = overFareList.getCellData( row , 'fareOfficeId' );
param.boothId = overFareList.getCellData( row , 'boothId' );
param.year = overFareList.getCellData( row , 'year' );
param.month = overFareList.getCellData( row , 'month' );
param.day = overFareList.getCellData( row , 'day' );
param.workSttTime = overFareList.getCellData( row , 'workSttTime' );
param.workEndTime = overFareList.getCellData( row , 'workEndTime' );
param.overfareSeqno = overFareList.getCellData( row , 'overfareSeqno' );
param.residentNo = overFareList.getCellData( row , 'residentNo' );
param.carNo = overFareList.getCellData( row , 'carNo' );
var options = {};
options.id = "IncomeOverModifyPopup";
options.popupName = "과오납정보 수정";
options.modal = true;
options.resizable = false;
options.width = 700;
//com.openPopup(com.getFullPath("/ui/cfs/income/IC025P01.xml"), options, {data:param, callbackFn:"scwin.fnc_reload_effect"});
};
scwin.fnc_reload_effect = function(data) {
//저장 완료 후 목록 새로고침 효과
var rowIndex = grd_overFareList.getFocusedRowIndex();
overFareList.setCellData( rowIndex , "carNo" , data.carNo );
overFareList.setCellData( rowIndex , "remarks" , data.remarks );
overFareList.setCellData( rowIndex , "owner" , data.owner );
overFareList.setCellData( rowIndex , "residentNo" , data.residentNo );
overFareList.setCellData( rowIndex , "postNo" , data.postNo );
var address = "";
if (data.addressName) {
address += data.addressName;
if (data.addressNumber) {
address += " " + data.addressNumber;
}
} else {
if (data.addressNumber) {
address += data.addressNumber;
}
}
overFareList.setCellData( rowIndex , "address" , address );
};
scwin.btn_trigger1_onclick = function(e) {
scwin.fnc_setContactUs();
};
scwin.fnc_setContactUs = function() {
var row = grd_overFareList.getCheckedIndex( 0 );
if(row.length !=1){
alert("인쇄 작업은 한건만 진행할 수 있습니다.");
return false;
}
var motionId = overFareList.getCellData( row ,"checkNotice");
if(motionId =="" || motionId == null){
motionId = 0;
}
console.log(motionId);
var ymd = com.getToday();
var todate = new Date();
todate.setDate(todate.getDate()+15);
var toMonth = todate.getMonth()+1+"";
if(toMonth.length==1){
toMonth = "0"+toMonth;
}
var toDay = todate.getDate()+"";
if(toDay.length==1){
toDay = "0"+toDay;
}
var form_tag = document.getElementById("clipform");
form_tag.fareOfficeId.value = overFareList.getCellData( row ,"fareOfficeId");
form_tag.boothId.value = overFareList.getCellData( row ,"boothId");
form_tag.carNo.value = overFareList.getCellData( row ,"carNo");
form_tag.motionId.value = motionId;
form_tag.passDate.value = overFareList.getCellData( row ,"passDate");
form_tag.passTime.value = overFareList.getCellData( row ,"passTime");
form_tag.inStDate.value = ymd;
form_tag.inEdDate.value = todate.getFullYear()+toMonth+toDay;
form_tag.residentNo.value = overFareList.getCellData( row ,"residentNo");
form_tag.crfName.value = "IC025M01";
console.log(overFareList.getCellData( row ,"carNo"));
var url = "/ClipReport4/reportView.jsp";
form_tag.action=url;
form_tag.method ="post";
form_tag.target="clipform";
form_tag.submit();
};]]></script>
</head>
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
<form id="IC025M01" method="post" action ="/ClipReport4/reportView.jsp">
<input type ="hidden" name="crfName"></input>
<input type ="hidden" name="fareOfficeId"></input>
<input type ="hidden" name="kbn"></input>
<input type ="hidden" name="passStDate"></input>
<input type ="hidden" name="passEdDate"></input>
</form>
<xf:group class="contentWrap" id="" style="">
<w2:wframe id="" initScript="scwin.wfTitleFavInit();" src="/cm/common/wf_titleFav.xml" style=""></w2:wframe>
<xf:group class="tbl_search" id="grp_search" style="">
<xf:group adaptive="layout" adaptiveThreshold="700" class="w2tb tbl_sc" id="" 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:130.00px;" tagname="col"></xf:group>
<xf:group style="width:60.00px;" tagname="col"></xf:group>
<xf:group style="width:100.00px;" tagname="col"></xf:group><xf:group style="width:70.00px;" tagname="col"></xf:group>
<xf:group style="width:230.00px;" tagname="col"></xf:group>
<xf:group style="width:*;" tagname="col"></xf:group>
</xf:group>
<xf:group adaptive="" adaptiveThreshold="" style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">요금소</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:select1 allOption="" appearance="minimal" chooseOption="true" chooseOptionLabel="-전체-" direction="auto"
disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_fareOfficeId" ref="data:paramMap.fareOfficeId"
style="width: 120px;" submenuSize="auto">
</xf:select1>
</xf:group>
<xf:group class="w2tb_th" style="" tagname="th">구분</xf:group>
<xf:group class="w2tb_td" style="" tagname="td"><xf:select1 allOption="" appearance="minimal" chooseOption="" chooseOptionLabel="-전체-" direction="auto"
disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_kbn" ref="data:paramMap.kbn"
style="width: 90px;" submenuSize="auto">
<xf:choices>
<xf:item>
<xf:label><![CDATA[미환불]]></xf:label>
<xf:value><![CDATA[1]]></xf:value>
</xf:item>
<xf:item>
<xf:label><![CDATA[환불]]></xf:label>
<xf:value><![CDATA[2]]></xf:value>
</xf:item>
<xf:item>
<xf:label><![CDATA[시세입]]></xf:label>
<xf:value><![CDATA[3]]></xf:value>
</xf:item>
</xf:choices>
</xf:select1></xf:group>
<xf:group class="w2tb_th" style="" tagname="th">통행일자</xf:group>
<xf:group class="w2tb_td" style="" tagname="td"><w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
footerDiv="false" id="ica_passStDate" ref="data:paramMap.passStDate" renderDiv="true" renderType="component" style=""
weekStartsOn="0" validCheck="true" mandatory="true">
</w2:inputCalendar><w2:span id="spa_span1" label="~" style=""></w2:span><w2:inputCalendar calendarValueType="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
footerDiv="false" id="ica_passEdDate" ref="data:paramMap.passEdDate" renderDiv="true" renderType="component" style=""
weekStartsOn="0" validCheck="true" mandatory="true">
</w2:inputCalendar>
</xf:group>
<xf:group class="w2tb_td" style="" tagname="td">
<xf:group class="fr" id="">
<xf:trigger class="btn_sh" ev:onclick="scwin.btn_search_onclick" id="btn_search" style="" type="button">
<xf:label><![CDATA[조회]]></xf:label>
</xf:trigger>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
<xf:group class="defaultbox" id="" style="">
<w2:textbox class="df_tt" id="" label="과오납금 내역서" style="" tagname="h2"></w2:textbox>
<xf:group class="fr" id="" style="">
<xf:trigger class="btn_act print" id="btn_print" style="" type="button" ev:onclick="scwin.btn_print_onclick">
<xf:label><![CDATA[인쇄]]></xf:label>
</xf:trigger>
<xf:trigger class="btn_act exceldown" ev:onclick="scwin.btn_excel_down_onclick" id="btn_excel_down" style=""
type="button">
<xf:label><![CDATA[엑셀다운로드]]></xf:label>
</xf:trigger>
</xf:group>
</xf:group>
<w2:gridView autoFit="allColumn" autoFitMinWidth="1500" class="cm_grid" dataList="data:overFareList" fixedColumnWithHidden="true"
focusMode="row" id="grd_overFareList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
scrollByColumnAdaptive="false" style="height: 180px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"
rowNumVisible="true" rowNumHeaderValue="순번" ev:oncelldblclick="scwin.grd_overFareList_oncelldblclick" ev:oneditkeyup="" ev:oncolumnindexchange="">
<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
<w2:header style="" id="header1">
<w2:row style="" id="row3">
<w2:column removeBorderStyle="false" width="140" inputType="text" style="" id="column52" value="통행일시"
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column51" value="요금소"
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column50" value="차로"
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column49" value="차량번호"
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column48" value="과오납금"
blockSelect="false" displayMode="label" colSpan="" rowSpan="2" textAlign="" displayFormat="">
</w2:column>
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="column47"
value="과오납 발생사유" blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="570" inputType="text" style="" id="column46" value="환불대상자"
blockSelect="false" displayMode="label" colSpan="4" rowSpan="">
</w2:column>
</w2:row>
<w2:row style="" id="row1">
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column7" value="성명"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="130" inputType="text" style="" id="column5" value="주민(법인)번호"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column3" value="우편번호"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="300" inputType="text" style="" id="column1" 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="140" inputType="text" style="" id="passDateTime" value=""
blockSelect="false" displayMode="label" dataType="time" displayFormat="" displayFormatter="com.fmtDateDtime">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="fareOfficeId" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="boothId" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="carNo" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="overfareAmount" value=""
blockSelect="false" displayMode="label" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="remarks" value="" blockSelect="false"
displayMode="label" class="" textAlign="left">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="owner" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="130" inputType="text" style="" id="residentNo" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="postNo" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="300" inputType="text" style="" id="address" value="" blockSelect="false"
displayMode="label" textAlign="left">
</w2:column>
</w2:row>
</w2:gBody>
</w2:gridView>
</xf:group>
</body>
</html>