SMAHS03100_공단입금내역$.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHS03100_공단입금내역.xrw
  4. * 설 명 : 공단입금내역
  5. * 설 계 자 : 서원식
  6. * 작 성 자 : 서원식
  7. * 작 성 일 : 2011.12.15
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>공단입금내역</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <reqlst>
  20. <item>
  21. <incomedd/>
  22. <clamdd/>
  23. <cretflag/>
  24. <sisfilename/>
  25. <clamseqno/>
  26. <sumclamamt/>
  27. <clamamt/>
  28. <incomeamt/>
  29. <cashamt/>
  30. <cardamt/>
  31. <addamt/>
  32. <discamt/>
  33. <restamt/>
  34. <remfact/>
  35. </item>
  36. </reqlst>
  37. <rexinfo/>
  38. <export>
  39. </export>
  40. </main>
  41. <send>
  42. <srchfromdd/>
  43. <srchtodd/>
  44. <srchhealexamgubun>A</srchhealexamgubun>
  45. </send>
  46. </root>
  47. </instance>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. //일자초기화
  51. model.setValue("/root/send/srchfromdd" , getCurrentDate());
  52. model.setValue("/root/send/srchtodd" , getCurrentDate());
  53. model.refresh();
  54. ]]>
  55. </script>
  56. <script type="javascript">
  57. <![CDATA[
  58. /*
  59. * 소계 및 총계를 생성한다.
  60. */
  61. function fSetRcptSum(){
  62. grd_reqlst.subtotalPosition = "below";
  63. grd_reqlst.subtotal("clear", grd_reqlst.colRef("cretflag") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", grd_reqlst.colRef("cretflag") , "소 계" );
  64. grd_reqlst.subtotal("clear", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold", grd_reqlst.colRef("cretflag"), "총 계" );
  65. for(var i=0; i < grd_reqlst.cols ; i++){
  66. if(i >= grd_reqlst.colRef("sumclamamt") && i <= grd_reqlst.colRef("restamt")){
  67. grd_reqlst.subtotal("sum", grd_reqlst.colRef("cretflag") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", grd_reqlst.colRef("cretflag") , "소 계" );
  68. grd_reqlst.subtotal("sum", -1, i, "format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#99ff99; font-weight:bold", grd_reqlst.colRef("cretflag"), "총 계" );
  69. }
  70. }
  71. }
  72. ]]>
  73. </script>
  74. <submission id="TRAHS03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reqlst"/>
  75. </model>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  82. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  83. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  84. </xhtml:head>
  85. <xhtml:body>
  86. <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
  87. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">공단 입금내역</caption>
  88. </group>
  89. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  90. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  91. <caption id="caption2" class="search_name" style="left:10px; top:9px; width:73px; height:17px; ">일자 :</caption>
  92. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_search" navindex="7" inputtype="date" style="left:77px; top:8px; width:105px; height:19px; "/>
  93. <caption id="caption19" class="search_n_b" style="left:186px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  94. <input id="input1" ref="/root/send/srchtodd" class="input_search" navindex="7" inputtype="date" style="left:200px; top:8px; width:105px; height:19px; "/>
  95. <caption id="caption13" class="search_name" style="left:315px; top:9px; width:98px; height:17px; ">건진구분 :</caption>
  96. <select1 id="radio1" ref="/root/send/srchhealexamgubun" visibility="visible" overflow="hidden" appearance="full" cols="2" style="left:405px; top:10px; width:150px; height:20px; border-style:none; ">
  97. <choices>
  98. <item>
  99. <label>공단검진</label>
  100. <value>A</value>
  101. </item>
  102. <item>
  103. <label>통합검진</label>
  104. <value>H</value>
  105. </item>
  106. </choices>
  107. </select1>
  108. <button id="btn_excelsave" class="btn6_letter4" visibility="hidden" style="left:976px; top:7px; width:80px; height:22px; ">
  109. <caption>액셀저장</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. ]]>
  113. </script>
  114. </button>
  115. <line id="line3" class="line_4" visibility="hidden" style="x1:1063px; y1:7px; x2:1063px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  116. <button id="btn_prt" class="btn6_letter2" style="left:1070px; top:7px; width:56px; height:22px; ">
  117. <caption>출력</caption>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. model.makeValue("/root/main/rexinfo/instcd" , getUserInfo("posinstcd"));
  121. model.makeValue("/root/main/rexinfo/usernm" , getUserInfo("usernm"));
  122. model.makeValue("/root/main/rexinfo/fromdd" , model.getValue("/root/send/srchfromdd"));
  123. model.makeValue("/root/main/rexinfo/todd" , model.getValue("/root/send/srchtodd"));
  124. exeReportPreview("RPAHS03100", "XMLSTR", "/root/main/export","", "false","","","","","false");
  125. ]]>
  126. </script>
  127. </button>
  128. <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  129. <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
  130. <caption>조회</caption>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. if(submit("TRAHS03100")){
  134. fSetRcptSum();
  135. model.refresh();
  136. }
  137. ]]>
  138. </script>
  139. </button>
  140. </group>
  141. <group id="group3" style="left:4px; top:63px; width:1203px; height:707px; ">
  142. <datagrid id="grd_reqlst" nodeset="/root/main/reqlst/item" caption="입금일자^청구일자^청구구분^파일명^청구번호^청구금액^실청구금액^입금액^현금입금액^카드입금액^추가액^삭감액^절사액^비고^" colsep="^" colwidth="80, 80, 100, 130, 80, 80, 80, 80, 80, 80, 80, 80, 80, 218" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:5px; width:1187px; height:691px; ">
  143. <col ref="incomedd" format="yyyy-mm-dd" style="text-align:center; "/>
  144. <col ref="clamdd" format="yyyy-mm-dd" style="text-align:center; "/>
  145. <col disabled="true" ref="cretflag" type="combo">
  146. <choices>
  147. <item>
  148. <label>건강검진1.2차</label>
  149. <value>1</value>
  150. </item>
  151. <item>
  152. <label>암</label>
  153. <value>2</value>
  154. </item>
  155. <item>
  156. <label>보건소</label>
  157. <value>3</value>
  158. </item>
  159. <item>
  160. <label>구강</label>
  161. <value>4</value>
  162. </item>
  163. <item>
  164. <label>영유아</label>
  165. <value>5</value>
  166. </item>
  167. </choices>
  168. </col>
  169. <col ref="sisfilename" type="input" style="text-align:left; "/>
  170. <col ref="clamseqno" visibility="hidden" style="text-align:center; "/>
  171. <col ref="sumclamamt" format="(-,+)#,###" style="text-align:right; "/>
  172. <col ref="clamamt" visibility="hidden" format="(-,+)#,###" style="text-align:right; "/>
  173. <col ref="incomeamt" format="(-,+)#,###" style="text-align:right; "/>
  174. <col ref="cashamt" format="(-,+)#,###" style="text-align:right; "/>
  175. <col ref="cardamt" format="(-,+)#,###" style="text-align:right; "/>
  176. <col ref="addamt" format="(-,+)#,###" style="text-align:right; "/>
  177. <col ref="discamt" format="(-,+)#,###" style="text-align:right; "/>
  178. <col ref="restamt" format="(-,+)#,###" style="text-align:right; "/>
  179. <col ref="remfact" type="input"/>
  180. </datagrid>
  181. </group>
  182. </xhtml:body>
  183. </xhtml:html>