SMRWY02800_퇴직정산작업.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <yyendtaxadsttrgtpsn>
  11. <yyendtaxadsttrgtpsnlist/>
  12. </yyendtaxadsttrgtpsn>
  13. </main>
  14. <send>
  15. <save>
  16. <yyendtaxadsttrgtpsnlist/>
  17. </save>
  18. <yyendtaxadsttrgtpsn>
  19. <calcyy/>
  20. <workym/>
  21. <grupjoblncd/>
  22. <emplno/>
  23. <emplnm/>
  24. <calcinst/>
  25. <retireyn>Y</retireyn>
  26. </yyendtaxadsttrgtpsn>
  27. </send>
  28. <init/>
  29. <hidden>
  30. <temp/>
  31. </hidden>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. misfGridInit(grd_yyendtaxadsttrgtpsnlist);
  37. misfMsterDetailSet(grd_yyendtaxadsttrgtpsnlist,null, "TRRWY02001" ,"Y");
  38. grd_yyendtaxadsttrgtpsnlist.fixedcellcheckbox(0, 1) = true;
  39. var nowdate = getCurrentDate();
  40. var yy = nowdate.substring(0,4);
  41. var yyyymm = nowdate.substring(0,6)-1;
  42. ipt_calcyy.value =yy;
  43. ipt_workym.value = yyyymm;
  44. model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
  45. misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
  46. misfComboComCdListMulti("R0059","cmb_grupjoblncd");
  47. misfGetUserAuth();
  48. if (DUTY_PAY_YN == "Y" ) {
  49. cmb_calcinst.disabled = false;
  50. }
  51. else {
  52. //cmb_calcinst.disabled = true;
  53. }
  54. ]]>
  55. </script>
  56. <submission id="TRRWY02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendtaxadsttrgtpsn" resultref="/root/main/yyendtaxadsttrgtpsn"/>
  57. <submission id="TXRWY02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  62. <script type="javascript" src="../../../mis/yyendtaxadstweb/js/RWY001.js"/>
  63. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  64. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  66. </xhtml:head>
  67. <xhtml:body>
  68. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  69. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">퇴직정산작업</caption>
  70. </group>
  71. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  72. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <line id="line13" class="line_4" style="x1:1109px; y1:16px; x2:1109px; y2:38px; "/>
  74. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:16px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. misfMsterDetailRetrieve();
  79. ]]>
  80. </script>
  81. </button>
  82. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:186px; height:14px; ">퇴직정산 대상자 List</caption>
  83. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1191px; y2:70px; "/>
  84. <datagrid id="grd_yyendtaxadsttrgtpsnlist" nodeset="/root/main/yyendtaxadsttrgtpsn/yyendtaxadsttrgtpsnlist" caption="^사원번호^성명^주민번호^주민번호^기관^직군^부서^직위^직급^호봉^경리과확인여부^입사일자^퇴사일자^중도퇴직여부^정산기관^직군^소속부서코드^직위코드^직급코드^호봉코드^주민번호|^사원번호^성명^앞자리^뒷자리^기관^직군^부서^직위^직급^호봉^경리과확인여부^입사일자^퇴사일자^중도퇴직여부^정산기관^직군^소속부서코드^직위코드^직급코드^호봉코드^주민번호" colsep="^" colwidth="23, 68, 81, 80, 72, 128, 100, 122, 97, 60, 61, 43, 86, 89, 40, 56, 64, 88, 77, 64, 72, 64" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1191px; height:665px; ">
  85. <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
  86. <col ref="emplno"/>
  87. <col ref="emplnm"/>
  88. <col ref="rregno1"/>
  89. <col ref="rregno2"/>
  90. <col ref="calcinstnm"/>
  91. <col ref="grupjoblnnm"/>
  92. <col ref="deptnm"/>
  93. <col ref="jobposnm"/>
  94. <col ref="jobgradnm"/>
  95. <col ref="payclsnm"/>
  96. <col checkvalue="Y,N" disabled="true" ref="actndeptqualyn" type="checkbox"/>
  97. <col disabled="true" ref="entcodd" type="inputdate"/>
  98. <col disabled="true" ref="retiredd" type="inputdate"/>
  99. <col checkvalue="Y,N" disabled="true" ref="retireyn" type="checkbox"/>
  100. <col ref="calcinst" visibility="hidden"/>
  101. <col ref="grupjoblncd" visibility="hidden"/>
  102. <col ref="deptcd" visibility="hidden"/>
  103. <col ref="jobposcd" visibility="hidden"/>
  104. <col ref="jobgradcd" visibility="hidden"/>
  105. <col ref="payclscd" visibility="hidden"/>
  106. <col ref="rregno" visibility="hidden"/>
  107. <col ref="rregno" visibility="hidden"/>
  108. <col ref="workym" visibility="hidden"/>
  109. <col ref="calcyy" visibility="hidden"/>
  110. </datagrid>
  111. <select1 id="cmb_calcinst" ref="/root/send/yyendtaxadsttrgtpsn/calcinst" class="combo_s_essential" appearance="minimal" style="left:380px; top:18px; width:125px; height:19px; ">
  112. <choices>
  113. <itemset>
  114. <label/>
  115. <value/>
  116. </itemset>
  117. </choices>
  118. </select1>
  119. <caption id="caption8" class="search_name" style="left:321px; top:18px; width:61px; height:17px; ">기관:</caption>
  120. <caption id="caption2" class="search_name" style="left:716px; top:18px; width:81px; height:17px; ">사원번호:</caption>
  121. <input id="ipt_calcyy" ref="/root/send/yyendtaxadsttrgtpsn/calcyy" class="input_s_essential" style="left:84px; top:18px; width:51px; height:19px; "/>
  122. <caption id="caption3" class="search_name" style="left:5px; top:18px; width:84px; height:17px; ">기준년도:</caption>
  123. <input id="ipt_emplnm" ref="/root/send/yyendtaxadsttrgtpsn/emplnm" class="input_default" navindex="21" style="left:895px; top:18px; width:70px; height:19px; ">
  124. <script type="javascript" ev:event="onkeyup">
  125. <![CDATA[
  126. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  127. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  128. inputEnterKey("btn_search", "DOMActivate");
  129. }
  130. ]]>
  131. </script>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. var recv_list = "emplno,emplnm";
  135. rpbfValidationCheck("EMPLNM", recv_list);
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </input>
  140. <select1 id="rdo_retireyn" ref="/root/send/yyendtaxadsttrgtpsn/retireyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:976px; top:18px; width:119px; height:19px; border-style:solid; ">
  141. <choices>
  142. <item>
  143. <label>연말</label>
  144. <value>N</value>
  145. </item>
  146. <item>
  147. <label>중도퇴직</label>
  148. <value>Y</value>
  149. </item>
  150. </choices>
  151. </select1>
  152. <input id="ipt_emplno" ref="/root/send/yyendtaxadsttrgtpsn/emplno" class="input_default" navindex="20" style="left:800px; top:18px; width:69px; height:19px; ">
  153. <script type="javascript" ev:event="onkeyup">
  154. <![CDATA[
  155. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  156. inputEnterKey("ipt_emplno", "xforms-value-changed");
  157. inputEnterKey("btn_search", "DOMActivate");
  158. }
  159. ]]>
  160. </script>
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. var recv_list = "emplno,emplnm";
  164. rpbfValidationCheck("EMPLNO", recv_list);
  165. model.refresh();
  166. ]]>
  167. </script>
  168. </input>
  169. <input id="ipt_workym" ref="/root/send/yyendtaxadsttrgtpsn/workym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:232px; top:18px; width:83px; height:19px; "/>
  170. <caption id="caption4" class="search_name" style="left:150px; top:18px; width:84px; height:17px; ">정산년월:</caption>
  171. <button id="btn_emplsearch" class="icon_search" style="left:875px; top:18px; width:16px; height:16px; ">
  172. <caption/>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. var recv_list = "emplno,emplnm";
  176. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  177. model.refresh();
  178. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  179. btn_search.dispatch("DOMActivate");
  180. }
  181. ]]>
  182. </script>
  183. </button>
  184. <select1 id="cmb_grupjoblncd" ref="/root/send/yyendtaxadsttrgtpsn/grupjoblncd" class="combo_s_essential" appearance="minimal" style="left:589px; top:18px; width:101px; height:19px; ">
  185. <choices>
  186. <itemset>
  187. <label/>
  188. <value/>
  189. </itemset>
  190. </choices>
  191. </select1>
  192. <caption id="caption7" class="search_name" style="left:530px; top:18px; width:66px; height:17px; ">직군:</caption>
  193. <button id="btn_allsel" class="btn2_letter4" style="left:937px; top:48px; width:64px; height:19px; ">
  194. <caption>전체선택</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows; i++) {
  198. grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) = "Y";
  199. grd_yyendtaxadsttrgtpsnlist.rowStatus(i) = 2;
  200. }
  201. ]]>
  202. </script>
  203. </button>
  204. <button id="btn_allselcan" class="btn2_letter6" style="left:1003px; top:48px; width:86px; height:19px; ">
  205. <caption>전체선택취소</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows ; i++) {
  209. grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) = "N";
  210. grd_yyendtaxadsttrgtpsnlist.clearStatus();
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  216. <caption>엑셀저장</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  220. if (fileName != "")
  221. {
  222. grd_yyendtaxadsttrgtpsnlist.saveExcel(fileName);
  223. }
  224. ]]>
  225. </script>
  226. </button>
  227. </group>
  228. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  229. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  230. <button id="btn_save" class="btn4_letter4" style="left:1109px; top:3px; width:80px; height:22px; ">
  231. <caption>정산작업</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. for (var i = grd_yyendtaxadsttrgtpsnlist.fixedRows; i < grd_yyendtaxadsttrgtpsnlist.rows; i++) {
  235. if (grd_yyendtaxadsttrgtpsnlist.valueMatrix(i, grd_yyendtaxadsttrgtpsnlist.colRef("selyn")) == "Y") {
  236. grd_yyendtaxadsttrgtpsnlist.rowStatus(i) = "2";
  237. }
  238. }
  239. misfSave("TXRWY02001");
  240. ]]>
  241. </script>
  242. </button>
  243. <button id="btn_clear" class="btn4_letter3" style="left:1039px; top:3px; width:68px; height:22px; ">
  244. <caption>초기화</caption>
  245. </button>
  246. </group>
  247. </xhtml:body>
  248. </xhtml:html>