|
|
|
|
@ -1,11 +1,12 @@
|
|
|
|
|
<?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>
|
|
|
|
|
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>
|
|
|
|
|
@ -13,7 +14,6 @@
|
|
|
|
|
<w2:dataMap baseNode="map" id="statMap" style="">
|
|
|
|
|
<w2:keyInfo>
|
|
|
|
|
<w2:key dataType="date" id="passDate" name="통행일자"></w2:key>
|
|
|
|
|
|
|
|
|
|
</w2:keyInfo>
|
|
|
|
|
</w2:dataMap>
|
|
|
|
|
<w2:dataList baseNode="list" repeatNode="map" id="statList" saveRemovedData="true">
|
|
|
|
|
@ -51,62 +51,89 @@
|
|
|
|
|
</w2:dataMap>
|
|
|
|
|
</w2:dataCollection>
|
|
|
|
|
<w2:workflowCollection></w2:workflowCollection>
|
|
|
|
|
<xf:submission id="sbm_statList" ref='data:json,{"id":"statMap","key":"param"}' target='data:json,["statListCnt","statList"]'
|
|
|
|
|
action="/cfs/income/findIncomeDailyCalculateReportList.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 id="sbm_statList"
|
|
|
|
|
ref='data:json,{"id":"statMap","key":"param"}'
|
|
|
|
|
target='data:json,["statListCnt","statList"]'
|
|
|
|
|
action="/cfs/income/findIncomeDailyCalculateReportList.do"
|
|
|
|
|
processMsg="조회중입니다."
|
|
|
|
|
ev:submitdone="scwin.sbm_statList_submitdone"
|
|
|
|
|
method="post" mediatype="application/json" encoding="UTF-8" instance=""
|
|
|
|
|
replace="" errorHandler="" customHandler="" mode="asynchronous"
|
|
|
|
|
ev:submit="" ev:submiterror="" abortTrigger="">
|
|
|
|
|
</xf:submission>
|
|
|
|
|
<xf:submission id="sbm_statList2" ref='data:json,{"id":"statMap","key":"param"}'
|
|
|
|
|
target='data:json,{"id":"statList2","key":"statList"}' action="/cfs/income/findIncomeDailyCalculateReportList2.do" method="post"
|
|
|
|
|
mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
|
|
|
|
|
processMsg="" ev:submit="" ev:submitdone="scwin.sbm_statList2_submitdone" ev:submiterror="" abortTrigger="">
|
|
|
|
|
<xf:submission id="sbm_statList2"
|
|
|
|
|
ref='data:json,{"id":"statMap","key":"param"}'
|
|
|
|
|
target='data:json,{"id":"statList2","key":"statList"}'
|
|
|
|
|
action="/cfs/income/findIncomeDailyCalculateReportList2.do"
|
|
|
|
|
processMsg=""
|
|
|
|
|
ev:submitdone="scwin.sbm_statList2_submitdone"
|
|
|
|
|
method="post" mediatype="application/json" encoding="UTF-8" instance=""
|
|
|
|
|
replace="" errorHandler="" customHandler="" mode="asynchronous"
|
|
|
|
|
ev:submit="" ev:submiterror="" abortTrigger="">
|
|
|
|
|
</xf:submission>
|
|
|
|
|
<xf:submission id="sbm_statList3" ref='data:json,{"id":"statMap","key":"param"}'
|
|
|
|
|
target='data:json,{"id":"workDate","key":"statList"}' action="/cfs/income/findIncomeDailyCalculateReportList3.do" method="post" mediatype="application/json" encoding="UTF-8"
|
|
|
|
|
instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submit="" ev:submitdone="scwin.sbm_statList3_submitdone"
|
|
|
|
|
ev:submiterror="" abortTrigger="">
|
|
|
|
|
<xf:submission id="sbm_statList3"
|
|
|
|
|
ref='data:json,{"id":"statMap","key":"param"}'
|
|
|
|
|
target='data:json,{"id":"workDate","key":"statList"}'
|
|
|
|
|
action="/cfs/income/findIncomeDailyCalculateReportList3.do"
|
|
|
|
|
processMsg=""
|
|
|
|
|
ev:submitdone="scwin.sbm_statList3_submitdone"
|
|
|
|
|
method="post" mediatype="application/json" encoding="UTF-8" instance=""
|
|
|
|
|
replace="" errorHandler="" customHandler="" mode="asynchronous"
|
|
|
|
|
ev:submit="" ev:submiterror="" abortTrigger="">
|
|
|
|
|
</xf:submission>
|
|
|
|
|
</xf:model>
|
|
|
|
|
<script type="text/javascript" lazy="false"><![CDATA[
|
|
|
|
|
scwin.idx = 0;
|
|
|
|
|
scwin.onpageload = function() {
|
|
|
|
|
//요금소(cfs01)
|
|
|
|
|
//통행일자
|
|
|
|
|
</xf:model>
|
|
|
|
|
<script type="text/javascript" lazy="false"><![CDATA[
|
|
|
|
|
scwin.idx = 0;
|
|
|
|
|
|
|
|
|
|
scwin.onpageload = function() {
|
|
|
|
|
var ymd = com.getToday();
|
|
|
|
|
ica_inDate.setValue( ymd );
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
|
|
|
//alert("조회");
|
|
|
|
|
com.executeSubmission(sbm_statList);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.userExpFare = function(foot){
|
|
|
|
|
scwin.userExpFare = function(foot){
|
|
|
|
|
return grd_statList2.getFooterData( foot , false );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpFarePm = function(){
|
|
|
|
|
scwin.userExpFarePm = function(){
|
|
|
|
|
if(statList2.getCellData( 0 , "goalAmt" )> statList2.getCellData( 1 , "goalAmt" )){
|
|
|
|
|
return 1;
|
|
|
|
|
}else{
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpCha = function(name){
|
|
|
|
|
return statList2.getCellData( 0 , name ) - statList2.getCellData( 1 , name );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpfir = function(name){
|
|
|
|
|
return statList2.getCellData( 1 , name );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpMod = function(){
|
|
|
|
|
return statList2.getCellData( 0 , "count" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//조회버튼 클릭
|
|
|
|
|
scwin.btn_search_onclick = function(e) {
|
|
|
|
|
com.executeSubmission(sbm_statList);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.sbm_statList_submitdone = function(e) {
|
|
|
|
|
scwin.sbm_statList_submitdone = function(e) {
|
|
|
|
|
com.executeSubmission(sbm_statList3);
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.sbm_statList3_submitdone = function(e) {
|
|
|
|
|
console.log(workDate.getJSON());
|
|
|
|
|
com.executeSubmission(sbm_statList2);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.sbm_statList2_submitdone = function(e) {
|
|
|
|
|
scwin.sbm_statList2_submitdone = function(e) {
|
|
|
|
|
gridView1.setFooterValue( "totalPer" , statList2.getCellData( 0 , "count" ) );
|
|
|
|
|
|
|
|
|
|
var footVal = statList2.getCellData( 0 , "totalM" ) - statList2.getCellData( 1 , "totalM" );
|
|
|
|
|
@ -128,20 +155,12 @@
|
|
|
|
|
ibx_standDate.setValue( workDate.get("workDate") );
|
|
|
|
|
ibx_goalAmt.setValue( statList2.getCellData( 0 , "goalAmt" ) );
|
|
|
|
|
ibx_goalRate.setValue( statList2.getCellData( 0 , "goalRate" ) );
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.userExpCha = function(name){
|
|
|
|
|
return statList2.getCellData( 0 , name ) - statList2.getCellData( 1 , name );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpfir = function(name){
|
|
|
|
|
return statList2.getCellData( 1 , name );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scwin.userExpMod = function(){
|
|
|
|
|
return statList2.getCellData( 0 , "count" );
|
|
|
|
|
}
|
|
|
|
|
scwin.btn_excel_down_2_onclick = function(e) {
|
|
|
|
|
//목표금액등록 버튼 클릭
|
|
|
|
|
scwin.btn_excel_down_2_onclick = function(e) {
|
|
|
|
|
var jsonData = {};
|
|
|
|
|
|
|
|
|
|
var data = {data : jsonData, callbackFn : "" };
|
|
|
|
|
@ -152,9 +171,10 @@
|
|
|
|
|
var popupUrl = "/ui/cfs/income/IC052P01.xml";
|
|
|
|
|
|
|
|
|
|
com.openPopup(popupUrl, opt, data);
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
scwin.trigger1_onclick = function(e) {
|
|
|
|
|
//엑셀다운로드 버튼 클릭
|
|
|
|
|
scwin.trigger1_onclick = function(e) {
|
|
|
|
|
var options = {
|
|
|
|
|
common : {
|
|
|
|
|
fileName : "일일 정산현황 보고"+com.getCurDtime()+".xlsx"
|
|
|
|
|
@ -180,19 +200,12 @@
|
|
|
|
|
x = $p.getRuntimeId("statList");
|
|
|
|
|
options.common.wframeId = x.substr(0,x.lastIndexOf("_"));
|
|
|
|
|
$p.multipleExcelDownload( options );
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
scwin.sbm_statList3_submitdone = function(e) {
|
|
|
|
|
console.log(workDate.getJSON());
|
|
|
|
|
com.executeSubmission(sbm_statList2);
|
|
|
|
|
};
|
|
|
|
|
]]></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
|
|
|
<xf:group class="contentWrap" id="" style="">
|
|
|
|
|
]]></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
|
|
|
<xf:group class="contentWrap" id="" style="">
|
|
|
|
|
<form id="IC002M01" method="post" action="/ClipReport4/reportView.jsp">
|
|
|
|
|
<input type="hidden" name="fareOfficeId"></input>
|
|
|
|
|
<input type="hidden" name="crfName"></input>
|
|
|
|
|
@ -209,7 +222,13 @@
|
|
|
|
|
<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 tagname="col" style="width:100px;"></xf:group><xf:group tagname="col" style="width:11.11%;"></xf:group><xf:group tagname="col" style="width:160px;"></xf:group><xf:group tagname="col" style="width:11.11%;"></xf:group><xf:group tagname="col" style="width:100px;"></xf:group><xf:group tagname="col" style="width:11.11%;"></xf:group><xf:group style="width:*;" tagname="col"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:100px;"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:11.11%;"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:160px;"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:11.11%;"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:100px;"></xf:group>
|
|
|
|
|
<xf:group tagname="col" style="width:11.11%;"></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>
|
|
|
|
|
@ -262,10 +281,10 @@
|
|
|
|
|
<xf:label><![CDATA[엑셀다운로드]]></xf:label>
|
|
|
|
|
</xf:trigger>
|
|
|
|
|
</xf:group>
|
|
|
|
|
</xf:group><xf:group class="" id="" style="">
|
|
|
|
|
<w2:textbox class="df_tt" id="" label="가.통행량 및 수입금 현황" style="" tagname="h2"></w2:textbox>
|
|
|
|
|
<xf:group class="fr" id="" style="">
|
|
|
|
|
</xf:group>
|
|
|
|
|
<xf:group class="" id="" style="">
|
|
|
|
|
<w2:textbox class="df_tt" id="" label="가.통행량 및 수입금 현황" style="" tagname="h2"></w2:textbox>
|
|
|
|
|
<xf:group class="fr" id="" style=""></xf:group>
|
|
|
|
|
</xf:group>
|
|
|
|
|
<w2:gridView autoFit="allColumn" autoFitMinWidth="600" class="cm_grid" dataList="data:statList" fixedColumnWithHidden="true"
|
|
|
|
|
focusMode="row" id="grd_statList2" ignoreCellClick="false" ignoreToggleOnDisabled="false" readOnly="true" scrollByColumn="false"
|
|
|
|
|
@ -683,8 +702,6 @@
|
|
|
|
|
</w2:row>
|
|
|
|
|
</w2:footer>
|
|
|
|
|
</w2:gridView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xf:group>
|
|
|
|
|
</body>
|
|
|
|
|
</xf:group>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|