SMRSO21500_처방출고현황(부서)(경북대).xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>처방출고현황(부서)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <delivelist/>
  11. </main>
  12. <send>
  13. <search>
  14. <instcd/>
  15. <ddfrom/>
  16. <ddto/>
  17. <delivedeptcd/>
  18. <delivedeptnm/>
  19. <goodcdfrom/>
  20. <goodnmfrom/>
  21. <goodcdto/>
  22. <goodnmto/>
  23. <sorttype/>
  24. </search>
  25. <save/>
  26. </send>
  27. <init>
  28. </init>
  29. <hidden/>
  30. <temp>
  31. </temp>
  32. <popgood>
  33. <instcd/>
  34. <wareflag/>
  35. <goodcd/>
  36. <goodnm/>
  37. <returntype/>
  38. <selectyn/>
  39. </popgood>
  40. </root>
  41. </instance>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. //화면 Control을 초기화한다
  45. makeReportPreview(0,123,1195,637);
  46. model.removenode( "/root/main/delivelist");
  47. //misfComboComCdListMulti("Z0007","cmb_instcd"); //기관코드
  48. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  49. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  50. model.setValue("/root/send/search/ddfrom" , getCurrentDate()) //기간 설정 //.substr(0,6));
  51. model.setValue("/root/send/search/ddto" , getCurrentDate()) //기간 설정 //.substr(0,6));
  52. rdo_sorttype.value = '1'; //1:품목순
  53. //test -> 향후 삭제할 것
  54. //model.setValue("/root/send/search/reqdd", "20110816");
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRRSO21501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  72. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">처방출고현황(부서)</caption>
  74. </group>
  75. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  76. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
  77. </group>
  78. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  79. <group id="grp_search" style="left:0px; top:9px; width:1195px; height:75px; vertical-align:top; ">
  80. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  81. <button id="btn_search" class="btn1_letter2" navindex="11" style="left:1114px; top:32px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. model.removeNodeset("/root/main/delivelist");
  86. //부서에 선택된 값이 없으면, 부서를 선택하라고 alert함
  87. if(ipt_delivedeptcd.value == "") {
  88. messageBox("관리부서가 선택되지 않았습니다. \n\n관리부서를 선택하십시요.", "E999", "");
  89. model.setFocus("ipt_delivedeptcd");
  90. return;
  91. }
  92. //년월에 입력된 값이 올바르지 않으면, 년월을 선택하라고 alert함
  93. if(ipt_ddfrom.value.length < 8) {
  94. messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n조회일자을 확인하십시요.", "E999", "");
  95. model.setFocus("ipt_ddfrom");
  96. return;
  97. }
  98. if(ipt_ddto.value.length < 8) {
  99. messageBox("조회기간이 올바로 선택되지 않았습니다. \n\n조회일자을 확인하십시요.", "E999", "");
  100. model.setFocus("ipt_ddto");
  101. return;
  102. }
  103. if (submit("TRRSO21501") ){
  104. exeReportPreview("RPRSO21501", "XMLSTR");//, "/root/main/payamt");
  105. }
  106. ]]>
  107. </script>
  108. </button>
  109. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:107px; top:10px; width:136px; height:19px; ">
  110. <choices>
  111. <itemset nodeset="/root/main/init">
  112. <label ref="cnstnm"/>
  113. <value ref="cnstcd"/>
  114. </itemset>
  115. </choices>
  116. </select1>
  117. <caption id="cap_instcd" class="search_name" style="left:28px; top:10px; width:82px; height:17px; ">기관코드</caption>
  118. <input id="ipt_ddfrom" ref="/root/send/search/ddfrom" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:736px; top:10px; width:94px; height:19px; text-align:center; "/>
  119. <line id="line30" class="line_4" style="x1:1100px; y1:6px; x2:1100px; y2:58px; "/>
  120. <caption id="caption2" class="search_name" style="left:271px; top:10px; width:76px; height:17px; ">관리부서</caption>
  121. <caption id="caption9" class="search_name" style="left:656px; top:10px; width:89px; height:17px; ">조회기간</caption>
  122. <caption id="caption4" style="left:832px; top:10px; width:10px; height:20px; font-weight:bold; ">-</caption>
  123. <input id="ipt_ddto" ref="/root/send/search/ddto" navindex="5" inputtype="date" format="yyyy-mm-dd" style="left:844px; top:10px; width:94px; height:19px; text-align:center; "/>
  124. <output id="opt_goodnmto" ref="/root/send/search/goodnmto" class="output_fix" appearance="output" style="left:548px; top:34px; width:208px; height:19px; "/>
  125. <input id="ipt_goodcdfrom" ref="/root/send/search/goodcdfrom" class="input_default" navindex="6" maxlength="12" style="left:107px; top:34px; width:88px; height:19px; "/>
  126. <output id="opt_goodnmfrom" ref="/root/send/search/goodnmfrom" class="output_fix" appearance="output" style="left:216px; top:34px; width:208px; height:19px; "/>
  127. <button id="btn_goodcdto" class="icon_search" navindex="9" style="left:530px; top:34px; width:16px; height:16px; ">
  128. <caption/>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. //popup 에 전달할 parameter를 setting한다.
  132. model.setValue("/root/popgood/instcd", cmb_instcd.value);
  133. model.setValue("/root/popgood/wareflag", ""); //cmb_wareflag.value
  134. model.setValue("/root/popgood/returntype", "2"); //goodnm도 함께 return 받고자 할때, returntype을 "2" 로 설정.
  135. //selectyn(popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값) 을 초기화함
  136. model.setValue("/root/popgood/selectyn", "");
  137. //popup 프로그램 호출
  138. window.load("SPRSO20300.xrw", "modal","", "", "/root/popgood","/root/popdata");
  139. //popup에서 특정 물품코드를 선택한 경우, 해당 물품코드에 대한 상세 사항을 조회해서 그리드에 보여준다.
  140. if(model.getValue("/root/popgood/selectyn") == "Y") { //popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값
  141. ipt_goodcdto.value = model.getValue("/root/popgood/goodcd");
  142. opt_goodnmto.value = model.getValue("/root/popgood/goodnm");
  143. }
  144. ]]>
  145. </script>
  146. </button>
  147. <input id="ipt_goodcdto" ref="/root/send/search/goodcdto" class="input_default" navindex="8" maxlength="12" style="left:439px; top:34px; width:88px; height:19px; "/>
  148. <caption id="caption13" class="search_name" style="left:28px; top:34px; width:80px; height:17px; vertical-align:middle; ">물품코드</caption>
  149. <caption id="caption14" style="left:426px; top:34px; width:10px; height:20px; font-weight:bold; ">-</caption>
  150. <button id="btn_goodcdfrom" class="icon_search" navindex="7" style="left:198px; top:34px; width:16px; height:16px; ">
  151. <caption/>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. //popup 에 전달할 parameter를 setting한다.
  155. model.setValue("/root/popgood/instcd", cmb_instcd.value);
  156. model.setValue("/root/popgood/wareflag", ""); //cmb_wareflag.value
  157. model.setValue("/root/popgood/returntype", "2"); //goodnm도 함께 return 받고자 할때, returntype을 "2" 로 설정.
  158. //selectyn(popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값) 을 초기화함
  159. model.setValue("/root/popgood/selectyn", "");
  160. //popup 프로그램 호출
  161. window.load("SPRSO20300.xrw", "modal","", "", "/root/popgood","/root/popdata");
  162. //popup에서 특정 물품코드를 선택한 경우, 해당 물품코드에 대한 상세 사항을 조회해서 그리드에 보여준다.
  163. if(model.getValue("/root/popgood/selectyn") == "Y") { //popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값
  164. ipt_goodcdfrom.value = model.getValue("/root/popgood/goodcd");
  165. opt_goodnmfrom.value = model.getValue("/root/popgood/goodnm");
  166. }
  167. ]]>
  168. </script>
  169. </button>
  170. <input id="ipt_delivedeptcd" ref="/root/send/search/delivedeptcd" class="input_default" navindex="2" style="left:350px; top:10px; width:70px; height:19px; ">
  171. <script type="javascript" ev:event="xforms-value-changed">
  172. <![CDATA[
  173. misfValidationCheck("02", "", "delivedeptcd,delivedeptnm" );
  174. ]]>
  175. </script>
  176. </input>
  177. <button id="btn_delivedeptcd" class="icon_search" navindex="3" style="left:422px; top:12px; width:16px; height:16px; ">
  178. <caption/>
  179. <script type="javascript" ev:event="DOMActivate">
  180. <![CDATA[
  181. var recv_list = "delivedeptcd,delivedeptnm";
  182. misfOpenPopUpList("02", ipt_delivedeptcd,"", recv_list) ;
  183. ipt_delivedeptcd.refresh();
  184. opt_delivedeptnm.refresh();
  185. ]]>
  186. </script>
  187. </button>
  188. <output id="opt_delivedeptnm" ref="/root/send/search/delivedeptnm" class="output_fix" appearance="output" style="left:440px; top:10px; width:188px; height:19px; "/>
  189. <select1 id="rdo_sorttype" ref="/root/send/search/sorttype" navindex="10" appearance="full" cols="3" overflow="visible" style="left:799px; top:36px; width:221px; height:20px; font-weight:bold; border-style:none; ">
  190. <choices>
  191. <item>
  192. <label>품목순</label>
  193. <value>1</value>
  194. </item>
  195. <item>
  196. <label>품목명순</label>
  197. <value>2</value>
  198. </item>
  199. <item>
  200. <label>거래처순</label>
  201. <value>3</value>
  202. </item>
  203. </choices>
  204. </select1>
  205. </group>
  206. <line id="line1" class="line_1" style="x1:0px; y1:105px; x2:1195px; y2:105px; "/>
  207. <caption id="caption1" class="tit_2" style="left:0px; top:90px; width:180px; height:14px; ">처방출고현황</caption>
  208. </group>
  209. </xhtml:body>
  210. </xhtml:html>