123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 건수분석자료.xrw
- * 설 명 : 건수분석자료
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.07.04
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>소모분석자료</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <usevallist>
- <itemnm/>
- <bfcnt/>
- <icnt/>
- <ocnt/>
- <scnt/>
- <tab/>
- <itemnm2/>
- <bfcnt2/>
- <icnt2/>
- <ocnt2/>
- <scnt2/>
- <tab2/>
- <itemnm3/>
- <bfcnt3/>
- <icnt3/>
- <ocnt3/>
- <scnt3/>
- </usevallist>
- </main>
- <send xmlns="">
- <srchym/>
- <srchym2/>
- <srchbdioflag/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLNP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/usevallist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetInit(){
- model.removeNodeset("/root/main/usevallist");
- var toDay = getCurrentDate();
- var toDays = toDay.substr(0,6)
- model.setValue("/root/send/srchbdioflag","O");
- model.setValue("/root/send/srchym", toDays);
- input3.attribute("format") = "yyyy-mm";
- model.setValue("/root/send/srchym2", toDays);
- input1.attribute("format") = "yyyy-mm";
- model.refresh();
- }
-
- function fGetUseValList(){
- submit("TRLNP00601");
- model.setValue("/root/main/usevallist[25]/itemnm3", "합 계");
- model.setValue("/root/main/usevallist[25]/icnt3", model.getValue("/root/main/usevallist[1]/insum"));
- model.setValue("/root/main/usevallist[25]/ocnt3", model.getValue("/root/main/usevallist[1]/outsum"));
- model.setValue("/root/main/usevallist[25]/mcnt3", model.getValue("/root/main/usevallist[1]/chksum"));
- model.refresh();
-
- }
-
- function fReportPrint(){
- exeReportPreview("RPLNP00600", "XMLSTR", "", "", "true", "", "", "", "","true");
- //exeReportPreview("RPLNP00600", "XMLSTR", "", "");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; font-weight:bold; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <button id="btn_Ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fGetUseValList();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="search_name" style="left:40px; top:8px; width:91px; height:17px; text-align:left; ">기준월 :</caption>
- <input id="input3" ref="/root/send/srchym" class="input_default" inputtype="date" format="yyyy-mm" style="left:125px; top:8px; width:90px; height:19px; "/>
- <input id="input1" ref="/root/send/srchym2" class="input_default" inputtype="date" format="yyyy-mm" style="left:245px; top:8px; width:90px; height:19px; "/>
- <caption id="caption8" style="left:220px; top:10px; width:20px; height:20px; text-align:center; ">~</caption>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">소모분석리스트</caption>
- <datagrid id="grd_usevallist" nodeset="/root/main/usevallist" caption="핵종명^전월량^입고량^사용량^관리^잔량^^핵종명^전월량^입고량^사용량^관리^잔량^^핵종명^전월량^입고량^사용량^관리^잔량" colwidth="120, 55, 55, 55, 55, 55, 3, 120, 55, 55, 55, 55, 55, 3, 120, 55, 55, 55, 55, 55" dataheight="25" defaultrows="1" mergecellsfixedrows="bycolrec" rowheight="25" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:640px; font-weight:normal; ">
- <col ref="itemnm"/>
- <col ref="bfcnt" style="text-align:center; "/>
- <col ref="icnt" style="text-align:center; "/>
- <col ref="ocnt" style="text-align:center; "/>
- <col ref="mcnt" style="text-align:center; "/>
- <col ref="scnt" style="text-align:center; "/>
- <col ref="tab"/>
- <col ref="itemnm2"/>
- <col ref="bfcnt2" style="text-align:center; "/>
- <col ref="icnt2" style="text-align:center; "/>
- <col ref="ocnt2" style="text-align:center; "/>
- <col ref="mcnt2" style="text-align:center; "/>
- <col ref="scnt2" style="text-align:center; "/>
- <col ref="tab2"/>
- <col ref="itemnm3"/>
- <col ref="bfcnt3" style="text-align:center; "/>
- <col ref="icnt3" style="text-align:center; "/>
- <col ref="ocnt3" style="text-align:center; "/>
- <col ref="mcnt3" style="text-align:center; "/>
- <col ref="scnt3" style="text-align:center; "/>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" navindex="2" style="left:0px; top:719px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_usevallist.saveExcel(fileName);
- }
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">소모분석 자료관리</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fReportPrint();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|