SMPMB03600_선수납처방조회.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <init>
  10. <clsinfo>
  11. <earncls1/>
  12. <earncls1nm/>
  13. <earncls2/>
  14. <earncls2nm/>
  15. <earncls3/>
  16. <earncls3nm/>
  17. <c1rank/>
  18. <c2rank/>
  19. </clsinfo>
  20. </init>
  21. <main>
  22. <prcplist>
  23. <prcpinfo>
  24. <earncls/>
  25. <earncls1nm/>
  26. <earncls2nm/>
  27. <earncls3nm/>
  28. <matractflag/>
  29. <actgubun/>
  30. <rsrvplceflag/>
  31. <prcptdayrcptyn/>
  32. <calcscorcd/>
  33. <grupsnglflag/>
  34. <hngnm/>
  35. <execdeptnm/>
  36. </prcpinfo>
  37. </prcplist>
  38. </main>
  39. <send>
  40. <srchdd/>
  41. <earncls1/>
  42. <earncls2/>
  43. <earncls3/>
  44. <drflag/>
  45. </send>
  46. </root>
  47. </instance>
  48. <submission id="TRPMB03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcplist/prcpinfo"/>
  49. <submission id="TRPMB03602" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/clsinfo"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. model.setValue("/root/send/srchdd", getCurrentDate());
  57. ipt_srchdd.refresh();
  58. submit("TRPMB03602", false);
  59. model.setValue("/root/send/earncls1", "-");
  60. model.setValue("/root/send/earncls2", "-");
  61. model.setValue("/root/send/earncls3", "-");
  62. model.refresh();
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  68. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. if (model.getValue("/root/send/earncls1") == "-" && model.getValue("/root/send/drflag") != "Y") {
  73. messageBox("전체 처방 조회는 당일수납 처방 조회만 가능합니다.", "E999");
  74. return;
  75. }
  76. submit("TRPMB03601");
  77. ]]>
  78. </script>
  79. </button>
  80. <button id="btn_excel1" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1153px; top:65px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  81. <caption>엑셀</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. var filename = window.fileDialog("save", ",", false, "선수납처방목록", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  85. grd_prcp.saveExcel(filename, "sheetname:선수납처방목록;colhiddenextend:false;rowhiddenextend:false");
  86. messageBox("엑셀 저장이 완료되었습니다.", "I999");
  87. ]]>
  88. </script>
  89. </button>
  90. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:165px; height:14px; font-family:돋움; vertical-align:middle; ">당일 수납 처방 조회</caption>
  91. <caption id="cap_grid" class="tit_2" style="left:0px; top:70px; width:85px; height:13px; ">조회 내역</caption>
  92. <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
  93. <line id="line13" style="x1:1117px; y1:28px; x2:1117px; y2:55px; border-color:#FFD799; border-left-style:solid; "/>
  94. <datagrid id="grd_prcp" nodeset="/root/main/prcplist/prcpinfo" caption="earncls^대분류^중분류^소분류^재료행위구분^자동액팅^예약주체^당일수납^수가코드^싱글/그룹^수가명칭^시행부서" colsep="^" colwidth="0, 90, 90, 90, 100, 60, 70, 60, 100, 70, 330, 120" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1195px; height:690px; ">
  95. <col ref="earncls"/>
  96. <col ref="earncls1nm"/>
  97. <col ref="earncls2nm"/>
  98. <col ref="earncls3nm"/>
  99. <col ref="matractflag" style="text-align:center; "/>
  100. <col ref="actgubun" style="text-align:center; "/>
  101. <col ref="rsrvplceflag" style="text-align:center; "/>
  102. <col ref="prcptdayrcptyn" style="text-align:center; "/>
  103. <col ref="calcscorcd" style="text-align:center; "/>
  104. <col ref="grupsnglflag" style="text-align:center; "/>
  105. <col ref="hngnm"/>
  106. <col ref="execdeptnm"/>
  107. </datagrid>
  108. <input id="ipt_srchdd" ref="/root/send/srchdd" inputtype="date" style="left:96px; top:31px; width:85px; height:19px; "/>
  109. <caption id="caption35" class="search_name" style="left:5px; top:32px; width:89px; height:17px; ">기준일자 :</caption>
  110. <caption id="caption1" class="search_name" style="left:195px; top:32px; width:74px; height:17px; ">대분류 :</caption>
  111. <select1 id="cmb_earncls1" ref="/root/send/earncls1" appearance="minimal" style="left:270px; top:31px; width:135px; height:19px; ">
  112. <choices>
  113. <itemset nodeset="/root/init/clsinfo[c1rank = 1]">
  114. <label ref="earncls1nm"/>
  115. <value ref="earncls1"/>
  116. </itemset>
  117. </choices>
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. var earncls1 = model.getValue("/root/send/earncls1");
  121. cmb_earncls2.choices.itemset.attribute("nodeset") = "/root/init/clsinfo[earncls2 = '-' or ( c2rank = 1 and earncls1 = '" + earncls1 + "' )]";
  122. cmb_earncls3.choices.itemset.attribute("nodeset") = "/root/init/clsinfo[earncls3 = '-']";
  123. model.setValue("/root/send/earncls2", "-");
  124. model.setValue("/root/send/earncls3", "-");
  125. cmb_earncls2.refresh();
  126. cmb_earncls3.refresh();
  127. ]]>
  128. </script>
  129. </select1>
  130. <caption id="caption2" class="search_name" style="left:415px; top:32px; width:74px; height:17px; ">중분류 :</caption>
  131. <select1 id="cmb_earncls2" ref="/root/send/earncls2" appearance="minimal" style="left:490px; top:31px; width:190px; height:19px; ">
  132. <choices>
  133. <itemset nodeset="/root/init/clsinfo[earncls2 = '-']">
  134. <label ref="earncls2nm"/>
  135. <value ref="earncls2"/>
  136. </itemset>
  137. </choices>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. var earncls1 = model.getValue("/root/send/earncls1");
  141. var earncls2 = model.getValue("/root/send/earncls2");
  142. cmb_earncls3.choices.itemset.attribute("nodeset") = "/root/init/clsinfo[earncls3 = '-' or ( earncls1 = '" + earncls1 + "' and earncls2 = '" + earncls2 + "' )]";
  143. model.setValue("/root/send/earncls3", "-");
  144. cmb_earncls3.refresh();
  145. ]]>
  146. </script>
  147. </select1>
  148. <caption id="caption3" class="search_name" style="left:690px; top:32px; width:74px; height:17px; ">소분류 :</caption>
  149. <select1 id="cmb_earncls3" ref="/root/send/earncls3" appearance="minimal" style="left:765px; top:31px; width:190px; height:19px; ">
  150. <choices>
  151. <itemset nodeset="/root/init/clsinfo[earncls3 = '-']">
  152. <label ref="earncls3nm"/>
  153. <value ref="earncls3"/>
  154. </itemset>
  155. </choices>
  156. </select1>
  157. <select id="chk_drflag" ref="/root/send/drflag" overflow="visible" appearance="full" style="left:972px; top:33px; width:140px; height:15px; border-style:none; ">
  158. <choices>
  159. <item>
  160. <label>당일수납 처방만 조회</label>
  161. <value>Y</value>
  162. </item>
  163. </choices>
  164. </select>
  165. </xhtml:body>
  166. </xhtml:html>