SMRSG07200_물품불출집계(부서별).xrw 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <send>
  10. <instcd/>
  11. <dept/>
  12. <day/>
  13. <goodflag/>
  14. <goodcd/>
  15. <goodnm/>
  16. <shwflag>1</shwflag>
  17. <instnm/>
  18. <reqflag/>
  19. <fromdd/>
  20. <todd/>
  21. </send>
  22. <main>
  23. <goodlist/>
  24. </main>
  25. <init>
  26. <radiodept>
  27. <label>외래</label>
  28. <value>1</value>
  29. <label>병동</label>
  30. <value>2</value>
  31. <label>OR</label>
  32. <value>3</value>
  33. <label>ER</label>
  34. <value>4</value>
  35. <label>기타</label>
  36. <value>5</value>
  37. <label>전체</label>
  38. <value/>
  39. </radiodept>
  40. </init>
  41. <temp/>
  42. </root>
  43. </instance>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fInitialize();
  53. ]]>
  54. </script>
  55. <script type="javascript">
  56. <![CDATA[
  57. function fsearch()
  58. {
  59. if(!isRequiredControls("ipt_fromdd"))return;
  60. if(!isRequiredControls("ipt_todd"))return;
  61. model.resetInstanceNode("/root/main/goodlist");
  62. submit("TRRSG06101");
  63. exeReportPreview("RPRSG07201", "XMLSTR");
  64. }
  65. function fInitialize()
  66. {
  67. //기관코드, 명 설정.
  68. opt_instcd.value = getUserInfo("dutplceinstcd");
  69. opt_instnm.value = getUserInfo("dutplceinstnm");
  70. rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"5","S"); // '5' csr
  71. addComboItem( "cmb_reqflag", "전체", "", "above" );
  72. // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= T) => (goodflag= TM)
  73. ipt_goodflag.value = "TM";
  74. ipt_fromdd.value = getCurrentDate();
  75. ipt_todd.value = getCurrentDate();
  76. makeReportPreview(0,100,1195,640);
  77. }
  78. ]]>
  79. </script>
  80. <submission id="TRRSG06101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/goodlist"/>
  81. </model>
  82. </xhtml:head>
  83. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  84. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  85. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">물품불출집계(부서별)</caption>
  86. </group>
  87. <group id="grp_biz" scroll="auto" style="left:0px; top:37px; width:1195px; height:744px; ">
  88. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:61px; vertical-align:top; ">
  89. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
  90. <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:99px; height:17px; ">기관코드 :</caption>
  91. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:35px; width:120px; height:19px; text-align:center; ">
  92. <script type="javascript" ev:event="xforms-value-changed">
  93. <![CDATA[
  94. fsearch();
  95. ]]>
  96. </script>
  97. </input>
  98. <caption id="cap_day" class="search_name" style="left:15px; top:35px; width:99px; height:17px; ">조회기간 :</caption>
  99. <caption id="cap_dept" class="search_name" style="left:655px; top:35px; width:86px; height:17px; ">불출부서 :</caption>
  100. <line id="line30" class="line_4" style="x1:1110px; y1:9px; x2:1110px; y2:52px; "/>
  101. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; ">
  102. <caption>조회</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. fsearch();
  106. ]]>
  107. </script>
  108. </button>
  109. <select1 id="rdo_dept" ref="/root/send/dept" overflow="visible" appearance="full" cols="6" style="left:740px; top:35px; width:250px; height:15px; background-color:transparent; border-style:none; ">
  110. <choices>
  111. <itemset nodeset="/root/init/radiodept">
  112. <label ref="label"/>
  113. <value ref="value"/>
  114. </itemset>
  115. </choices>
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. fsearch();
  119. ]]>
  120. </script>
  121. </select1>
  122. <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:1075px; top:5px; width:25px; height:19px; "/>
  123. <output id="opt_instcd" ref="/root/send/instcd" visibility="hidden" style="left:1050px; top:5px; width:25px; height:19px; "/>
  124. <output id="opt_instnm" ref="/root/send/instnm" class="output_fix" style="left:101px; top:10px; width:144px; height:19px; text-align:center; "/>
  125. <caption id="caption1" class="search_name" style="left:349px; top:9px; width:99px; height:17px; ">청구구분 :</caption>
  126. <select1 id="cmb_reqflag" ref="/root/send/reqflag" class="combo_default" appearance="minimal" style="left:435px; top:10px; width:144px; height:19px; text-align:center; ">
  127. <choices>
  128. <itemset>
  129. <label/>
  130. <value/>
  131. </itemset>
  132. </choices>
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. fsearch();
  136. ]]>
  137. </script>
  138. </select1>
  139. <input id="ipt_goodnm" ref="/root/send/goodnm" class="input_fix" disabled="true" appearance="input" style="left:854px; top:10px; width:221px; height:19px; ">
  140. <script type="javascript" ev:event="xforms-value-changed">
  141. <![CDATA[
  142. if(ipt_goodnm.value.length == 0)
  143. ipt_goodcd.value = "";
  144. else
  145. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodnm",
  146. "goodnm," + model.getValue(opt_instcd.attribute("ref")) + "," + model.getValue(ipt_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
  147. ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
  148. model.refresh();
  149. ]]>
  150. </script>
  151. </input>
  152. <caption id="cap_goodcd" class="search_name" style="left:655px; top:9px; width:86px; height:17px; ">물품코드 :</caption>
  153. <button id="btn_goodcd" class="icon_search" style="left:834px; top:12px; width:16px; height:16px; ">
  154. <caption/>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
  158. model.refresh();
  159. ]]>
  160. </script>
  161. </button>
  162. <input id="ipt_goodcd" ref="/root/send/goodcd" class="input_default" style="left:740px; top:10px; width:90px; height:19px; ">
  163. <script type="javascript" ev:event="xforms-value-changed">
  164. <![CDATA[
  165. if(ipt_goodcd.value.length == 0)
  166. ipt_goodnm.value = "";
  167. else
  168. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd",
  169. "goodcd," + model.getValue(opt_instcd.attribute("ref")) + "," + model.getValue(ipt_goodflag.attribute("ref")) + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
  170. ipt_goodcd,"SPRSD00210","instcd,goodflag","opt_instcd,ipt_goodflag");
  171. model.refresh();
  172. ]]>
  173. </script>
  174. </input>
  175. <caption id="caption2" style="left:222px; top:36px; width:15px; height:19px; ">~</caption>
  176. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:238px; top:35px; width:120px; height:19px; text-align:center; ">
  177. <script type="javascript" ev:event="xforms-value-changed">
  178. <![CDATA[
  179. fsearch();
  180. ]]>
  181. </script>
  182. </input>
  183. </group>
  184. <caption id="cap_title" class="tit_2" style="left:5px; top:80px; width:157px; height:14px; ">물품불출집계</caption>
  185. <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  186. </group>
  187. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  188. <line id="line19" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
  189. <line id="line22" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  190. <button id="btm_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  191. <caption>초기화</caption>
  192. <script type="javascript" ev:event="DOMActivate">
  193. <![CDATA[
  194. fInitialize();
  195. ]]>
  196. </script>
  197. </button>
  198. </group>
  199. </xhtml:body>
  200. </xhtml:html>