SMPIF31100_통보월별정산지급내역조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <fromdd/>
  11. <todd/>
  12. <insukind>11</insukind>
  13. <oprcpcalcyn/>
  14. </send>
  15. <main>
  16. <list01>
  17. <gridcalcpayspec>
  18. <calcflag/>
  19. <verflag/>
  20. <notimm/>
  21. <calcdg/>
  22. <uncoym/>
  23. <clamym/>
  24. <ioflag/>
  25. <acptno/>
  26. <judgdg/>
  27. <ordfildcd/>
  28. <depodd/>
  29. <depocnt/>
  30. <depoamt/>
  31. <cutcnt/>
  32. <cutamt/>
  33. <obtappcnt/>
  34. <obtappamt/>
  35. <obtappdeciamt/>
  36. </gridcalcpayspec>
  37. </list01>
  38. </main>
  39. </root>
  40. </instance>
  41. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  42. <submission id="TRPIF31101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. // 공통코드 Load작업
  50. model.setFocus("ipt_fromdd");
  51. ]]>
  52. </script>
  53. </xhtml:head>
  54. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  56. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:269px; height:14px; ">통보월별 정산지급내역 조회</caption>
  57. </group>
  58. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  59. <caption id="caption3" class="tit_2" style="left:6px; top:55px; width:95px; height:14px; ">정산지급내역</caption>
  60. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  61. <button id="button12" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  62. <caption>액셀저장</caption>
  63. <script type="javascript" ev:event="onclick">
  64. <![CDATA[
  65. var today = new Date();
  66. var yy = today.getYear()+"";
  67. var mm = today.getMonth()+1;
  68. var dd = today.getDate();
  69. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  70. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  71. var tmp = yy+mm+dd;
  72. var titlename = "";
  73. if(model.getValue("insukind") == "11") {
  74. titlename = "통보월별정산지급내역조회(보험)_"+tmp;
  75. } else if(model.getValue("insukind") == "21") {
  76. titlename = "통보월별정산지급내역조회(보호)_"+tmp;
  77. }
  78. var fileName = window.fileDialog("save", ",", false, titlename, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  79. if (fileName != "") {
  80. grd_calcpayspec.saveExcel(fileName, "SheetName", true, true, "", "", "");
  81. }
  82. ]]>
  83. </script>
  84. </button>
  85. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  86. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  87. <button id="button2" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  88. <caption>조회</caption>
  89. <script type="javascript" ev:event="onclick">
  90. <![CDATA[
  91. if(ipt_fromdd.value == "") {
  92. messageBox("통보월 시작일을","C001");
  93. } else {
  94. submit("TRPIF31101");
  95. }
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line2" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  100. <select id="checkbox2" ref="/root/send/oprcpcalcyn" class="checkbox_search" overflow="visible" appearance="full" style="left:610px; top:9px; width:125px; height:20px; border-style:none; ">
  101. <choices>
  102. <item>
  103. <label>원외처방정산포함</label>
  104. <value>Y</value>
  105. </item>
  106. </choices>
  107. </select>
  108. <caption id="caption4" class="search_name" style="left:285px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
  109. <caption id="caption5" class="search_name" style="left:15px; top:9px; width:75px; height:17px; ">통보월 :</caption>
  110. <select1 id="rdo_insukind" ref="/root/send/insukind" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:375px; top:10px; width:135px; height:17px; border-style:none; ">
  111. <choices>
  112. <item>
  113. <label>보험</label>
  114. <value>11</value>
  115. </item>
  116. <item>
  117. <label>보호</label>
  118. <value>21</value>
  119. </item>
  120. <item>
  121. <label>산재</label>
  122. <value>41</value>
  123. </item>
  124. </choices>
  125. </select1>
  126. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:91px; top:8px; width:75px; height:19px; text-align:center; ">
  127. <script type="javascript" ev:event="DOMFocusOut">
  128. <![CDATA[
  129. ipt_todd.value = ipt_fromdd.value;
  130. ]]>
  131. </script>
  132. </input>
  133. <caption id="caption1" style="left:167px; top:11px; width:15px; height:15px; ">~</caption>
  134. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:181px; top:8px; width:79px; height:19px; text-align:center; "/>
  135. </group>
  136. <datagrid id="grd_calcpayspec" nodeset="/root/main/list01/gridcalcpayspec" class="datagrid2" caption="정산구분^구분^통보월^정산차수^미수월^청구월^내원&#xA;유형^접수번호^심사차수^진료과^입금일자^입금&#xA;건수^입금액^삭감&#xA;건수^삭감액^이의신청&#xA;건수^이의신청액^이의신청&#xA;결정액" colsep="^" colwidth="60, 45, 60, 70, 60, 60, 40, 65, 75, 50, 80, 50, 80, 50, 80, 60, 80, 80" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1194px; height:660px; ">
  137. <col ref="calcflag" style="text-align:center; "/>
  138. <col ref="verflag" style="text-align:center; "/>
  139. <col ref="notimm" format="yyyy-mm" style="text-align:center; "/>
  140. <col ref="calcdg" style="text-align:center; "/>
  141. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  142. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  143. <col ref="ioflag" style="text-align:center; "/>
  144. <col ref="acptno" style="text-align:center; "/>
  145. <col ref="judgdg" style="text-align:center; "/>
  146. <col ref="ordfildcd" style="text-align:center; "/>
  147. <col ref="depodd" format="yyyy-mm-dd" style="text-align:center; "/>
  148. <col ref="depocnt" format="#,###" style="text-align:right; "/>
  149. <col ref="depoamt" format="(-)#,###" style="text-align:right; "/>
  150. <col ref="cutcnt" format="#,###" style="text-align:right; "/>
  151. <col ref="cutamt" format="#,###" style="text-align:right; "/>
  152. <col ref="obtappcnt" format="#,###" style="text-align:right; "/>
  153. <col ref="obtappamt" format="#,###" style="text-align:right; "/>
  154. <col ref="obtappdeciamt" format="#,###" style="text-align:right; "/>
  155. <script type="javascript" ev:event="onaftersort">
  156. <![CDATA[
  157. grd_calcpayspec.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  158. ]]>
  159. </script>
  160. <script type="javascript" ev:event="oncopy">
  161. <![CDATA[
  162. grid_oncopy();
  163. ]]>
  164. </script>
  165. </datagrid>
  166. <button id="button7" class="btn2_letter6" style="left:1043px; top:49px; width:86px; height:19px; ">
  167. <caption>Open Excel</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. try {
  171. window.exec("excel");
  172. } catch(e) {
  173. alert(e);
  174. }
  175. ]]>
  176. </script>
  177. </button>
  178. <button id="button10" class="btn2_letter3" style="left:935px; top:49px; width:53px; height:19px; ">
  179. <caption>열카피</caption>
  180. <script type="javascript" ev:event="onclick">
  181. <![CDATA[
  182. grd_calcpayspec.attribute("selectionmode") = "bycol";
  183. ]]>
  184. </script>
  185. </button>
  186. <button id="button11" class="btn2_letter3" style="left:989px; top:49px; width:53px; height:19px; ">
  187. <caption>행카피</caption>
  188. <script type="javascript" ev:event="onclick">
  189. <![CDATA[
  190. grd_calcpayspec.attribute("selectionmode") = "byrow";
  191. ]]>
  192. </script>
  193. </button>
  194. <button id="button13" class="btn2_letter3" style="left:881px; top:49px; width:53px; height:19px; ">
  195. <caption>셀카피</caption>
  196. <script type="javascript" ev:event="onclick">
  197. <![CDATA[
  198. grd_calcpayspec.attribute("selectionmode") = "free";
  199. ]]>
  200. </script>
  201. </button>
  202. </group>
  203. </xhtml:body>
  204. </xhtml:html>