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.

367 lines
20 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 id="fareOfficeId" name="요금소" dataType="text"></w2:key>
<w2:key id="dateKbn" name="구분" dataType="text"></w2:key>
<w2:key dataType="date" id="passStDate" name="통행일자(시작)"></w2:key>
<w2:key id="passEdDate" name="통행일자(종료)" dataType="date"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
<w2:columnInfo>
<w2:column id="year" name="년" dataType="text"></w2:column>
<w2:column id="month" name="월" dataType="text"></w2:column>
<w2:column id="rejectQ" name="반송 건수" dataType="number"></w2:column>
<w2:column id="rejectM" name="반송 금액" dataType="number"></w2:column>
<w2:column id="receiptQ" name="수납 건수" dataType="number"></w2:column>
<w2:column id="receiptM" name="수납 금액" dataType="number"></w2:column>
<w2:column id="receiptRate" name="수납율" dataType="number"></w2:column>
<w2:column id="nonReceiptQ" name="미수금 건수" dataType="number"></w2:column>
<w2:column id="nonReceiptM" name="미수금 금액" dataType="number"></w2:column>
<w2:column id="cityTaxesQ" name="시세입 건수" dataType="number"></w2:column>
<w2:column id="cityTaxesM" name="시세입 금액" dataType="number"></w2:column>
</w2:columnInfo>
</w2:dataList>
</w2:dataCollection>
<w2:workflowCollection></w2:workflowCollection>
<xf:submission id="sbm_statList" ref='data:json,{"id":"paramMap","key":"param"}' target="data:json,statList"
action="/cfs/income/findIncomeCardUseRejectPayStatList.do" method="post" mediatype="application/json" encoding="UTF-8"
instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="조회중입니다." ev:submit="" ev:submitdone="scwin.sbm_statList_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 );
//통행일자
ica_passStDate.setValue( com.getToday( "yyyyMM" ) );
ica_passEdDate.setValue( com.getToday( "yyyyMM" ) );
};
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_statList);
}
};
scwin.sbm_statList_submitdone = function(e) {
scwin.fncShowMoreHeader();
};
scwin.btn_print_onclick = function(e) {
//alert("인쇄");
var totalCnt = grd_statList.getTotalRow();
if (totalCnt > 0) {
alert("레포트를 인쇄합니다. ("+totalCnt+"건)");
var form_tag = document.getElementById("IC023M01");
form_tag.fareOfficeId.value = paramMap.get("fareOfficeId");
form_tag.dateKbn.value = paramMap.get("dateKbn");
form_tag.passStDate.value = paramMap.get("passStDate");
form_tag.passEdDate.value = paramMap.get("passEdDate");
form_tag.crfName.value = "IC023M01_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 (statList.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 = "true"; //다운로드시 SubTotal을 출력 할지 여부 (false:미포함)
options.printSet = {
fitToPage : "true" //엑셀 프린터 출력시 쪽맞춤 사용 유무 (false:미사용)
, landScape : "true" //엑셀 프린터 출력시 가로 방향 출력 유무 (false:세로)
, pageSize : "A4" //엑셀 프린터 출력시 인쇄용지 설정 (A4:A4용지)
};
options.autoSizeColumn = "false"; //너비자동맞춤 설정 유무 (false:미적용)
options.useStyle = "true"; //화면의 그리드 스타일을 엑셀파일로 내려받음
options.useFooterData = "true"; //footer 값을 서식없이 그대로 올린다.
//options.rowNumVisible = "true";
options.type = "2";
//com.fncMakeExcelProvider("incomeCardService", "findIncomeCardUseRejectPayStatList", "cfs.income.vo.IncomeParamsVO", paramMap, grd_statList, options, info);
grd_statList.advancedExcelDownload( options , info );
};
scwin.rad_kbn_onchange = function() {
var dateKbn = rad_dateKbn.getValue();
if (dateKbn == '1') {
//월별
ica_passStDate.setCalendarValueType( "yearMonth" );
ica_passEdDate.setCalendarValueType( "yearMonth" );
ica_passStDate.setValue( com.getToday( "yyyyMM" ) );
ica_passEdDate.setValue( com.getToday( "yyyyMM" ) );
} else if (dateKbn == '2') {
//년별
ica_passStDate.setCalendarValueType( "year" );
ica_passEdDate.setCalendarValueType( "year" );
ica_passStDate.setValue( com.getToday( "yyyy" ) );
ica_passEdDate.setValue( com.getToday( "yyyy" ) );
}
};
scwin.fncShowMoreHeader = function() {
var dateKbn = rad_dateKbn.getValue();
if (dateKbn == '1') {
grd_statList.setColumnVisible( 'month' , true );
} else if (dateKbn == '2') {
grd_statList.setColumnVisible( 'month' , false );
}
};
]]></script>
</head>
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
<xf:group class="contentWrap" id="" style="">
<form id="IC023M01" method="post" action ="/ClipReport4/reportView.jsp">
<input type ="hidden" name="crfName"></input>
<input type ="hidden" name="fareOfficeId"></input>
<input type ="hidden" name="datekbn"></input>
<input type ="hidden" name="passStDate"></input>
<input type ="hidden" name="passEdDate"></input>
</form>
<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:70px;" tagname="col"></xf:group>
<xf:group style="width:130px;" tagname="col"></xf:group>
<xf:group style="width:120px;" tagname="col"></xf:group>
<xf:group style="width:70px;" tagname="col"></xf:group>
<xf:group style="width:230px;" 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:choices></xf:choices>
</xf:select1></xf:group>
<xf:group class="w2tb_td" style="" tagname="td"><xf:select1 appearance="full" cols="" ev:onchange="scwin.rad_kbn_onchange" id="rad_dateKbn"
ref="data:paramMap.dateKbn" renderType="table" rows="1" selectedIndex="0" style="">
<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: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="yearMonth" class="" dateValidCheck="" focusOnDateSelect="false"
footerDiv="false" id="ica_passStDate" ref="data:paramMap.passStDate" renderDiv="true" renderType="component" style=""
weekStartsOn="0" mandatory="true" validCheck="true">
</w2:inputCalendar><w2:span id="spa_span1" label="~" style=""></w2:span><w2:inputCalendar calendarValueType="yearMonth" class="" dateValidCheck="" focusOnDateSelect="false"
footerDiv="false" id="ica_passEdDate" ref="data:paramMap.passEdDate" renderDiv="true" renderType="component" style=""
weekStartsOn="0" mandatory="true" validCheck="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 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="600" class="cm_grid" dataList="data:statList" fixedColumnWithHidden="true"
focusMode="row" id="grd_statList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
scrollByColumnAdaptive="false" style="height: 102px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"
ev:oncelldblclick="scwin.grd_statList_oncelldblclick" rowNumVisible="" rowStatusHeaderValue="" rowNumHeaderValue="">
<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
<w2:header style="" id="header1">
<w2:row style="" id="row4">
<w2:column removeBorderStyle="false" width="140" inputType="text" style="height:20px;" id="column44" value="구분"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:20px;" id="column42" value="반송"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:20px;" id="column40" value="수납"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="height:40px;" id="column38"
value="수납율&lt;br/&gt;(%)" blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:20px;" id="column37" value="미수금"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="height:20px;" id="column35" value="시세입"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
</w2:column>
</w2:row>
<w2:row style="" id="row1">
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column25" value="건수"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column22" value="금액"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column19" value="건수"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column16" value="금액"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column10" value="건수"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column7" value="금액"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column4" value="건수"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" 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="70" inputType="text" style="" id="year" value="" blockSelect="false"
displayMode="label" dataType="text" displayFormat="" calendarValueType="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="month" value="" blockSelect="false"
displayMode="label" dataType="text" displayFormat="" calendarValueType="" calendarClass="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="rejectQ" value="" blockSelect="false"
displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="rejectM" value="" blockSelect="false"
displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="receiptQ" value="" blockSelect="false"
displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="receiptM" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="receiptRate" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="##.0#" textAlign="" expression="SUM('receiptQ') / SUM('rejectQ') * 100" excelExpression="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="nonReceiptQ" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right" expression="SUM('rejectQ')-SUM('receiptQ')" excelExpression="">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="nonReceiptM" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right" expression="SUM('rejectM')-SUM('receiptM')" excelExpression="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="cityTaxesQ" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="cityTaxesM" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
</w2:row>
</w2:gBody>
<w2:footer style="" id="footer1">
<w2:row style="" id="row3">
<w2:column removeBorderStyle="false" width="140" inputType="text" style="" id="column30" value="전체"
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column27" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('rejectQ')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column24" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('rejectM')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column21" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('receiptQ')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column18" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('receiptM')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column15" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="###" expression="SUM('receiptQ') == 0 ? 0 : SUM('receiptQ') / SUM('rejectQ') * 100" textAlign="">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column12" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('nonReceiptQ')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column9" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('nonReceiptM')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="70" inputType="expression" style="" id="column6" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('cityTaxesQ')" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column3" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" expression="SUM('cityTaxesM')" textAlign="right">
</w2:column>
</w2:row>
</w2:footer>
</w2:gridView>
</xf:group>
</body>
</html>