123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAES06200.xrw
- * 설 명 : 재료/약 사용현황
- * 설 계 자 : 최예원
- * 작 성 자 : 최예원
- * 작 성 일 : 2011.02.11
- * 수정이력 : 2011.02.11 최예원 신규
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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 tag="""">
- <xhtml:title>재료/약 사용현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <execrcodelist>
- <execrcode>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <basecdflag/>
- <basesuppdeptcd/>
- <seq/>
- </execrcode>
- </execrcodelist>
- <stuffmedilist>
- <item>
- <systkey3/>
- <systkey4/>
- <systkey5/>
- <cdnm/>
- <ordnm/>
- <inprcpcnt/>
- <outprcpcnt/>
- <totalprcpcnt/>
- </item>
- </stuffmedilist>
- </main>
- <send>
- <srch>
- <srchfromdd/>
- <srchtodd/>
- <suppdeptcd/>
- <srchexcuroomgrp/>
- <srchexecroom/>
- <srchpid/>
- <srchioflag/>
- <srchmenuflag/>
- <srchcalccd/>
- </srch>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <basecd/>
- <basecdflag/>
- <instcd/>
- <selectallyn/>
- <prntnum/>
- <bolpart/>
- <bolindi/>
- <cnt1/>
- <cnt2/>
- <cnt3/>
- </send>
- <init>
- <baseinfo>
- <initinsukind/>
- <initprcpgenrflagcd/>
- <initexecprcpstatcd/>
- </baseinfo>
- <cmb_section/>
- </init>
- <hidden>
- <item>
- <count/>
- </item>
- <comcd/>
- </hidden>
- <temp>
- <templst/>
- <temp1/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetScreenInit();
- fGetComboInit();
- model.removeNodeset("/root/main/stuffmedilist/item");
- model.refresh();
- ]]>
- </script>
- <submission id="TRAVB00001"/>
- <submission id="TRAAA00001"/>
- <submission id="TRZBC00101"/>
- <!-- SECTION 정보 가져오기-->
- <submission id="TRAEF00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_section"/>
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA05900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/partprcplst"/>
- <submission id="TXAEA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/count"/>
- <submission id="TXAER01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRAES06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/stuffmedilist"/>
- <submission id="TXAES06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/temp1"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- * 콤보 초기화
- */
- function fGetComboInit() {
- aezfSetSuppDeptcd();
- model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.refresh();
- }
- /**
- * 화면 기본 초기화
- */
- function fGetScreenInit() {
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/srch/srchfromdd", getCurrentDate() );
- model.setValue("/root/send/srch/srchtodd", getCurrentDate() );
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd") );
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1217;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">재료/약 사용현황</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:750px; width:1185px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" navindex="6" visibility="hidden" style="left:1px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1190px; height:732px; ">
- <group id="grp_srch" style="left:0px; top:7px; width:1185px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line16" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
- <button id="btn_select" class="btn1_letter2" navindex="5" style="left:1118px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/stuffmedilist/item");
- submit("TRAES06200");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:282px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" navindex="3" inputtype="date" style="left:156px; top:8px; width:100px; height:19px; "/>
- <caption id="lbl_srchdd" class="search_name" style="left:395px; top:9px; width:86px; height:17px; ">구분 :</caption>
- <caption id="lbl_~" class="search_no_b" style="left:263px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:150px; height:17px; ">재료/약 사용기간 :</caption>
- <select1 id="rdo_menuflag" ref="/root/send/srch/srchmenuflag" class="radio_search" appearance="full" cellspacing="3" cols="3" rows="1" overflow="visible" style="left:460px; top:10px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>재료</label>
- <value>1</value>
- </item>
- <item>
- <label>약제</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:625px; top:10px; width:86px; height:17px; ">수가코드 :</caption>
- <input id="input8" ref="/root/send/srch/srchcalccd" class="input_search" style="left:720px; top:8px; width:100px; height:19px; "/>
- </group>
- <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:190px; height:13px; ">재료/약 사용현황 LIST</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1180px; y2:70px; "/>
- <datagrid id="grd_stuffmedilist" nodeset="/root/main/stuffmedilist/item" autoresize="true" caption="구분코드^구분^처방코드^수가코드^수가명^입원^외래^합계" colsep="^" colwidth="65, 70, 120, 120, 400, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1180px; height:650px; ">
- <col ref="systkey3" type="output" visibility="hidden"/>
- <col ref="cdnm" type="output" style="text-align:center; "/>
- <col ref="systkey4" type="output" style="text-align:left; padding-left:20; "/>
- <col ref="systkey5" type="output" style="padding-left:20; "/>
- <col ref="ordnm" type="output" style="text-align:left; padding-left:10; "/>
- <col ref="inprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
- <col ref="outprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
- <col ref="totalprcpcnt" type="output" style="text-align:right; padding-right:20; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_stuffmedilist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel1" class="btn2_letter2" style="left:1138px; top:48px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save", ",", false, "재료_약 사용현황 LIST", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (filename != "") {
- grd_stuffmedilist.saveExcel(filename, "grd_stuffmedilist", true, false, "", "", "");
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter3" navindex="5" style="left:1082px; top:47px; width:53px; height:19px; ">
- <caption>재계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/srch/srchfromdd") != ""){
- if(messageBox( ipt_srchfromdd.label + " 일을 재계산합니다. ", "Q003") == 6 ){
- if( submit("TXAES06200")){
- btn_select.dispatch("DOMActivate");
- }
- }
- }else{
- messageBox( "재료/약 사용기간 시작일자가", "E013" , "확인해주세요.");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|