SMRWY02100_개인별정산내역조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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>개인별연말정산내역조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <yyendcalcbase>
  11. <yyendcalcbaselist/>
  12. </yyendcalcbase>
  13. <yyendcalcrslt>
  14. <yyendcalcrsltlist/>
  15. </yyendcalcrslt>
  16. </main>
  17. <send>
  18. <yyendcalcbase>
  19. <calcyy/>
  20. <calcinst/>
  21. <retireyn>N</retireyn>
  22. <deptnm/>
  23. <emplnm/>
  24. <deptcd/>
  25. <emplno/>
  26. <workym/>
  27. </yyendcalcbase>
  28. <yyendcalcrslt>
  29. <emplno/>
  30. <calcyy/>
  31. <calcseq/>
  32. </yyendcalcrslt>
  33. </send>
  34. <init/>
  35. <hidden>
  36. <temp/>
  37. </hidden>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. misfGridInit(grd_yyendcalcbaselist);
  43. misfGridInit(grd_yyendcalcrsltlist);
  44. misfMsterDetailSet(grd_yyendcalcbaselist,null, "TRRWY01101" ,"N");
  45. misfMsterDetailSet(grd_yyendcalcrsltlist,grd_yyendcalcbaselist, "TRRWY02102" ,"N");
  46. var curdate = getCurrentDate();
  47. var cvtdate = curdate.toDate("YYYY");
  48. //model.setValue(ipt_calcyy.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYY"));
  49. model.setValue(ipt_calcyy.attribute("ref") , curdate.substr(0,4));
  50. model.setValue(ipt_workym.attribute("ref") , curdate.substr(0,6));
  51. model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
  52. misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
  53. for(licol = 0; licol < grd_yyendcalcrsltlist.cols ; licol++)
  54. if(grd_yyendcalcrsltlist.colRef("calcnm") != licol)grd_yyendcalcrsltlist.mergecol(licol) = false;
  55. grd_yyendcalcrsltlist.mergecells = "bycol";
  56. grd_yyendcalcrsltlist.subtotalposition = "after";
  57. misfGetUserAuth();
  58. if (DUTY_PAY_YN == "Y" ) {
  59. cmb_calcinst.disabled = false;
  60. }
  61. else {
  62. cmb_calcinst.disabled = true;
  63. }
  64. ]]>
  65. </script>
  66. <submission id="TRRWY01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcbase" resultref="/root/main/yyendcalcbase"/>
  67. <submission id="TRRWY02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendcalcrslt" resultref="/root/main/yyendcalcrslt"/>
  68. </model>
  69. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  71. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  72. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  74. <script type="javascript">
  75. <![CDATA[
  76. // 화면이 다른 폼에 의해 불려졌을때 실행!!
  77. function fAfterRetrive()
  78. {
  79. return;
  80. grd_yyendcalcrsltlist.subtotal("clear", 0, 0);
  81. grd_yyendcalcrsltlist.subtotal("sum",grd_yyendcalcrsltlist.colRef("calcnm") , grd_yyendcalcrsltlist.colRef("calcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  82. grd_yyendcalcrsltlist.subtotal("sum",grd_yyendcalcrsltlist.colRef("calcnm") , grd_yyendcalcrsltlist.colRef("sumcalcamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  83. }
  84. ]]>
  85. </script>
  86. </xhtml:head>
  87. <xhtml:body>
  88. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  89. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인별연말정산내역조회</caption>
  90. </group>
  91. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  92. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  93. <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
  94. <caption id="caption3" class="search_name" style="left:8px; top:19px; width:57px; height:17px; ">년도:</caption>
  95. <input id="ipt_calcyy" ref="/root/send/yyendcalcbase/calcyy" class="input_s_essential" maxlength="4" style="left:64px; top:18px; width:66px; height:19px; "/>
  96. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
  97. <caption>조회</caption>
  98. <script type="javascript" ev:event="DOMActivate">
  99. <![CDATA[
  100. //submit("TRRWY01101");
  101. misfMsterDetailRetrieve();
  102. fAfterRetrive();
  103. ]]>
  104. </script>
  105. </button>
  106. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">연말 정산 인원 List</caption>
  107. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1190px; y2:70px; "/>
  108. <datagrid id="grd_yyendcalcbaselist" nodeset="/root/main/yyendcalcbase/yyendcalcbaselist" caption="사원번호^성명^주민번호^주민번호^부서^직위^직책^직급^호봉^년도^차수^중도퇴직^기관|사원번호^성명^앞자리^뒷자리^부서^직위^직책^직급^호봉^년도^차수^중도퇴직^기관" colsep="^" colwidth="94, 109, 104, 104, 248, 155, 141, 106, 89, 21, 19, 34, 28" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1190px; height:170px; ">
  109. <col ref="emplno"/>
  110. <col ref="emplnm"/>
  111. <col ref="rregno1"/>
  112. <col ref="rregno2"/>
  113. <col ref="deptnm"/>
  114. <col ref="jobposnm"/>
  115. <col ref="jobrespnm"/>
  116. <col ref="jobgradnm"/>
  117. <col ref="payclsnm"/>
  118. <col ref="calcyy" visibility="hidden"/>
  119. <col ref="calcseq" visibility="hidden"/>
  120. <col ref="retireyn" visibility="hidden"/>
  121. <col ref="calcinst" visibility="hidden"/>
  122. <script type="javascript" ev:event="onrowchanged">
  123. <![CDATA[
  124. misfMsterDetailRetrieve();
  125. fAfterRetrive();
  126. ]]>
  127. </script>
  128. </datagrid>
  129. <select1 id="cmb_calcinst" ref="/root/send/yyendcalcbase/calcinst" class="combo_s_essential" appearance="minimal" style="left:405px; top:18px; width:170px; height:19px; ">
  130. <choices>
  131. <itemset>
  132. <label/>
  133. <value/>
  134. </itemset>
  135. </choices>
  136. </select1>
  137. <caption id="caption8" class="search_name" style="left:346px; top:19px; width:61px; height:17px; ">기관:</caption>
  138. <caption id="caption13" class="search_name" style="left:580px; top:19px; width:60px; height:17px; ">부서:</caption>
  139. <output id="opt_deptnm" ref="/root/send/yyendcalcbase/deptnm" class="output_fix" style="left:735px; top:18px; width:117px; height:19px; "/>
  140. <button id="btn_deptcd" class="icon_search" disabled="false" style="left:717px; top:18px; width:16px; height:16px; ">
  141. <caption/>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. var recv_list = "deptcd,deptnm";
  145. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  146. model.refresh();
  147. ]]>
  148. </script>
  149. </button>
  150. <input id="ipt_deptcd" ref="/root/send/yyendcalcbase/deptcd" class="input_s_essential" disabled="false" navindex="5" style="left:637px; top:18px; width:77px; height:19px; ">
  151. <script type="javascript" ev:event="xforms-value-changed">
  152. <![CDATA[
  153. /* 부서코드,명 입력시 Validation Check
  154. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  155. misfValidationCheck("02", "", "deptcd,deptnm" );
  156. model.refresh();
  157. ]]>
  158. </script>
  159. </input>
  160. <output id="opt_emplnm" ref="/root/send/yyendcalcbase/emplnm" class="output_fix" style="left:1020px; top:18px; width:80px; height:19px; "/>
  161. <input id="ipt_emplno" ref="/root/send/yyendcalcbase/emplno" class="input_s_essential" disabled="false" navindex="5" style="left:922px; top:18px; width:77px; height:19px; ">
  162. <script type="javascript" ev:event="onkeyup">
  163. <![CDATA[
  164. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  165. inputEnterKey("ipt_emplno", "xforms-value-changed");
  166. inputEnterKey("btn_search", "DOMActivate");
  167. }
  168. ]]>
  169. </script>
  170. <script type="javascript" ev:event="xforms-value-changed">
  171. <![CDATA[
  172. var recv_list = "emplno,emplnm" ;
  173. rpbfValidationCheck("EMPLNO", recv_list);
  174. model.refresh();
  175. ]]>
  176. </script>
  177. </input>
  178. <button id="btn_emplno" class="icon_search" disabled="false" style="left:1002px; top:18px; width:16px; height:16px; ">
  179. <caption/>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. var recv_list = "emplno,emplnm" ;
  183. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  184. model.refresh();
  185. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  186. btn_search.dispatch("DOMActivate");
  187. }
  188. ]]>
  189. </script>
  190. </button>
  191. <caption id="caption2" class="search_name" style="left:860px; top:19px; width:60px; height:17px; ">사번:</caption>
  192. <select1 id="rdo_retireyn" ref="/root/send/yyendcalcbase/retireyn" class="radio_search" disabled="false" navindex="54" visibility="hidden" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="53" style="left:1070px; top:20px; width:30px; height:19px; text-align:center; border-style:solid; ">
  193. <choices>
  194. <item>
  195. <label>중도퇴직</label>
  196. <value>Y</value>
  197. </item>
  198. <item>
  199. <label>연말</label>
  200. <value>N</value>
  201. </item>
  202. </choices>
  203. </select1>
  204. <caption id="caption4" class="tit_2" style="left:5px; top:250px; width:115px; height:14px; ">근로 소득 List</caption>
  205. <line id="line2" class="line_1" style="x1:0px; y1:265px; x2:1190px; y2:265px; "/>
  206. <datagrid id="grd_yyendcalcrsltlist" nodeset="/root/main/yyendcalcrslt/yyendcalcrsltlist" caption="소득구분명^소득및공제항목명^소득및공제금액^소득공제입력금액" colsep="^" colwidth="153, 393, 303, 303" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:270px; width:1190px; height:470px; ">
  207. <col ref="calcnm"/>
  208. <col ref="calcflagnm"/>
  209. <col ref="calcamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  210. <col ref="sumcalcamt" format="#,###" style="text-align:right; vertical-align:middle; "/>
  211. </datagrid>
  212. <caption id="caption5" class="search_name" style="left:155px; top:19px; width:86px; height:17px; ">정산년월 :</caption>
  213. <input id="ipt_workym" ref="/root/send/yyendcalcbase/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:240px; top:18px; width:80px; height:19px; "/>
  214. </group>
  215. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  216. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  217. <button id="btn_clear" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
  218. <caption>초기화</caption>
  219. </button>
  220. </group>
  221. </xhtml:body>
  222. </xhtml:html>