SPPIE01210_줄번호500.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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>줄번호 500</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <send_lnno500>
  11. <termflag/>
  12. <fromjudgdg/>
  13. <tojudgdg/>
  14. <insuflag/>
  15. <acptno/>
  16. <chosflag/>
  17. <clamno/>
  18. <ordfildcd/>
  19. <scrflag/>
  20. </send_lnno500>
  21. <send_judgdg>
  22. <acptno/>
  23. </send_judgdg>
  24. <send_clamkey>
  25. <srchcond>2</srchcond>
  26. <srchcond1/>
  27. <srchcond2/>
  28. <docuseqno/>
  29. <scrflag/>
  30. </send_clamkey>
  31. </send>
  32. <main>
  33. <list01>
  34. <gridlnno500>
  35. <acptno/>
  36. <judgdg/>
  37. <docuseqno/>
  38. <patnm/>
  39. <mpsno/>
  40. <prcpcorpmark/>
  41. <prcpcorpnm/>
  42. <adjtresn/>
  43. <adjtdrugcd/>
  44. <drugnm/>
  45. <corpramt/>
  46. <ownbrtnamt/>
  47. <insubramt/>
  48. <adjtamt/>
  49. <notidd/>
  50. </gridlnno500>
  51. </list01>
  52. </main>
  53. <init>
  54. <U0001list>
  55. <U0001>
  56. <srchcond2/>
  57. </U0001>
  58. </U0001list>
  59. </init>
  60. <hidden/>
  61. </root>
  62. </instance>
  63. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  64. <submission id="TRPIE01210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_lnno500" resultref="/root/main/list01"/>
  65. <submission id="TRPIE01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamkey" resultref="/root/init/U0001list"/>
  66. <submission id="TRPIE01212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamkey" resultref="/root/main/list01"/>
  67. </model>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. ipt_srchcond1.value = model.getValue("/root/send/send_clamkey/srchcond1");
  71. if (model.getValue("/root/send/send_lnno500/scrflag") != "") { // 화면구분(f090 또는 f080) 인스턴스값이 널이 아닌경우
  72. model.setValue("/root/send/send_clamkey/scrflag", model.getValue("/root/send/send_lnno500/scrflag"));
  73. }
  74. if (model.getValue("/root/send/send_lnno500/scrflag") == "f080") {
  75. grd_remdata.valueMatrix(0,2) = "정산심사차수";
  76. }
  77. if (model.getValue("/root/send/send_clamkey/srchcond1") != "") {
  78. submit("TRPIE01212"); // 심사차수에 해당하는 모든 접수번호의 데이터 조회
  79. submit("TRPIE01211"); // 심사차수에 해당하는 접수번호 조회
  80. }
  81. else {
  82. ipt_srchcond1.disabled = false; // srchcond1 Input 박스 활성
  83. cmb_srchcond2.disabled = true; // srchcond2 콤보박스 비활성
  84. model.setFocus("ipt_srchcond1");
  85. }
  86. ]]>
  87. </script>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  91. <script type="javascript">
  92. <![CDATA[
  93. // 공통코드 Load작업
  94. function CommCode_Load() {
  95. }
  96. ]]>
  97. </script>
  98. </xhtml:head>
  99. <xhtml:body pagewidth="1120" pageheight="650" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  100. <group id="group1" style="left:0px; top:0px; width:1100px; height:13px; ">
  101. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:115px; height:13px; ">줄번호 500</caption>
  102. </group>
  103. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1100px; height:585px; ">
  104. <line id="line1" class="line_1" style="x1:0px; y1:68px; x2:1100px; y2:68px; "/>
  105. <caption id="caption2" class="tit_2" style="left:5px; top:53px; width:98px; height:13px; ">원외처방내역</caption>
  106. <datagrid id="grd_remdata" nodeset="/root/main/list01/gridlnno500" class="datagrid2" caption="접수번호^심사차수^명일련^수진자명^처방전교부번호^약국코드^약국명^조정&#xA;사유^약품코드^약품명^요양기관&#xA;환수금^본인부담&#xA;환급금^보험자부담&#xA;환수액^조정액^통보일자^^생성^등록번호^청구일자^입원일자^적용일자^환자유형^조합기호^장애수첩^접수번호^심사차수^일련번호^처리구분^총진료비(청구)^본인부담(청구)^청구금액^비고^생성여부" colsep="^" colwidth="70, 80, 50, 60, 100, 70, 80, 40, 80, 200, 80, 80, 80, 80, 80" dataheight="25" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:72px; width:1100px; height:510px; ">
  107. <col ref="acptno" style="text-align:center; "/>
  108. <col ref="judgdg" style="text-align:center; "/>
  109. <col ref="docuseqno" style="text-align:center; "/>
  110. <col ref="patnm" style="text-align:center; "/>
  111. <col ref="mpsno" style="text-align:center; "/>
  112. <col ref="prcpcorpmark" style="text-align:center; "/>
  113. <col ref="prcpcorpnm" style="text-align:center; "/>
  114. <col ref="adjtresn" style="text-align:center; "/>
  115. <col ref="adjtdrugcd" style="text-align:center; "/>
  116. <col ref="drugnm" style="text-align:left; "/>
  117. <col ref="corpramt" format="#,###" style="text-align:right; "/>
  118. <col ref="ownbrtnamt" format="#,###" style="text-align:right; "/>
  119. <col ref="insubramt" format="#,###" style="text-align:right; "/>
  120. <col ref="adjtamt" format="#,###" style="text-align:right; "/>
  121. <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
  122. </datagrid>
  123. <button id="button3" class="btn2_letter4" style="left:1030px; top:47px; width:64px; height:19px; ">
  124. <caption>엑셀저장</caption>
  125. <script type="javascript" ev:event="onclick">
  126. <![CDATA[
  127. var fileName = window.fileDialog("save", ",", false, "원외처방심사결과통보서(F090) _줄번호500", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  128. if (fileName != "") {
  129. grd_remdata.saveExcel(fileName, "SheetName", true, true, "", "", "");
  130. }
  131. ]]>
  132. </script>
  133. </button>
  134. <group id="group2" style="left:0px; top:8px; width:1100px; height:34px; vertical-align:top; ">
  135. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1100px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
  136. <line id="line13" class="line_4" style="x1:1005px; y1:6px; x2:1005px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  137. <button id="btn_search" class="btn1_letter2" style="left:1020px; top:6px; width:56px; height:22px; ">
  138. <caption>조회</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. if (rdo_srchcond.value == "") {
  142. messageBox("조회조건을","C002");
  143. return false;
  144. }
  145. else if (rdo_srchcond.value == "1") {
  146. if (ipt_srchcond1.value == "") {
  147. messageBox("접수번호를 입력","I008");
  148. model.setFocus("ipt_srchcond1");
  149. return false;
  150. }
  151. }
  152. else if (rdo_srchcond.value == "2") {
  153. if (ipt_srchcond1.value == "") {
  154. messageBox("심사차수를 입력","I008");
  155. model.setFocus("ipt_srchcond1");
  156. return false;
  157. }
  158. }
  159. submit("TRPIE01212");
  160. ]]>
  161. </script>
  162. </button>
  163. <!--caption id="caption3" class="search_name" style="left:396px; top:9px; width:74px; height:17px; ">명일련 :</caption>
  164. <input id="ipt_docuseqno" ref="/root/send/send_clamkey/docuseqno" class="input_search" style="left:475px; top:8px; width:95px; height:19px; ">
  165. <script type="javascript" ev:event="onkeyup">
  166. <![CDATA[
  167. if(event.keyCode == "13") {
  168. setInputNodeCurText();
  169. var retVal = null;
  170. // 접수번호로 청구번호(ClamNo)정보를 조회한다.
  171. var acptno = model.getValue("/root/send/acptno");
  172. model.setValue("/root/send/send_clamno/acptno", acptno);
  173. submit("TRPIE01204");
  174. model.setValue("/root/send/clamno", model.getValue("/root/hidden/list01/list_clamno/claminfo/clamno"));
  175. model.refresh();
  176. //model.setfocus("ipt_clamno");
  177. }
  178. ]]>
  179. </script>
  180. </input-->
  181. <input id="ipt_srchcond1" ref="/root/send/send_clamkey/srchcond1" class="input_search" style="left:210px; top:8px; width:90px; height:19px; ">
  182. <script type="javascript" ev:event="onkeyup">
  183. <![CDATA[
  184. setInputNodeCurText();
  185. if (event.keyCode == "13") {
  186. if (submit("TRPIE01211")) {
  187. cmb_srchcond2.disabled = false;
  188. if (cmb_srchcond2.length > 1) {
  189. addComboItem("cmb_srchcond2"," ", "전체");
  190. cmb_srchcond2.select(1);
  191. }
  192. else {
  193. cmb_srchcond2.select(0);
  194. }
  195. model.setFocus("cmb_srchcond2");
  196. }
  197. }
  198. ]]>
  199. </script>
  200. </input>
  201. <select1 id="cmb_srchcond2" ref="/root/send/send_clamkey/srchcond2" class="combo_search" appearance="minimal" style="left:302px; top:8px; width:90px; height:19px; ">
  202. <choices>
  203. <itemset nodeset="/root/init/U0001list/U0001">
  204. <label ref="srchcond2"/>
  205. <value ref="srchcond2"/>
  206. </itemset>
  207. </choices>
  208. <script type="javascript" ev:event="xforms-select">
  209. <![CDATA[
  210. submit("TRPIE01212");
  211. ]]>
  212. </script>
  213. </select1>
  214. <select1 id="rdo_srchcond" ref="/root/send/send_clamkey/srchcond" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:15px; top:9px; width:185px; height:16px; font-weight:bold; border-style:none; ">
  215. <choices>
  216. <item>
  217. <label>접수번호</label>
  218. <value>1</value>
  219. </item>
  220. <item>
  221. <label>(정산)심사차수</label>
  222. <value>2</value>
  223. </item>
  224. </choices>
  225. <script type="javascript" ev:event="xforms-select">
  226. <![CDATA[
  227. model.setValue("/root/send/send_clamkey/srchcond1","");
  228. model.setValue("/root/send/send_clamkey/srchcond2","");
  229. model.refresh();
  230. // ipt_srchcond1.value = "";
  231. // cmb_srchcond2.value = "";
  232. // cmb_clamno.value = "";
  233. // ipt_docuseqno.value = "";
  234. ipt_srchcond1.disabled = false; // srchcond1 Input 박스 활성
  235. cmb_srchcond2.disabled = true; // srchcond2 콤보박스 비활성
  236. // cmb_clamno.disabled = true; // 청구번호 콤보박스 비활성
  237. // ipt_docuseqno.disabled = true; // 명일련 Input 박스 비활성
  238. model.setFocus("ipt_srchcond1");
  239. ]]>
  240. </script>
  241. </select1>
  242. </group>
  243. </group>
  244. <group id="grp_btn" scroll="auto" style="left:0px; top:600px; width:1100px; height:27px; ">
  245. <line id="line33" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
  246. <button id="button1" class="btn4_letter2" style="left:1039px; top:5px; width:56px; height:22px; ">
  247. <caption>닫기</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. // 윈도우 닫기
  251. window.close();
  252. ]]>
  253. </script>
  254. </button>
  255. </group>
  256. </xhtml:body>
  257. </xhtml:html>