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.

485 lines
23 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="kbn" name="구분"></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="fixList" saveRemovedData="true">
<w2:columnInfo>
<w2:column id="chk" name="선택" dataType="text"></w2:column>
<w2:column id="kbn" name="구분" dataType="text"></w2:column>
<w2:column id="passDate" name="통행일자" dataType="date"></w2:column>
<w2:column id="workTimes" name="통행시간" dataType="time"></w2:column>
<w2:column id="personName" name="성명" dataType="text"></w2:column>
<w2:column id="typicalName" name="카드사명" dataType="text"></w2:column>
<w2:column id="fixAmountSaleQ" name="판매권수" dataType="text"></w2:column>
<w2:column id="fixAmountSaleM" name="판매금액" dataType="text"></w2:column>
<w2:column id="processDate" name="공단입금일자" dataType="date"></w2:column>
<w2:column id="cityTaxesDate" name="시세입조치일자" dataType="date"></w2:column>
<w2:column id="remarks" name="비고" dataType="text"></w2:column>
<w2:column id="workerId" name="작업자ID" dataType="text"></w2:column>
<w2:column id="fareOfficeId" name="요금소ID" dataType="text"></w2:column>
<w2:column id="boothId" name="차로ID" 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="seqno" name="일련번호" dataType="text"></w2:column>
</w2:columnInfo>
</w2:dataList>
<w2:dataList baseNode="list" id="checkedFixList" repeatNode="map" saveRemovedData="true" style="">
<w2:columnInfo>
<w2:column dataType="text" id="chk" name="선택"></w2:column>
<w2:column dataType="text" id="kbn" name="구분"></w2:column>
<w2:column dataType="date" id="passDate" name="통행일자"></w2:column>
<w2:column dataType="time" id="workTimes" name="통행시간"></w2:column>
<w2:column dataType="text" id="personName" name="성명"></w2:column>
<w2:column dataType="text" id="typicalName" name="카드사명"></w2:column>
<w2:column dataType="text" id="fixAmountSaleQ" name="판매권수"></w2:column>
<w2:column dataType="text" id="fixAmountSaleM" name="판매금액"></w2:column>
<w2:column dataType="date" id="processDate" name="공단입금일자"></w2:column>
<w2:column dataType="date" id="cityTaxesDate" name="시세입조치일자"></w2:column>
<w2:column dataType="text" id="remarks" name="비고"></w2:column>
<w2:column dataType="text" id="workerId" name="작업자ID"></w2:column>
<w2:column dataType="text" id="fareOfficeId" name="요금소ID"></w2:column>
<w2:column dataType="text" id="boothId" name="차로ID"></w2:column>
<w2:column dataType="text" id="year" name="년"></w2:column>
<w2:column dataType="text" id="month" name="월"></w2:column>
<w2:column dataType="text" id="day" name="일"></w2:column>
<w2:column dataType="text" id="seqno" name="일련번호"></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/findIncomeFixCardSaleDepositList.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:submission id="sbm_updateProcList" ref='data:json,{"id":"checkedFixList","key":"param"}' target=""
action="/cfs/income/updateIncomeFixCardSaleProcessList.do" method="post" mediatype="application/json" encoding="UTF-8" instance=""
replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="공단입금처리 정보를 저장중입니다." ev:submit="" ev:submitdone="scwin.btn_search_onclick"
ev:submiterror="" abortTrigger="">
</xf:submission>
<xf:submission id="sbm_updateCityTaxList" ref='data:json,{"id":"checkedFixList","key":"param"}' target=""
action="/cfs/income/updateIncomeFixCardSaleCityTaxesList.do" method="post" mediatype="application/json" encoding="UTF-8"
instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="시세입처리 정보를 저장중입니다." ev:submit="" ev:submitdone="scwin.btn_search_onclick"
ev:submiterror="" abortTrigger="">
</xf:submission>
</xf:model>
<script type="text/javascript" lazy="false"><![CDATA[
scwin.onpageload = function() {
//통행일자
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;
} 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("IC030M01");
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 = "IC030M01";
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 = "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 = "1";
com.fncMakeExcelProvider("incomeFixService", "findIncomeFixCardSaleDepositList", "cfs.income.vo.IncomeParamsVO", paramMap, grd_fixList, options, info);
};
scwin.btn_proc1_onclick = function(e) {
//alert("공단입금처리 클릭시");
scwin.fncOpenProcInfo();
};
scwin.btn_proc2_onclick = function(e) {
//alert("시세입처리 클릭시");
com.choice("처리하려는 항목을 선택하세요.<br/><br/>[예] 영수증 출력<br/>[아니오] 시세입처리<br/>[취소] 취소<br/>", "scwin.fncCityTaxChoice");
};
scwin.fncCityTaxChoice = function(isReturnVal) {
if(isReturnVal) {
//[예] 영수증 출력
alert("영수증 출력");
} else {
//[아니오] 시세입처리
scwin.fncOpenCityTaxInfo();
}
};
scwin.fncOpenProcInfo = function(kbn) {
//alert("공단입금처리 클릭시");
if (grd_fixList.getTotalRow() == 0) {
return;
}
var chkRowJSON = grd_fixList.getCheckedJSON( "chk" );
if (chkRowJSON.length == 0) {
com.alert("공단입금처리하려는 정보를 체크하세요.");
return;
}
var sumQ = 0, sumM = 0;
$.each(chkRowJSON, function(i, item) {
//체크된 것 중에서 미처리 상태인 것만 합산한다.
if (item.kbn == '0') {
sumQ += item.fixAmountSaleQ;
sumM += item.fixAmountSaleM;
}
});
var param = {};
param.kbn = "1";
param.fixAmountQ = sumQ;
param.fixAmountM = sumM;
var options = {};
options.id = "IncomeFixCardDepositPopup";
options.popupName = "정액권 카드 처리";
options.modal = true;
options.resizable = false;
options.width = 300;
com.openPopup(com.getFullPath("/ui/cfs/income/IC030P01.xml"), options, {data:param, callbackFn:"scwin.fncSaveProcList"});
};
scwin.fncSaveProcList = function(data) {
//alert("공단입금처리 대상 저장");
checkedFixList.removeAll();
var chkRowJSON = grd_fixList.getCheckedJSON("chk");
$.each(chkRowJSON, function(i, item) {
//체크된 것 중에서 미처리 상태인 것만 처리한다.
if (item.kbn == '0') {
//공단입금일자 셋팅
item.processDate = data.date;
checkedFixList.setRowJSON( 0 , item , false );
}
});
com.executeSubmission(sbm_updateProcList);
};
scwin.fncOpenCityTaxInfo = function() {
//alert("시세입처리 클릭시");
if (grd_fixList.getTotalRow() == 0) {
return;
}
var chkRowJSON = grd_fixList.getCheckedJSON( "chk" );
if (chkRowJSON.length == 0) {
com.alert("영수증출력/시세입처리하려는 정보를 체크하세요.");
return;
}
var sumQ = 0, sumM = 0;
var errCnt = 0;
$.each(chkRowJSON, function(i, item) {
//체크된 것 중에서 공단입금처리 완료된 상태인 것만 합산한다.
if (item.kbn == '0') {
errCnt++;
} else if (item.kbn == '1') {
sumQ += item.fixAmountSaleQ;
sumM += item.fixAmountSaleM;
}
});
if (errCnt > 0) {
com.alert("공단 미입금 정보가 "+errCnt+" 건 입니다.<br/>공단입금처리한 후 작업을 수행하세요.");
return;
}
var param = {};
param.kbn = "2";
param.fixAmountQ = sumQ;
param.fixAmountM = sumM;
var options = {};
options.id = "IncomeFixCardDepositPopup";
options.popupName = "정액권 카드 처리";
options.modal = true;
options.resizable = false;
options.width = 300;
com.openPopup(com.getFullPath("/ui/cfs/income/IC030P01.xml"), options, {data:param, callbackFn:"scwin.fncSaveCityTaxList"});
};
scwin.fncSaveCityTaxList = function(data) {
//alert("시세입처리 대한 저장");
checkedFixList.removeAll();
var chkRowJSON = grd_fixList.getCheckedJSON("chk");
$.each(chkRowJSON, function(i, item) {
//체크된 것 중에서 공단입금처리 완료 상태인 것만 처리한다.
if (item.kbn == '1') {
//시세입일자 셋팅
item.cityTaxesDate = data.date;
checkedFixList.setRowJSON( 0 , item , false );
}
});
com.executeSubmission(sbm_updateCityTaxList);
};
]]></script>
</head>
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
<xf:group class="contentWrap" id="" style="">
<form id="IC030M01" method="post" action ="/ClipReport4/reportView.jsp">
<input type ="hidden" name="crfName"></input>
<input type ="hidden" name="kbn"></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:460px;" 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 appearance="full" cols="" ev:onchange="scwin.rad_kbn_onchange" id="rad_kbn" ref="data:paramMap.kbn"
renderType="table" rows="2" selectedIndex="0" style="margin-right:10px;">
<xf:choices>
<xf:item>
<xf:label><![CDATA[전체]]></xf:label>
<xf:value><![CDATA[]]></xf:value>
</xf:item>
<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[0]]></xf:value>
</xf:item>
<xf:item>
<xf:label><![CDATA[시세입처리]]></xf:label>
<xf:value><![CDATA[2]]></xf:value>
</xf:item>
</xf:choices>
</xf:select1><xf:trigger class="btn_act note" ev:onclick="scwin.btn_proc1_onclick" id="btn_proc1" style="height:100%;" type="button">
<xf:label><![CDATA[공단입금처리]]></xf:label>
</xf:trigger><xf:trigger class="btn_act note" ev:onclick="scwin.btn_proc2_onclick" id="btn_proc2" style="height:100%;" type="button">
<xf:label><![CDATA[영수증출력/시세입처리]]></xf:label>
</xf:trigger></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" 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" 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="600" class="cm_grid" dataList="data:fixList" fixedColumnWithHidden="true"
focusMode="row" id="grd_fixList" ignoreCellClick="false" ignoreToggleOnDisabled="false" scrollByColumn="false"
scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"
ev:oncelldblclick="scwin.grd_statList_oncelldblclick">
<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
<w2:header style="" id="header1">
<w2:row style="" id="row1">
<w2:column removeBorderStyle="false" width="50" inputType="checkbox" style="" id="column28" value="구분"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" 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="100" 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="100" inputType="text" style="" id="column13" value="판매권수"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" 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="100" inputType="text" style="" id="column4" value="시세입조치일자"
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="200" 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="checkbox" style="" id="chk" value="" blockSelect="false"
displayMode="label" readOnly="false">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="passDate" value="" blockSelect="false"
displayMode="label" dataType="date" displayFormatter="com.fmtDateDtime">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="workTimes" value="" blockSelect="false"
displayMode="label" dataType="time" displayFormatter="com.fmtDtime">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="personName" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="typicalName" value=""
blockSelect="false" displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="fixAmountSaleQ" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="fixAmountSaleM" value=""
blockSelect="false" displayMode="label" dataType="number" displayFormat="#,##0" textAlign="right">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="processDate" value=""
blockSelect="false" displayMode="label" dataType="date" displayFormatter="">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="cityTaxesDate" value=""
blockSelect="false" displayMode="label" dataType="date" displayFormatter="">
</w2:column>
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="remarks" value="" blockSelect="false"
displayMode="label" class="" textAlign="left">
</w2:column>
</w2:row>
</w2:gBody>
<w2:footer style="" id="footer1">
<w2:row style="" id="row3">
<w2:column removeBorderStyle="false" width="70" inputType="text" style="" id="column30" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column27" value="총계" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column24" value=""
blockSelect="false" displayMode="label" dataType="number" expression="COUNT('workTimes')" displayFormat="#,##0">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column21" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="text" style="" id="column18" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column15" value=""
blockSelect="false" displayMode="label" dataType="number" expression="SUM('fixAmountSaleQ')" textAlign="right" displayFormat="#,##0">
</w2:column>
<w2:column removeBorderStyle="false" width="100" inputType="expression" style="" id="column12" value=""
blockSelect="false" displayMode="label" dataType="number" expression="SUM('fixAmountSaleM')" textAlign="right" displayFormat="#,##0">
</w2:column>
<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="column6" value="" blockSelect="false"
displayMode="label">
</w2:column>
<w2:column removeBorderStyle="false" width="200" inputType="text" style="" id="column3" value="" blockSelect="false"
displayMode="label">
</w2:column>
</w2:row>
</w2:footer>
</w2:gridView>
</xf:group>
</body>
</html>