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.
261 lines
13 KiB
XML
261 lines
13 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 dataType="date" id="inStDate" name="통행일자(시작)"></w2:key>
|
|
<w2:key id="inEdDate" name="통행일자(종료)" dataType="date"></w2:key>
|
|
</w2:keyInfo>
|
|
</w2:dataMap>
|
|
<w2:dataList baseNode="list" repeatNode="map" id="fixList" saveRemovedData="true">
|
|
<w2:columnInfo>
|
|
<w2:column id="inDate" name="일자" dataType="date"></w2:column>
|
|
<w2:column id="sttSeqno" name="일련번호(시작)" dataType="text"></w2:column>
|
|
<w2:column id="endSeqno" name="일련번호(끝)" dataType="text"></w2:column>
|
|
<w2:column id="releaseDailyQ" name="차로불출 일계" dataType="number"></w2:column>
|
|
<w2:column id="releaseCumulativeQ" name="차로불출 누계" dataType="number"></w2:column>
|
|
<w2:column id="saleDailyQ" name="판매 일계" dataType="number"></w2:column>
|
|
<w2:column id="saleCumulativeQ" name="판매 누계" dataType="number"></w2:column>
|
|
<w2:column id="balanceQ" name="잔고" dataType="number"></w2:column>
|
|
</w2:columnInfo>
|
|
</w2:dataList>
|
|
</w2:dataCollection>
|
|
<w2:workflowCollection></w2:workflowCollection>
|
|
<xf:submission id="sbm_fixList" ref='data:json,{"id":"paramMap","key":"param"}' target="data:json,fixList" action="/cfs/income/findIncomeFixSaleStatList.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 );
|
|
};
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
};
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
//alert("조회");
|
|
|
|
if (com.validateGroup(grp_search) === false) {
|
|
return;
|
|
} else {
|
|
com.executeSubmission(sbm_fixList);
|
|
}
|
|
};
|
|
|
|
scwin.btn_print_onclick = function(e) {
|
|
//alert("인쇄");
|
|
|
|
var totalCnt = grd_fixList.getTotalRow();
|
|
if (totalCnt > 0) {
|
|
alert("레포트를 인쇄합니다. ("+totalCnt+"건)");
|
|
|
|
var form_tag = document.getElementById("IC033M01");
|
|
|
|
form_tag.fareOfficeId.value = paramMap.get("fareOfficeId");
|
|
form_tag.inStDate.value = paramMap.get("inStDate");
|
|
form_tag.inEdDate.value = paramMap.get("inEdDate");
|
|
|
|
form_tag.crfName.value = "IC033M01";
|
|
|
|
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) {
|
|
//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 = "false"; //너비자동맞춤 설정 유무 (false:미적용)
|
|
options.useStyle = "true"; //화면의 그리드 스타일을 엑셀파일로 내려받음
|
|
options.useFooterData = "true"; //footer 값을 서식없이 그대로 올린다.
|
|
//options.rowNumVisible = "true";
|
|
options.type = "1";
|
|
|
|
com.gridDataDownLoad(grd_fixList, options, info);
|
|
//com.fncMakeExcelProvider("incomeFixService", "findIncomeFixSaleStatList", "cfs.income.vo.IncomeParamsVO", paramMap, grd_fixList, options, info);
|
|
};
|
|
|
|
scwin.fncSeqno = function(data, formattedData, rowIndex, colIndex) {
|
|
var sttSeqno = fixList.getCellData( rowIndex , "sttSeqno" );
|
|
var endSeqno = fixList.getCellData( rowIndex , "endSeqno" );
|
|
|
|
var rtn = "";
|
|
if (sttSeqno != '' || endSeqno != '') {
|
|
rtn = sttSeqno + " ~ " + endSeqno;
|
|
}
|
|
return rtn;
|
|
};
|
|
]]></script>
|
|
</head>
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
<xf:group class="contentWrap" id="" style="">
|
|
<form id="IC033M01" method="post" action ="/ClipReport4/reportView.jsp">
|
|
<input type ="hidden" name="crfName"></input>
|
|
<input type ="hidden" name="fareOfficeId"></input>
|
|
<input type ="hidden" name="inStDate"></input>
|
|
<input type ="hidden" name="inEdDate"></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:100px;" 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_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:paramMap.inStDate" renderDiv="true" renderType="component" style=""
|
|
weekStartsOn="0">
|
|
</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:paramMap.inEdDate" renderDiv="true" renderType="component" style=""
|
|
weekStartsOn="0">
|
|
</w2:inputCalendar></xf:group>
|
|
<xf:group tagname="td" class="w2tb_td">
|
|
<w2:attributes></w2:attributes>
|
|
<w2:span id="span1" label="(단위 : 권)" style="margin-left: 10px;display: inline-table;"></w2:span>
|
|
</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="800" class="cm_grid" dataList="data:fixList" fixedColumnWithHidden="true"
|
|
focusMode="row" id="grd_fixList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
|
|
scrollByColumnAdaptive="false" style="height: 180px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true">
|
|
<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="100" inputType="text" style="" id="column21" value="일자"
|
|
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="column20" value="일련번호"
|
|
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column19" value="차로불출"
|
|
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column17" value="판매"
|
|
blockSelect="false" displayMode="label" colSpan="2" rowSpan="">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column15" value="현 잔고"
|
|
blockSelect="false" displayMode="label" colSpan="" rowSpan="2">
|
|
</w2:column>
|
|
</w2:row>
|
|
<w2:row style="" id="row1">
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column9" 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="100" inputType="text" style="" id="column5" value="일계"
|
|
blockSelect="false" displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column3" 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="100" inputType="text" style="" id="inDate" value="" blockSelect="false"
|
|
displayMode="label">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="sttSeqno" value="" blockSelect="false"
|
|
displayMode="label" customFormatter="scwin.fncSeqno">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="releaseDailyQ" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="releaseCumulativeQ" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="saleDailyQ" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="saleCumulativeQ" value=""
|
|
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="balanceQ" value="" blockSelect="false"
|
|
displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
|
|
</w2:column>
|
|
</w2:row>
|
|
</w2:gBody>
|
|
</w2:gridView>
|
|
</xf:group>
|
|
</body>
|
|
</html>
|