SMPIF40300_청구및입금내역조회(보호장부).xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. [개발이력]
  4. 2007.2007.06.15 / 최초작성 / 이종찬
  5. [개발사상]
  6. 본 업무 화면에서는 다양한 정보를 제공한다. 이를 구현하기 위해 그리드 행번호를 이용한 결과 매핑 방법을 시도 할 예정이다.
  7. 원리는 그리드의 행번호를 SQL 쿼리에 하드코딩하여 그리드에 매핑시 사용하는 것이다.
  8. [할 일]
  9. (-) 서버측 쿼리문에 조회 조건에 따른 동적 쿼리를 반영해야 함
  10. (-) 그리드콤보에 공통 코드 로드해야 함
  11. (-) 에러 메시지 정제해야 함
  12. (-) 금액에 콤마 표시해주야 함
  13. (-) 필수입력사항에 대한 예외처리 해 주어야 함
  14. (-) 컨트롤 배치 점검
  15. [테스트]
  16. 필수입력: 조회버는을 누르면 임의의 데이터가 조회됨
  17. 참고사항: 내원구분을 '전체'로 하지 않을 경우 청구서에 데이터가 존재하지 않는 문제 등으로 데이터가 한 건도 조회되지 않을 수 있음
  18. -->
  19. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  20. <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">
  21. <xhtml:head>
  22. <xhtml:title>청구및입금내역조회(보호장부)</xhtml:title>
  23. <model id="model1">
  24. <instance id="instance1">
  25. <root xmlns="">
  26. <send>
  27. <termflag>clamym</termflag>
  28. <fromdd/>
  29. <todd/>
  30. <ioflag>A</ioflag>
  31. </send>
  32. <main>
  33. <list01>
  34. <gridclamdepospeclist>
  35. <clamym/>
  36. <uncoym/>
  37. <ioflag/>
  38. <clamflag/>
  39. <ordfildcd/>
  40. <acptno/>
  41. <acptdd/>
  42. <cpcd/>
  43. <assocd/>
  44. <clamcnt/>
  45. <clmcstotamt/>
  46. <clsecuinstbamt/>
  47. <clhandicaprfund/>
  48. <clsubtamt/>
  49. <judgdg/>
  50. <depodd/>
  51. <depoamt/>
  52. <depoflag/>
  53. <jrdecicnt/>
  54. <jrdeciamt/>
  55. <rtnscheamt/>
  56. <rtnamt/>
  57. <realcnt/>
  58. <realmcstotamt/>
  59. <realsecuinstbamt/>
  60. <realcutamt/>
  61. <realcutrate/>
  62. <lostamt/>
  63. <instreductamt/>
  64. <judgretecnt/>
  65. <judgretemcstotamt/>
  66. <judgreteamt/>
  67. <judgretedepocnt/>
  68. <judgretedepomcstotamt/>
  69. <judgretedepoclamamt/>
  70. <sendcnt/>
  71. <sendmcstotamt/>
  72. <sendamt/>
  73. <unclamcnt/>
  74. <unclmcstotamt/>
  75. <unclamamt/>
  76. <qualretecnt/>
  77. <qualretemcstotamt/>
  78. <qualreteclamamt/>
  79. <qualretedepocnt/>
  80. <qualretedepomcstotamt/>
  81. <qualretedepoamt/>
  82. <uncoamt/>
  83. <acptnohidn/>
  84. <ioflaghidn/>
  85. </gridclamdepospeclist>
  86. </list01>
  87. </main>
  88. <init/>
  89. <hidden/>
  90. </root>
  91. </instance>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. //CommCode_Load();
  95. // 그리드 행을 모두 삭제한다.
  96. model.removeNodeset("/root/main/list01/gridclamdepospeclist");
  97. model.refresh();
  98. ]]>
  99. </script>
  100. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  101. <submission id="TRPIF40300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  102. </model>
  103. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  105. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  106. <script type="javascript">
  107. <![CDATA[
  108. // 소계
  109. function doSubTotalOnAcptno() {
  110. grd_clamdepospeclist.subtotalposition= "below";
  111. grd_clamdepospeclist.subtotal("sum",50,10,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  112. grd_clamdepospeclist.subtotal("sum",50,11,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  113. grd_clamdepospeclist.subtotal("sum",50,12,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  114. grd_clamdepospeclist.subtotal("sum",50,13,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  115. grd_clamdepospeclist.subtotal("sum",50,14,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  116. grd_clamdepospeclist.subtotal("sum",50,17,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  117. grd_clamdepospeclist.subtotal("sum",50,19,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  118. grd_clamdepospeclist.subtotal("sum",50,20,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  119. grd_clamdepospeclist.subtotal("sum",50,21,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  120. grd_clamdepospeclist.subtotal("sum",50,22,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  121. grd_clamdepospeclist.subtotal("sum",50,23,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  122. grd_clamdepospeclist.subtotal("sum",50,24,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  123. grd_clamdepospeclist.subtotal("sum",50,25,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  124. grd_clamdepospeclist.subtotal("sum",50,26,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  125. grd_clamdepospeclist.subtotal("sum",50,27,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  126. grd_clamdepospeclist.subtotal("sum",50,28,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  127. grd_clamdepospeclist.subtotal("sum",50,29,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  128. grd_clamdepospeclist.subtotal("sum",50,30,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  129. grd_clamdepospeclist.subtotal("sum",50,31,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  130. grd_clamdepospeclist.subtotal("sum",50,32,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  131. grd_clamdepospeclist.subtotal("sum",50,33,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  132. grd_clamdepospeclist.subtotal("sum",50,34,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  133. grd_clamdepospeclist.subtotal("sum",50,35,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  134. grd_clamdepospeclist.subtotal("sum",50,36,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  135. grd_clamdepospeclist.subtotal("sum",50,37,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  136. grd_clamdepospeclist.subtotal("sum",50,38,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  137. grd_clamdepospeclist.subtotal("sum",50,39,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  138. grd_clamdepospeclist.subtotal("sum",50,40,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  139. grd_clamdepospeclist.subtotal("sum",50,41,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  140. grd_clamdepospeclist.subtotal("sum",50,42,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  141. grd_clamdepospeclist.subtotal("sum",50,43,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  142. grd_clamdepospeclist.subtotal("sum",50,44,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  143. grd_clamdepospeclist.subtotal("sum",50,45,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  144. grd_clamdepospeclist.subtotal("sum",50,46,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  145. grd_clamdepospeclist.subtotal("sum",50,47,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  146. grd_clamdepospeclist.subtotal("sum",50,48,"format:#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#ff0000; font-weight:bold; ", 3, "입원(외래)계", false);
  147. grd_clamdepospeclist.subtotal("sum",49,10,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  148. grd_clamdepospeclist.subtotal("sum",49,11,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  149. grd_clamdepospeclist.subtotal("sum",49,12,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  150. grd_clamdepospeclist.subtotal("sum",49,13,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  151. grd_clamdepospeclist.subtotal("sum",49,14,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  152. grd_clamdepospeclist.subtotal("sum",49,17,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  153. grd_clamdepospeclist.subtotal("sum",49,19,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  154. grd_clamdepospeclist.subtotal("sum",49,20,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  155. grd_clamdepospeclist.subtotal("sum",49,21,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  156. grd_clamdepospeclist.subtotal("sum",49,22,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  157. grd_clamdepospeclist.subtotal("sum",49,23,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  158. grd_clamdepospeclist.subtotal("sum",49,24,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  159. grd_clamdepospeclist.subtotal("sum",49,25,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  160. grd_clamdepospeclist.subtotal("sum",49,26,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  161. grd_clamdepospeclist.subtotal("sum",49,27,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  162. grd_clamdepospeclist.subtotal("sum",49,28,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  163. grd_clamdepospeclist.subtotal("sum",49,29,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  164. grd_clamdepospeclist.subtotal("sum",49,30,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  165. grd_clamdepospeclist.subtotal("sum",49,31,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  166. grd_clamdepospeclist.subtotal("sum",49,32,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  167. grd_clamdepospeclist.subtotal("sum",49,33,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  168. grd_clamdepospeclist.subtotal("sum",49,34,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  169. grd_clamdepospeclist.subtotal("sum",49,35,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  170. grd_clamdepospeclist.subtotal("sum",49,36,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  171. grd_clamdepospeclist.subtotal("sum",49,37,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  172. grd_clamdepospeclist.subtotal("sum",49,38,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  173. grd_clamdepospeclist.subtotal("sum",49,39,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  174. grd_clamdepospeclist.subtotal("sum",49,40,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  175. grd_clamdepospeclist.subtotal("sum",49,41,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  176. grd_clamdepospeclist.subtotal("sum",49,42,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  177. grd_clamdepospeclist.subtotal("sum",49,43,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  178. grd_clamdepospeclist.subtotal("sum",49,44,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  179. grd_clamdepospeclist.subtotal("sum",49,45,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  180. grd_clamdepospeclist.subtotal("sum",49,46,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  181. grd_clamdepospeclist.subtotal("sum",49,47,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  182. grd_clamdepospeclist.subtotal("sum",49,48,"format:#,###; roundmode:round; roundposition:0", "background-color:#aaffff; color:#0000ff; font-weight:bold; ", 6, "접수번호계", false);
  183. }
  184. ]]>
  185. </script>
  186. </xhtml:head>
  187. <xhtml:body class="datagrid2" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  188. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  189. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">청구및입금내역조회(보호장부)</caption>
  190. </group>
  191. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  192. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  193. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  194. <button id="button1" class="btn1_letter2" navindex="3" style="left:1123px; top:7px; width:56px; height:22px; ">
  195. <caption>조회</caption>
  196. <script type="javascript" ev:event="DOMActivate">
  197. <![CDATA[
  198. model.removeNodeset("/root/main/list01");
  199. submit("TRPIF40300");
  200. // 부분합 구하기
  201. doSubTotalOnAcptno();
  202. ]]>
  203. </script>
  204. </button>
  205. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  206. <caption id="caption4" class="search_name" style="left:440px; top:9px; width:93px; height:17px; ">내원유형 :</caption>
  207. <caption id="caption11" class="search_name" style="left:15px; top:9px; width:60px; height:17px; ">구분 :</caption>
  208. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" maxlength="6" format="yyyy-mm" style="left:203px; top:8px; width:92px; height:19px; ">
  209. <script type="javascript" ev:event="DOMFocusOut">
  210. <![CDATA[
  211. ipt_todd.value = ipt_fromdd.value;
  212. ]]>
  213. </script>
  214. </input>
  215. <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:531px; top:10px; width:149px; height:15px; border-style:none; ">
  216. <choices>
  217. <item>
  218. <label>전체</label>
  219. <value>A</value>
  220. </item>
  221. <item>
  222. <label>입원</label>
  223. <value>I</value>
  224. </item>
  225. <item>
  226. <label>외래</label>
  227. <value>O</value>
  228. </item>
  229. </choices>
  230. </select1>
  231. <select1 id="rdo_termflag" ref="/root/send/termflag" class="radio_search" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:78px; top:10px; width:115px; height:15px; border-style:none; ">
  232. <choices>
  233. <item>
  234. <label>청구월</label>
  235. <value>clamym</value>
  236. </item>
  237. <item>
  238. <label>미수월</label>
  239. <value>uncoym</value>
  240. </item>
  241. </choices>
  242. <script type="javascript" ev:event="xforms-select">
  243. <![CDATA[
  244. model.setFocus("ipt_fromdd");
  245. ]]>
  246. </script>
  247. </select1>
  248. <caption id="caption2" style="left:298px; top:11px; width:15px; height:15px; ">~</caption>
  249. <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" maxlength="6" format="yyyy-mm" style="left:312px; top:8px; width:90px; height:19px; "/>
  250. </group>
  251. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:154px; height:14px; ">청구및입금내역 목록</caption>
  252. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  253. <datagrid id="grd_clamdepospeclist" nodeset="/root/main/list01/gridclamdepospeclist" class="datagrid2" caption="청구월^미수월^내원유형^청구형태^차수^분야^접수번호^접수일자^시도별^시군별^청구&#xA;건수^총진료비^청구액^장애인^대불금^심사차수^통장&#xA;입금일자^통장입금액^명칭구분^비고^심결&#xA;건수^심사결정액^심결장애인^환수예정액^환수금^기관삭감액^실삭감액^삭감율^결손액^심사보류&#xA;건수^심사보류&#xA;총진료비^심사보류액^심사보류장애인^반송&#xA;건수^반송&#xA;총진료비^반송액^반송장애인^자격보류&#xA;건수^자격보류&#xA;총진료비^자격보류액^자격보류장애인^미수금^접수번호^내원유형" colsep="^" colwidth="61, 60, 90, 60, 60, 45, 80, 70, 50, 110, 45, 80, 80, 80, 80, 70, 70, 80, 80, 100, 45, 80, 100, 80, 80, 100, 80, 50, 80, 60, 80, 80, 100, 45, 80, 80, 100, 55, 80, 80, 100, 80, 53, 95" dataheight="23" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:669px; ">
  254. <col ref="clamym" format="yyyy-mm" style="left:20px; top:32px; width:70px; height:23px; text-align:center; "/>
  255. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  256. <col ref="ioflag" style="text-align:center; "/>
  257. <col ref="clamflag" style="text-align:center; "/>
  258. <col ref="clamdg" style="text-align:center; "/>
  259. <col ref="ordfildcd" style="text-align:center; "/>
  260. <col ref="acptno" style="left:335px; top:32px; width:80px; height:23px; text-align:center; "/>
  261. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  262. <col ref="cpcd" style="text-align:center; "/>
  263. <col ref="assocd"/>
  264. <col ref="clamcnt" format="#,###" style="text-align:right; "/>
  265. <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
  266. <col ref="clsecuinstbamt" format="#,###" style="text-align:right; "/>
  267. <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
  268. <col ref="clsubtamt" format="#,###" style="text-align:right; "/>
  269. <col ref="judgdg" style="text-align:center; "/>
  270. <col ref="depodd" format="yyyy-mm-dd" style="text-align:center; "/>
  271. <col ref="depoamt" format="#,###" style="text-align:right; "/>
  272. <col ref="depoflag" style="text-align:center; "/>
  273. <col ref="rem"/>
  274. <col ref="jrdecicnt" format="#,###" style="text-align:right; "/>
  275. <col ref="jrdeciamt" format="#,###" style="text-align:right; "/>
  276. <col ref="jrhandicaprfundsum" format="#,###" style="text-align:right; "/>
  277. <col ref="rtnscheamt" format="#,###" style="text-align:right; "/>
  278. <col ref="rtnamt" format="#,###" style="text-align:right; "/>
  279. <col ref="instreductamt" format="#,###" style="text-align:right; "/>
  280. <col ref="realcutamt" format="#,###" style="text-align:right; "/>
  281. <col ref="realcutrate" style="text-align:center; "/>
  282. <col ref="lostamt" format="#,###" style="text-align:right; "/>
  283. <col ref="judgretecnt" format="#,###" style="text-align:right; "/>
  284. <col ref="judgretemcstotamt" format="#,###" style="text-align:right; "/>
  285. <col ref="judgreteamt" format="#,###" style="text-align:right; "/>
  286. <col ref="judgretehandicapamt" format="#,###" style="text-align:right; "/>
  287. <col ref="sendcnt" format="#,###" style="text-align:right; "/>
  288. <col ref="sendmcstotamt" format="#,###" style="text-align:right; "/>
  289. <col ref="sendamt" format="#,###" style="text-align:right; "/>
  290. <col ref="sendhandicapamt" format="#,###" style="text-align:right; "/>
  291. <col ref="qualretecnt" format="#,###" style="text-align:right; "/>
  292. <col ref="qualretemcstotamt" format="#,###" style="text-align:right; "/>
  293. <col ref="qualreteclamamt" format="#,###" style="text-align:right; "/>
  294. <col ref="qualreteclhandicapamt" format="#,###" style="text-align:right; "/>
  295. <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  296. <col ref="acptnohidn" visibility="hidden"/>
  297. <col ref="ioflaghidn" visibility="hidden"/>
  298. <script type="javascript" ev:event="oncopy">
  299. <![CDATA[
  300. grid_oncopy();
  301. ]]>
  302. </script>
  303. <script type="javascript" ev:event="onaftersort">
  304. <![CDATA[
  305. grd_clamdepospeclist.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  306. ]]>
  307. </script>
  308. </datagrid>
  309. <button id="button7" class="btn2_letter6" style="left:1043px; top:49px; width:86px; height:19px; ">
  310. <caption>Open Excel</caption>
  311. <script type="javascript" ev:event="DOMActivate">
  312. <![CDATA[
  313. try {
  314. window.exec("excel");
  315. } catch(e) {
  316. alert(e);
  317. }
  318. ]]>
  319. </script>
  320. </button>
  321. <button id="button10" class="btn2_letter3" style="left:935px; top:49px; width:53px; height:19px; ">
  322. <caption>열카피</caption>
  323. <script type="javascript" ev:event="onclick">
  324. <![CDATA[
  325. grd_clamdepospeclist.attribute("selectionmode") = "bycol";
  326. ]]>
  327. </script>
  328. </button>
  329. <button id="button11" class="btn2_letter3" style="left:989px; top:49px; width:53px; height:19px; ">
  330. <caption>행카피</caption>
  331. <script type="javascript" ev:event="onclick">
  332. <![CDATA[
  333. grd_clamdepospeclist.attribute("selectionmode") = "byrow";
  334. ]]>
  335. </script>
  336. </button>
  337. <button id="button12" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  338. <caption>액셀저장</caption>
  339. <script type="javascript" ev:event="onclick">
  340. <![CDATA[
  341. var today = new Date();
  342. var yy = today.getYear()+"";
  343. var mm = today.getMonth()+1;
  344. var dd = today.getDate();
  345. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  346. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  347. var tmp = yy+mm+dd;
  348. var titlename = "";
  349. titlename = "청구및입금내역조회(보호장부)_"+tmp;
  350. var fileName = window.fileDialog("save", ",", false, titlename, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  351. if (fileName != "") {
  352. grd_clamdepospeclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  353. }
  354. ]]>
  355. </script>
  356. </button>
  357. <button id="button13" class="btn2_letter3" style="left:881px; top:49px; width:53px; height:19px; ">
  358. <caption>셀카피</caption>
  359. <script type="javascript" ev:event="onclick">
  360. <![CDATA[
  361. grd_clamdepospeclist.attribute("selectionmode") = "free";
  362. ]]>
  363. </script>
  364. </button>
  365. </group>
  366. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  367. </xhtml:body>
  368. </xhtml:html>