123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <grid>
- <rsdhdemdlist/>
- </grid>
- </main>
- <send>
- <instcd/>
- <fromdd/>
- <todd/>
- <reqdeptcd/>
- <reqflag>Z</reqflag>
- </send>
- <init>
- <reqdeptcd>
- <label>외래</label>
- <value>1</value>
- <label>병동</label>
- <value>2</value>
- <label>OR</label>
- <value>3</value>
- <label>ER</label>
- <value>4</value>
- <label>기타</label>
- <value>5</value>
- <label>전체</label>
- <value/>
- </reqdeptcd>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //submit 되는 node 들을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSE00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grid/rsdhdemdlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfGridInit(grd_rsdhdemdlist);
- misfComboComCdListMulti("Z0007","cmb_instcd");
-
- misfMsterDetailSet(grd_rsdhdemdlist, null, "TRRFE00901", "N");
-
- // 기관코드 설정
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var reqdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_fromdd.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
-
- // 부서코드 설정
- //model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- // 부서코드명 설정
- //model.setValue(ipt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">부서별 재멸균 현황 출력</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:61px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" navindex="2" appearance="minimal" style="left:100px; top:8px; width:302px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_fromdd" class="search_name" style="left:582px; top:10px; width:89px; height:17px; ">청구일자 :</caption>
- <caption id="cap_todd" class="search_name" visibility="hidden" style="left:582px; top:10px; width:89px; height:17px; ">청구일자 :</caption>
- <caption id="cap_reqdeptcd" class="search_name" style="left:15px; top:35; width:86px; height:17px; ">청구부서 :</caption>
- <caption id="caption9" style="left:792px; top:11px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:668px; top:9px; width:122px; height:19px; text-align:center; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:807px; top:9px; width:122px; height:19px; text-align:center; "/>
- <line id="line30" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:51px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd"))return;
- if(!isRequiredControls("ipt_fromdd"))return;
- if(!isRequiredControls("ipt_todd"))return;
-
- submit("TRRSE00901");
-
- for(var i = grd_rsdhdemdlist.fixedRows; i < grd_rsdhdemdlist.cols ; i++)
- grd_rsdhdemdlist.mergecol(i) = false;
-
- grd_rsdhdemdlist.mergecol(grd_rsdhdemdlist.colRef("reqdeptnm")) = true;
- ]]>
- </script>
- </button>
- <select1 id="rdo_reqdeptcd" ref="/root/send/reqdeptcd" overflow="visible" appearance="full" cols="6" style="left:100px; top:35px; width:250px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/reqdeptcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption21" class="tit_2" style="left:5px; top:80px; width:169px; height:14px; ">부서별 재멸균 현황</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <button id="btn_excel" class="btn5_letter4" style="left:1127px; top:75px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_rsdhdemdlist.fixedRows != grd_rsdhdemdlist.rows)
- {
- var fileName = window.fileDialog("save", ",", false, "부서별 재멸균 청구현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rsdhdemdlist.saveExcel(fileName, "부서별 재멸균 현황");
- }
- }else{
- messageBox("저장할 Data가 없습니다. Data 조회 후 다시 실행하세요.", "I999");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsdhdemdlist" nodeset="/root/main/grid/rsdhdemdlist" caption="부서^부서^물품코드^품명^단위^재멸균수량" colsep="^" colwidth="93, 129, 120, 311, 96, 96" mergecells="bycol" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:100px; width:1190px; height:640px; ">
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptnm" style="text-align:left; "/>
- <col ref="goodcd" style="text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="deliveunit" style="text-align:center; "/>
- <col ref="qty" format="#,###" style="text-align:right; "/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line11" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_print" class="btn6_letter9" style="left:0px; top:3px; width:159px; height:22px; ">
- <caption>부서별 재멸균 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRSE00901", "XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|