SMADS02300_소모부진 약품 조회.xrw 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>소모부진 약품 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <statslist/>
  11. <qtylist>
  12. <outqty/>
  13. <inqty/>
  14. <injqty/>
  15. <outsideqty/>
  16. </qtylist>
  17. </main>
  18. <send>
  19. <srchfromdd/>
  20. <srchtodd/>
  21. <globalinstance>
  22. <instance1/>
  23. </globalinstance>
  24. <suppdeptcd/>
  25. <formflag>2</formflag>
  26. <drugflag1/>
  27. <drugflag2/>
  28. <srchdeptcd/>
  29. <srchdrid/>
  30. <drugflag1all/>
  31. <drugflag2all/>
  32. <instcd/>
  33. <srchdrugcd/>
  34. <ioflag/>
  35. <ioflag_all/>
  36. <ndrugkind>200</ndrugkind>
  37. <ydrugkind>30</ydrugkind>
  38. <mdrugkind>50</mdrugkind>
  39. </send>
  40. <init>
  41. </init>
  42. <hidden/>
  43. </root>
  44. </instance>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. //aezfSetSuppDeptcd();
  51. // 진료과/진료의 조회
  52. //submit("TRPMOCOM01");
  53. //var rdo_children = rdo_formcd.children;
  54. //rdo_children.item(1).attribute("disable") = true;
  55. //model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  56. model.setValue("/root/send/srchfromdd", getCurrentDate());
  57. model.setValue("/root/send/srchtodd", getCurrentDate());
  58. /* model.setValue("/root/send/srchioflag", "전체");
  59. model.setValue("/root/send/formflag", "2");
  60. model.setValue("/root/send/drugflag1", "재원 퇴원 외래");
  61. model.setValue("/root/send/drugflag2", "원내 원외");
  62. model.setValue("/root/send/drugflag1all", "전체");
  63. model.setValue("/root/send/drugflag2all", "전체");
  64. model.refresh();
  65. */
  66. // 원내, 원외 구분 전체 체크
  67. checkbox7.value = "A";
  68. fChgIoFlagAll();
  69. makeReportPreview(0,100,1195,650);
  70. ]]>
  71. </script>
  72. <script type="javascript">
  73. <![CDATA[
  74. /**
  75. * 원내, 원외 구분 전체 체크시
  76. */
  77. function fChgIoFlagAll() {
  78. if(model.getValue("/root/send/ioflag_all") == "A"){
  79. model.setValue("/root/send/ioflag", "I|O");
  80. } else {
  81. model.setValue("/root/send/ioflag", "");
  82. }
  83. model.refresh();
  84. }
  85. /**
  86. * 원내, 원외 구분 변경시
  87. */
  88. function fChgIoFlag() {
  89. var sChk = model.getValue("/root/send/ioflag");
  90. if(sChk.length == 3){
  91. model.setValue("/root/send/ioflag_all", "A");
  92. } else {
  93. model.setValue("/root/send/ioflag_all", "");
  94. }
  95. model.refresh();
  96. }
  97. ]]>
  98. </script>
  99. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  100. <submission id="TRADS00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  101. <submission id="TRADS00406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
  102. </model>
  103. </xhtml:head>
  104. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  105. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  106. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:250px; height:14px; ">소모부진 약품 조회</caption>
  107. </group>
  108. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
  109. <line id="line1" class="line_1" style="x1:0px; y1:115px; x2:1195px; y2:115px; "/>
  110. <group id="group1" style="left:0px; top:10px; width:1195px; height:95px; vertical-align:top; ">
  111. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  112. <line id="line2" class="line_4" style="x1:610px; y1:12px; x2:610px; y2:75px; "/>
  113. <button id="button1" class="btn1_letter2" navindex="4" style="left:625px; top:15px; width:56px; height:22px; ">
  114. <caption>조회</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. if(submit("TRADS00406")){
  118. exeReportPreview("RPADS00406", "XMLSTR", "/root/main/statslist/item");
  119. }
  120. model.refresh();
  121. ]]>
  122. </script>
  123. </button>
  124. <caption id="caption2" class="search_name" style="left:20px; top:13px; width:86px; height:17px; ">기준월 :</caption>
  125. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:115px; top:13px; width:95px; height:19px; "/>
  126. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:233px; top:14px; width:92px; height:19px; "/>
  127. <caption id="caption5" class="search_no_b" visibility="hidden" style="left:214px; top:14px; width:12px; height:17px; ">~</caption>
  128. <caption id="caption4" class="search_name" visibility="hidden" style="left:775px; top:50px; width:86px; height:17px; ">약품코드 :</caption>
  129. <select id="checkbox6" ref="/root/send/ioflag" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="2" rows="1" sep="|" style="left:885px; top:15px; width:120px; height:20px; border-style:none; ">
  130. <choices>
  131. <item>
  132. <label>원내</label>
  133. <value>I</value>
  134. </item>
  135. <item>
  136. <label>원외</label>
  137. <value>O</value>
  138. </item>
  139. </choices>
  140. <script type="javascript" ev:event="xforms-value-changed">
  141. <![CDATA[
  142. fChgIoFlag();
  143. ]]>
  144. </script>
  145. </select>
  146. <select id="checkbox7" ref="/root/send/ioflag_all" visibility="hidden" overflow="visible" appearance="full" style="left:835px; top:15px; width:45px; height:20px; border-style:none; ">
  147. <choices>
  148. <item>
  149. <label>전체</label>
  150. <value>A</value>
  151. </item>
  152. </choices>
  153. <script type="javascript" ev:event="xforms-value-changed">
  154. <![CDATA[
  155. fChgIoFlagAll();
  156. ]]>
  157. </script>
  158. </select>
  159. <caption id="caption3" class="search_name" style="left:20px; top:40px; width:86px; height:17px; ">기준 :</caption>
  160. <caption id="caption1" style="left:225px; top:16px; width:255px; height:15px; ">* 기준월로 부터 6개월 전까지 대상</caption>
  161. </group>
  162. </group>
  163. <input id="ipt_drugcd" ref="/root/send/srchdrugcd" class="input_search" disabled="false" visibility="hidden" style="left:870px; top:70px; width:145px; height:19px; "/>
  164. <input id="input6" ref="/root/send/ndrugkind" class="input_search" disabled="false" style="left:115px; top:85px; width:145px; height:19px; text-align:center; "/>
  165. <input id="input7" ref="/root/send/ydrugkind" class="input_search" disabled="false" style="left:275px; top:85px; width:145px; height:19px; text-align:center; "/>
  166. <input id="input8" ref="/root/send/mdrugkind" class="input_search" disabled="false" style="left:435px; top:85px; width:145px; height:19px; text-align:center; "/>
  167. <caption id="caption11" style="left:115px; top:61px; width:145; height:20px; font-family:새굴림; font-size:14pt; font-weight:bold; text-align:center; background-color:#ffcc00; ">내복약</caption>
  168. <caption id="caption12" style="left:275px; top:61px; width:145px; height:22px; font-family:새굴림; font-size:14pt; font-weight:bold; text-align:center; background-color:#ffcc00; ">외용약</caption>
  169. <caption id="caption13" style="left:435px; top:61px; width:145px; height:22px; font-family:새굴림; font-size:14pt; font-weight:bold; text-align:center; background-color:#ffcc00; ">주사약</caption>
  170. </xhtml:body>
  171. </xhtml:html>