SMRWP04400_휴가보상비조회.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. <holialwn>
  11. <holialwnlist/>
  12. </holialwn>
  13. </main>
  14. <send>
  15. <holialwn>
  16. <instcd/>
  17. <payym/>
  18. <deptcd/>
  19. <deptnm/>
  20. <emplno/>
  21. <emplnm/>
  22. </holialwn>
  23. </send>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. misfGridInit(grd_holialwnlist);
  29. misfMsterDetailSet(grd_holialwnlist, null, "TRRWP04401" ,"Y");
  30. var curdate = getCurrentDate();
  31. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  32. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  33. //misfComboComCdListMulti("Z0007","cmb_instcd");
  34. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  35. misfGetUserAuth();
  36. if (DUTY_PAY_YN == "Y" ) {
  37. cmb_instcd.disabled = false;
  38. }
  39. else {
  40. cmb_instcd.disabled = true;
  41. }
  42. model.refresh();
  43. model.setFocus("cmb_instcd");
  44. ]]>
  45. </script>
  46. <submission id="TRRWP04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/holialwn" resultref="/root/main/holialwn"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  52. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  53. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  54. </xhtml:head>
  55. <xhtml:body style="margin-left:8; margin-right:8; ">
  56. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">휴가 보상비 조회</caption>
  58. </group>
  59. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  60. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  61. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">휴가 보상비 List</caption>
  62. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  63. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  64. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  65. <caption>조회</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. misfMsterDetailRetrieve();
  69. grd_holialwnlist.subtotalposition = "below";
  70. grd_holialwnlist.subtotal("count",-1 , grd_holialwnlist.colRef("emplno"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  71. grd_holialwnlist.subtotal("sum",-1 , grd_holialwnlist.colRef("daypayamt"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  72. grd_holialwnlist.subtotal("sum",-1 , grd_holialwnlist.colRef("holipayamt1"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  73. grd_holialwnlist.subtotal("sum",-1 , grd_holialwnlist.colRef("holipayamt2"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  74. ]]>
  75. </script>
  76. </button>
  77. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  78. <input id="ipt_payym" ref="/root/send/holialwn/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:75px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
  79. <caption id="cap_payym" class="search_name" style="left:6px; top:8px; width:70px; height:17px; ">지급월:</caption>
  80. <select1 id="cmb_instcd" ref="/root/send/holialwn/instcd" class="combo_s_essential" appearance="minimal" style="left:253px; top:7px; width:171px; height:19px; ">
  81. <choices>
  82. <itemset>
  83. <label/>
  84. <value/>
  85. </itemset>
  86. </choices>
  87. <script type="javascript" ev:event="xforms-value-changed">
  88. <![CDATA[
  89. btn_search.dispatch("DOMActivate");
  90. ]]>
  91. </script>
  92. </select1>
  93. <caption id="cap_instcd" class="search_name" style="left:196px; top:8px; width:61px; height:17px; ">기관:</caption>
  94. <input id="ipt_deptnm" ref="/root/send/holialwn/deptnm" class="input_default" style="left:616px; top:7px; width:139px; height:19px; ">
  95. <script type="javascript" ev:event="xforms-value-changed">
  96. <![CDATA[
  97. misfValidationCheck("02", "", "deptcd,deptnm" );
  98. model.refresh();
  99. ]]>
  100. </script>
  101. </input>
  102. <button id="btn_deptcd" class="icon_search" style="left:595px; top:7px; width:16px; height:16px; ">
  103. <caption/>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. var recv_list = "deptcd,deptnm";
  107. var instcd = cmb_instcd.value;
  108. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  109. model.refresh();
  110. ]]>
  111. </script>
  112. </button>
  113. <input id="ipt_deptcd" ref="/root/send/holialwn/deptcd" class="input_default" style="left:511px; top:7px; width:79px; height:19px; ">
  114. <script type="javascript" ev:event="xforms-value-changed">
  115. <![CDATA[
  116. misfValidationCheck("02", "", "deptcd,deptnm" );
  117. model.refresh();
  118. ]]>
  119. </script>
  120. </input>
  121. <caption id="caption1" class="search_name" style="left:455px; top:8px; width:61px; height:17px; ">부서:</caption>
  122. <input id="ipt_emplnm" ref="/root/send/holialwn/emplnm" class="input_default" style="left:944px; top:7px; width:106px; height:19px; ">
  123. <script type="javascript" ev:event="onkeyup">
  124. <![CDATA[
  125. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  126. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  127. inputEnterKey("btn_search", "DOMActivate");
  128. }
  129. ]]>
  130. </script>
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. var recv_list = "emplno,emplnm" ;
  134. rpbfValidationCheck("EMPLNM", recv_list);
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </input>
  139. <button id="btn_emplno" class="icon_search" style="left:923px; top:7px; width:16px; height:16px; ">
  140. <caption/>
  141. <script type="javascript" ev:event="DOMActivate">
  142. <![CDATA[
  143. var recv_list = "emplno,emplnm" ;
  144. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  145. model.refresh();
  146. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  147. btn_search.dispatch("DOMActivate");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. <input id="ipt_emplno" ref="/root/send/holialwn/emplno" class="input_default" style="left:849px; top:7px; width:70px; 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. <caption id="caption2" class="search_name" style="left:795px; top:8px; width:61px; height:17px; ">사번:</caption>
  170. </group>
  171. <datagrid id="grd_holialwnlist" nodeset="/root/main/holialwn/holialwnlist" caption="기관^부서^성명^사원번호^직위^직종^직군^직급^호봉^발생년차^발생보건휴가^결근일수^산전휴가^산전휴가^휴직일수^사용년차^잔여년차^잔여보건휴가^잔여합계^통상임금^일급^휴가보상비^휴가보전수당|기관^부서^성명^사원번호^직위^직종^직군^직급^호봉^발생년차^발생보건휴가^결근일수^from^to^휴직일수^사용년차^잔여년차^잔여보건휴가^잔여합계^통상임금^일급^휴가보상비^휴가보전수당" colsep="^" colwidth="104, 93, 61, 67, 69, 72, 67, 53, 38, 37, 43, 30, 80, 76, 35, 37, 33, 45, 33, 67, 57, 76, 88" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  172. <col ref="instnm"/>
  173. <col ref="deptnm"/>
  174. <col ref="emplnm"/>
  175. <col ref="emplno"/>
  176. <col ref="jobposnm"/>
  177. <col ref="jobkindnm"/>
  178. <col ref="grupjonlnnm"/>
  179. <col ref="jobgradnm"/>
  180. <col ref="payclsnm"/>
  181. <col ref="genryearno"/>
  182. <col ref="genrhealholi"/>
  183. <col ref="dayno1"/>
  184. <col ref="holifrom"/>
  185. <col ref="holito"/>
  186. <col ref="holidayno"/>
  187. <col ref="useyearno"/>
  188. <col ref="spreyearno"/>
  189. <col ref="sprehealholi"/>
  190. <col ref="spretotno"/>
  191. <col ref="payitemcalcamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  192. <col ref="daypayamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  193. <col ref="holipayamt1" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  194. <col ref="holipayamt2" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  195. </datagrid>
  196. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  197. <caption>엑셀저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  201. if (fileName != "")
  202. {
  203. grd_holialwnlist.saveExcel(fileName);
  204. }
  205. ]]>
  206. </script>
  207. </button>
  208. </group>
  209. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  210. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  211. </group>
  212. </xhtml:body>
  213. </xhtml:html>