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.
267 lines
15 KiB
XML
267 lines
15 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="statMap" style="">
|
|
<w2:keyInfo>
|
|
<w2:key dataType="text" id="fareOfficeId" name="요금소코드"></w2:key>
|
|
<w2:key dataType="text" id="inStDate" name="통행일자(FROM)"></w2:key>
|
|
<w2:key dataType="text" id="inEdDate" name="통행일자(TO)"></w2:key>
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
|
|
<w2:columnInfo>
|
|
<w2:column id="inDate" name="통행일자" dataType="date"></w2:column>
|
|
|
|
<w2:column id="boothTotal" name="소계" dataType="number"></w2:column>
|
|
<w2:column id="booth01" name="1차" dataType="number"></w2:column>
|
|
<w2:column id="booth02" name="2차" dataType="number"></w2:column>
|
|
<w2:column id="booth03" name="3차" dataType="number"></w2:column>
|
|
<w2:column id="booth04" name="4차" dataType="number"></w2:column>
|
|
<w2:column id="booth05" name="5차" dataType="number"></w2:column>
|
|
<w2:column id="booth06" name="6차" dataType="number"></w2:column>
|
|
<w2:column id="booth07" name="7차" dataType="text"></w2:column>
|
|
<w2:column id="booth08" name="8차" dataType="number"></w2:column>
|
|
<w2:column id="booth09" name="9차" dataType="number"></w2:column>
|
|
<w2:column id="booth10" name="10차" dataType="number"></w2:column>
|
|
</w2:columnInfo>
|
|
</w2:dataList>
|
|
<w2:dataMap baseNode="map" id="reqRpt">
|
|
<w2:data></w2:data>
|
|
<w2:keyInfo>
|
|
<w2:key id="crfName" name="name1" dataType="text"></w2:key>
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
</w2:dataCollection>
|
|
<w2:workflowCollection></w2:workflowCollection>
|
|
<xf:submission id="sbm_statList" ref='data:json,{"id":"statMap","key":"param"}' target="data:json,statList" action="/cfs/income/findIncomeBoothStatList.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_inStDate.setValue( ymd );
|
|
ica_inEdDate.setValue( ymd );
|
|
btn_print.hide();
|
|
|
|
};
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
};
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
|
|
if (com.validateGroup(grp_search) === false) {
|
|
return false;
|
|
|
|
}else{
|
|
if(ica_inEdDate.getValue() < ica_inStDate.getValue()){
|
|
com.alert("시작 일자가 종료 일자보다 큽니다. 날짜 형식을 확인해 주세요.");
|
|
return;
|
|
}
|
|
com.executeSubmission(sbm_statList);
|
|
}
|
|
};
|
|
|
|
scwin.btn_print_onclick = function(e) {
|
|
var form_tag = document.getElementById("IC004M01");
|
|
|
|
form_tag.crfName.value = "IC004M01";
|
|
form_tag.inStDate.value = statMap.get("inStDate");
|
|
form_tag.inEdDate.value = statMap.get("inEdDate");
|
|
form_tag.fareOfficeId.value = statMap.get("fareOfficeId");
|
|
|
|
var url = "/ClipReport4/reportView.jsp";
|
|
|
|
form_tag.action=url;
|
|
form_tag.method ="post";
|
|
form_tag.target="clipform";
|
|
form_tag.submit();
|
|
};
|
|
|
|
|
|
scwin.btn_excel_onclick = function(e) {
|
|
//alert("엑셀다운로드");
|
|
if (statList.getRowCount() == 0) {
|
|
com.alert("엑셀다운로드할 정보가 없습니다.");
|
|
return;
|
|
}
|
|
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.useStyle = "true";
|
|
options.type = "1";
|
|
options.printSet = {
|
|
fitToPage : "true" //엑셀 프린터 출력시 쪽맞춤 사용 유무 (false:미사용)
|
|
, landScape : "true" //엑셀 프린터 출력시 가로 방향 출력 유무 (false:세로)
|
|
, pageSize : "A4" //엑셀 프린터 출력시 인쇄용지 설정 (A4:A4용지)
|
|
};
|
|
options.autoSizeColumn = "false"; //너비자동맞춤 설정 유무 (false:미적용)
|
|
|
|
grd_statList.advancedExcelDownload( options , info );
|
|
//com.fncMakeExcelProvider("incomeService", "findIncomeQuantityStatList", "cfs.income.vo.IncomeParamsVO", statMap, grd_statList, options, info);
|
|
};
|
|
]]></script>
|
|
</head>
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
<xf:group class="contentWrap" id="" style="">
|
|
<form id="IC004M01" method="post" action ="/ClipReport4/reportView.jsp">
|
|
<input type ="hidden" name="crfName"></input>
|
|
<input type ="hidden" name="inStDate"></input>
|
|
<input type ="hidden" name="inEdDate"></input>
|
|
<input type ="hidden" name="fareOfficeId"></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: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" direction="auto" disabled="false"
|
|
disabledClass="w2selectbox_disabled" displayMode="label" id="sbx_fareOfficeId" ref="data:statMap.fareOfficeId"
|
|
style="width: 120px;" submenuSize="auto" chooseOptionLabel="-전체-">
|
|
<xf:choices></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_inStDate" ref="data:statMap.inStDate" 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="yearMonthDate" class="" dateValidCheck="" focusOnDateSelect="false"
|
|
footerDiv="false" id="ica_inEdDate" ref="data:statMap.inEdDate" 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 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_onclick" id="btn_excel" 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: 54px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true">
|
|
<w2:caption style="" id="caption3" value="this is a grid caption."></w2:caption>
|
|
<w2:header style="" id="header4">
|
|
<w2:row style="" id="row8">
|
|
<w2:column width="70" id="column1" value="통행일자"></w2:column>
|
|
<w2:column width="70" id="column2" value="소계"></w2:column>
|
|
<w2:column width="70" id="column15" value="1차"></w2:column>
|
|
<w2:column width="70" id="column16" value="2차"></w2:column>
|
|
<w2:column width="70" id="column17" value="3차"></w2:column>
|
|
<w2:column width="70" id="column18" value="4차"></w2:column>
|
|
<w2:column width="70" id="column19" value="5차"></w2:column>
|
|
<w2:column width="70" id="column20" value="6차"></w2:column>
|
|
<w2:column width="70" id="column21" value="7차"></w2:column>
|
|
<w2:column width="70" id="column22" value="8차"></w2:column>
|
|
<w2:column width="70" id="column23" value="9차"></w2:column>
|
|
<w2:column width="70" id="column12" value="10차"></w2:column>
|
|
</w2:row>
|
|
</w2:header>
|
|
<w2:gBody style="" id="gBody4">
|
|
<w2:row style="" id="row9">
|
|
<w2:column dataType="date" width="70" id="inDate" customFormatter="com.fmtDateDtime" readOnly=""></w2:column>
|
|
<w2:column textAlign="right" dataType="number" width="70" displayFormat="#,##0" id="boothTotal"
|
|
inputType="expression"
|
|
expression="SUM('booth01','booth02','booth03','booth04','booth05','booth06','booth07','booth08','booth09','booth10')"
|
|
excelExpression="SUM('booth01','booth02','booth03','booth04','booth05','booth06','booth07','booth08','booth09','booth10')" readOnly="">
|
|
</w2:column>
|
|
<w2:column width="70" id="booth01" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth02" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth03" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth04" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth05" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth06" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth07" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth08" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column width="70" id="booth09" dataType="number" displayFormat="#,##0" textAlign="right" readOnly=""></w2:column>
|
|
<w2:column textAlign="right" dataType="number" width="70" displayFormat="#,##0" id="booth10" readOnly=""></w2:column>
|
|
</w2:row>
|
|
</w2:gBody>
|
|
<w2:footer style="" id="footer2">
|
|
<w2:row style="" id="row10">
|
|
<w2:column width="70" id="column25" value="합계"></w2:column>
|
|
<w2:column
|
|
expression="SUM('booth01')+SUM('booth02')+SUM('booth03')+SUM('booth04')+SUM('booth05')+SUM('booth06')+SUM('booth07')+SUM('booth08')+SUM('booth09')+SUM('booth10')"
|
|
textAlign="right" dataType="number" width="70" displayFormat="#,###" inputType="expression" id="column26">
|
|
</w2:column>
|
|
<w2:column width="70" id="column51" expression="SUM('booth01')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column52" expression="SUM('booth02')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column53" expression="SUM('booth03')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column54" expression="SUM('booth04')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column55" expression="SUM('booth05')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column56" expression="SUM('booth06')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column57" expression="SUM('booth07')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column58" expression="SUM('booth08')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column width="70" id="column59" expression="SUM('booth09')" dataType="number" displayFormat="#,###"
|
|
textAlign="right" inputType="expression">
|
|
</w2:column>
|
|
<w2:column expression="SUM('booth10')" textAlign="right" dataType="number" width="70" displayFormat="#,###"
|
|
inputType="expression" id="column36">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:footer>
|
|
</w2:gridView>
|
|
</xf:group>
|
|
</body>
|
|
</html>
|