SMPIE02100_산재개산지급결정통지서(I040)조회.xrw 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2011.04.12 / 최초작성 /김상민
  4. -->
  5. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  6. <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">
  7. <xhtml:head>
  8. <xhtml:title>산재개산지급결정통지서(I040)조회</xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <main>
  13. <grid>
  14. <gridlisti040>
  15. <i040/>
  16. </gridlisti040>
  17. </grid>
  18. </main>
  19. <send>
  20. <fromnotidd/>
  21. <tonotidd/>
  22. <clamno/>
  23. <acptno/>
  24. <cmpyflag/>
  25. </send>
  26. <init>
  27. <P0504list>
  28. <P0504>
  29. <cdid/>
  30. <cdnm/>
  31. </P0504>
  32. </P0504list>
  33. </init>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. // 공통코드
  39. CommCode_Load();
  40. fInitialize();
  41. ]]>
  42. </script>
  43. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  44. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  45. <submission id="TRPIE02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  53. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  54. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  55. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  56. <script type="javascript">
  57. <![CDATA[
  58. // 공통코드
  59. function CommCode_Load() {
  60. zbcfGetCodeList(new Array("P0504"),
  61. new Array("/root/init/P0504list"));
  62. model.refresh();
  63. }
  64. // 초기화
  65. function fInitialize() {
  66. var today = getCurrentDate();
  67. model.resetInstanceNode("/root/send");
  68. model.setValue("/root/send/fromnotidd", today); // 시작일
  69. model.setValue("/root/send/tonotidd", today); // 종료일
  70. ipt_clamno.value = "" // 청구번호
  71. ipt_acptno.value = "" // 접수번호
  72. model.setValue("/root/send/cmpyflag", "-"); //사업구분
  73. // 그리드 공라인 없애기
  74. model.removeNodeset("/root/main/grid/gridlisti040");
  75. model.refresh();
  76. // 포커스 이동
  77. model.setFocus("ipt_fromnotidd");
  78. }
  79. ]]>
  80. </script>
  81. </xhtml:head>
  82. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  84. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">산재개산지급결정통지서(I040)조회</caption>
  85. </group>
  86. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  87. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  88. </group>
  89. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  90. <caption id="caption36" class="tit_2" style="left:5px; top:80px; width:169px; height:14px; ">I040</caption>
  91. <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  92. <button id="button12" class="btn2_letter4" style="left:1127px; top:75px; width:64px; height:19px; ">
  93. <caption>엑셀저장</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  97. // 그리드 제목을 선택하면 저장이 안된다.
  98. if (grd_i040.rows == 1) {
  99. return;
  100. }
  101. var fileName = window.fileDialog("save", ",", false, "I040-산재개산지급통지서_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  102. if (fileName != "")
  103. {
  104. grd_i040.saveExcel(fileName, "SheetName", true, true, "", "", "");
  105. }
  106. ]]>
  107. </script>
  108. </button>
  109. <datagrid id="grd_i040" nodeset="/root/main/grid/gridlisti040/i040" caption="접수번호^차수^서식번호^청구기관코드^사업구분^발송번호^청구번호^접수일자^통지일자^지급일자^청구액^개산대상금액^개산지급액^개산지급률^개산실지급액^소득세^주민세^공제총액^개산지급률 결정사유^통지사항" colsep="^" colwidth="80, 65, 70, 100, 90, 70, 100, 75, 75, 75, 100, 100, 100, 80, 100, 100, 100, 100, 200, 200" dataheight="23" defaultrows="1" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:100px; width:1194px; height:642px; ">
  110. <col ref="acptno" style="text-align:center; "/>
  111. <col ref="dg" style="text-align:center; "/>
  112. <col ref="docuno" format="yyyy/mm" style="text-align:center; "/>
  113. <col ref="healcareinstcd" style="text-align:center; "/>
  114. <col ref="cmpyflag" style="text-align:center; "/>
  115. <col ref="sendno" style="text-align:center; "/>
  116. <col ref="clamno" style="text-align:center; "/>
  117. <col ref="acptdd" format="yyyy/mm/dd" style="text-align:center; "/>
  118. <col ref="notidd" format="yyyy/mm/dd" style="text-align:center; "/>
  119. <col ref="paydd" format="yyyy/mm/dd" style="text-align:center; "/>
  120. <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
  121. <col ref="calctrgtamt" format="#,###" style="text-align:right; "/>
  122. <col ref="calcpayamt" format="(-)#,###" style="text-align:right; "/>
  123. <col ref="calcpayrt" style="text-align:center; "/>
  124. <col ref="calcrlpayamt" format="(-)#,###" style="text-align:right; "/>
  125. <col ref="incmtax" format="#,###" style="text-align:right; "/>
  126. <col ref="resdntax" format="(-)#,###" style="text-align:right; "/>
  127. <col ref="dedutotamt" format="#,###" style="text-align:right; "/>
  128. <col ref="calcpayrtdeciresn" style="text-align:left; "/>
  129. <col ref="notifact" style="text-align:left; "/>
  130. <script type="javascript" ev:event="oncopy">
  131. <![CDATA[
  132. grid_oncopy();
  133. ]]>
  134. </script>
  135. </datagrid>
  136. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  137. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  138. <caption id="cap_toacptym" class="search_name" style="left:0px; top:22px; width:86px; height:17px; ">통지일자 :</caption>
  139. <input id="ipt_fromnotidd" ref="/root/send/fromnotidd" class="input_search" inputtype="date" style="left:94px; top:21px; width:85px; height:19px; ">
  140. <script type="javascript" ev:event="DOMFocusOut">
  141. <![CDATA[
  142. ]]>
  143. </script>
  144. </input>
  145. <caption id="caption31" style="left:184px; top:22px; width:15px; height:15px; ">~</caption>
  146. <input id="ipt_tonotidd" ref="/root/send/tonotidd" class="input_search" inputtype="date" style="left:198px; top:21px; width:85px; height:19px; ">
  147. <script type="javascript" ev:event="DOMFocusOut">
  148. <![CDATA[
  149. ]]>
  150. </script>
  151. </input>
  152. <caption id="caption34" class="search_name" style="left:805px; top:21px; width:90px; height:17px; ">사업구분 :</caption>
  153. <select1 id="cmb_cmpyflag" ref="/root/send/cmpyflag" class="combo_search" appearance="minimal" style="left:894px; top:21px; width:100px; height:19px; ">
  154. <choices>
  155. <itemset nodeset="/root/init/P0504list/P0504">
  156. <label ref="cdnm"/>
  157. <value ref="cdid"/>
  158. </itemset>
  159. </choices>
  160. </select1>
  161. <caption id="caption35" class="search_name" style="left:330px; top:21px; width:90px; height:17px; ">청구번호 :</caption>
  162. <input id="ipt_clamno" ref="/root/send/clamno" class="input_search" style="left:420px; top:21px; width:100px; height:19px; "/>
  163. <caption id="caption30" class="search_name" style="left:564px; top:21px; width:90px; height:17px; ">접수번호 :</caption>
  164. <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" style="left:654px; top:21px; width:100px; height:19px; "/>
  165. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  166. <button id="btn_research" class="btn1_letter2" style="left:1123px; top:19px; width:56px; height:22px; ">
  167. <caption>조회</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. if ((ipt_fromnotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "") ||
  171. (ipt_tonotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "")) {
  172. messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
  173. }
  174. else {
  175. submit("TRPIE02101");
  176. }
  177. ]]>
  178. </script>
  179. </button>
  180. </group>
  181. <button id="button10" class="btn2_letter3" style="left:1016px; top:75px; width:53px; height:19px; ">
  182. <caption>열카피</caption>
  183. <script type="javascript" ev:event="onclick">
  184. <![CDATA[
  185. grd_i040.attribute("selectionmode") = "bycol";
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="button11" class="btn2_letter3" style="left:1071px; top:75px; width:53px; height:19px; ">
  190. <caption>행카피</caption>
  191. <script type="javascript" ev:event="onclick">
  192. <![CDATA[
  193. grd_i040.attribute("selectionmode") = "byrow";
  194. ]]>
  195. </script>
  196. </button>
  197. <button id="button13" class="btn2_letter3" style="left:961px; top:75px; width:53px; height:19px; ">
  198. <caption>셀카피</caption>
  199. <script type="javascript" ev:event="onclick">
  200. <![CDATA[
  201. grd_i040.attribute("selectionmode") = "free";
  202. ]]>
  203. </script>
  204. </button>
  205. </group>
  206. </xhtml:body>
  207. </xhtml:html>