SMPIC90600_행위재료조회.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <calcscor>
  11. <calcscorlist/>
  12. </calcscor>
  13. </main>
  14. <send>
  15. <actcd/>
  16. <hngnm/>
  17. <engnm/>
  18. <ordnm/>
  19. <instcd/>
  20. </send>
  21. <init/>
  22. <temp/>
  23. </root>
  24. </instance>
  25. <submission id="TRPIC90010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/calcscor"/>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. // alert(getUserInfo("dutplceinstcd"));
  29. fInitialize();
  30. ]]>
  31. </script>
  32. </model>
  33. <script type="javascript">
  34. <![CDATA[
  35. function fInitialize(){
  36. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  37. model.removeNodeset("/root/main/calcscor/calcscorlist");
  38. model.setFocus("ipt_actcd");
  39. model.refresh();
  40. }
  41. function fmatch(){
  42. opener.javascript.setParameter("actcd" ,model.getValue("/root/main/calcscor/calcscorlist["+grd_calcscor.row+"]/actcd")); //처방코드
  43. opener.javascript.setParameter("hngnm" ,model.getValue("/root/main/calcscor/calcscorlist["+grd_calcscor.row+"]/hngnm")); //한글명
  44. opener.javascript.setParameter("engnm" ,model.getValue("/root/main/calcscor/calcscorlist["+grd_calcscor.row+"]/engnm")); //영문명
  45. opener.javascript.setParameter("ordnm" ,model.getValue("/root/main/calcscor/calcscorlist["+grd_calcscor.row+"]/ordnm")); //처방명
  46. }
  47. ]]>
  48. </script>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. </xhtml:head>
  53. <xhtml:body pagewidth="800" pageheight="400">
  54. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:140px; height:14px; ">행위재료조회</caption>
  55. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:10px; top:25px; width:780px; height:80px; "/>
  56. <caption id="caption2" class="search_name" style="left:20px; top:40px; width:122px; height:17px; ">행위처방코드 :</caption>
  57. <caption id="caption3" class="search_name" style="left:20px; top:74px; width:113px; height:17px; ">한 글 명 :</caption>
  58. <caption id="caption4" class="search_name" style="left:355px; top:40px; width:113px; height:17px; ">영 문 명 :</caption>
  59. <caption id="caption5" class="search_name" style="left:355px; top:74px; width:113px; height:17px; ">처 방 명 :</caption>
  60. <input id="ipt_hngnm" ref="/root/send/hngnm" imemode="hangul" style="left:145px; top:72px; width:195px; height:19px; ">
  61. <script type="javascript" ev:event="onkeydown">
  62. <![CDATA[
  63. if(event.keyCode == "13") {
  64. setInputNodeCurText();
  65. ipt_hngnm.refresh();
  66. btn_actsearch.dispatch("DOMActivate");
  67. }
  68. ]]>
  69. </script>
  70. </input>
  71. <input id="ipt_ordnm" ref="/root/send/ordnm" style="left:483px; top:72px; width:197px; height:19px; ">
  72. <script type="javascript" ev:event="onkeydown">
  73. <![CDATA[
  74. if(event.keyCode == "13") {
  75. setInputNodeCurText();
  76. ipt_ordnm.refresh();
  77. btn_actsearch.dispatch("DOMActivate");
  78. }
  79. ]]>
  80. </script>
  81. </input>
  82. <input id="ipt_engnm" ref="/root/send/engnm" style="left:483px; top:41px; width:197px; height:19px; ">
  83. <script type="javascript" ev:event="onkeydown">
  84. <![CDATA[
  85. if(event.keyCode == "13") {
  86. setInputNodeCurText();
  87. ipt_engnm.refresh();
  88. btn_actsearch.dispatch("DOMActivate");
  89. }
  90. ]]>
  91. </script>
  92. </input>
  93. <line id="line1" class="line_4" style="x1:705px; y1:38px; x2:705px; y2:93px; "/>
  94. <button id="btn_actsearch" class="btn1_letter2" style="left:719px; top:53px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  95. <caption>조회</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. //model.removeNodeset("/root/main/calcscor/calcscorlist");
  99. submit("TRPIC90010");
  100. // model.refresh();
  101. ]]>
  102. </script>
  103. </button>
  104. <datagrid id="grd_calcscor" nodeset="/root/main/calcscor/calcscorlist" caption="수가코드^기관코드^EDI코드^한글명^영문명^처방명" colsep="^" colwidth="89, 6, 8, 234, 220, 222" mergecellsfixedrows="bycolrec" rowsep="|" style="left:7px; top:163px; width:785px; height:187px; ">
  105. <col ref="actcd" style="text-align:left; padding-left:10; "/>
  106. <col ref="instcd" visibility="hidden"/>
  107. <col ref="insuedicd" visibility="hidden"/>
  108. <col ref="hngnm"/>
  109. <col ref="engnm"/>
  110. <col ref="ordnm"/>
  111. <script type="javascript" ev:event="ondblclick">
  112. <![CDATA[
  113. btn_actselect.dispatch("DOMActivate");
  114. model.refresh();
  115. ]]>
  116. </script>
  117. </datagrid>
  118. <line id="line3" class="line_1" style="x1:8px; y1:154px; x2:790px; y2:153px; "/>
  119. <caption id="caption21" class="tit_2" style="left:4px; top:129px; width:139px; height:13px; ">행위물품 리스트</caption>
  120. <button id="button2" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:725px; top:360px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  121. <caption>취소</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. window.close();
  125. ]]>
  126. </script>
  127. <hint>
  128. <![CDATA[popup창을 닫을 수 있습니다]]>
  129. </hint>
  130. </button>
  131. <button id="btn_actselect" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:659px; top:360px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  132. <caption>선택</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. fmatch();
  136. model.close();
  137. ]]>
  138. </script>
  139. <hint>
  140. <![CDATA[원하는 리스트를 선택한 후 클릭해 주십시오]]>
  141. </hint>
  142. </button>
  143. <input id="ipt_instcd" ref="/root/send/instcd" visibility="hidden" style="left:285px; top:40px; width:45px; height:15px; "/>
  144. <input id="ipt_actcd" ref="/root/send/actcd" _chartype="upper" style="left:145px; top:41px; width:195px; height:19px; ">
  145. <script type="javascript" ev:event="onkeydown">
  146. <![CDATA[
  147. if(event.keyCode == "13") {
  148. setInputNodeCurText();
  149. ipt_actcd.refresh();
  150. btn_actsearch.dispatch("DOMActivate");
  151. }
  152. ]]>
  153. </script>
  154. <hint>
  155. <![CDATA[행위코드를 조회 할 수 있습니다]]>
  156. </hint>
  157. </input>
  158. </xhtml:body>
  159. </xhtml:html>