SMRWP04300_명절수당제외자등록.xrw 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. <holipayexpt>
  11. <holipayexptlist/>
  12. </holipayexpt>
  13. </main>
  14. <send>
  15. <holipayexpt>
  16. <payym/>
  17. <instcd/>
  18. <holidd/>
  19. </holipayexpt>
  20. <save>
  21. <holipayexptlist/>
  22. </save>
  23. </send>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. misfGridInit(grd_holipayexptlist);
  29. misfMsterDetailSet(grd_holipayexptlist, null, "TRRWP04301" ,"Y");
  30. var curdate = getCurrentDate();
  31. model.setValue(ipt_holidd.attribute("ref") , curdate);
  32. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  33. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  34. misfComboComCdListMulti("R0098,R0058","grd_holipayexptlist.payclscd,grd_holipayexptlist.prfshipflag");
  35. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  36. misfGetUserAuth();
  37. if (DUTY_PAY_YN == "Y" ) {
  38. cmb_instcd.disabled = false;
  39. }
  40. else {
  41. cmb_instcd.disabled = true;
  42. }
  43. model.refresh();
  44. model.setFocus("cmb_instcd");
  45. ]]>
  46. </script>
  47. <submission id="TRRWP04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/holipayexpt" resultref="/root/main/holipayexpt"/>
  48. <submission id="TXRWP04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  49. <submission id="TRRWP04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/holipayexpt" resultref="/root/hidden/temp"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  55. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  56. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  57. </xhtml:head>
  58. <xhtml:body style="margin-left:8; margin-right:8; ">
  59. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  60. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">명절수당 제외자 등록</caption>
  61. </group>
  62. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  63. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  64. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">명절 수당 제외자 List</caption>
  65. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. misfMsterDetailRetrieve();
  72. ]]>
  73. </script>
  74. </button>
  75. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  76. <input id="ipt_holidd" ref="/root/send/holipayexpt/holidd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:338px; top:7px; width:111px; height:19px; text-align:center; vertical-align:middle; "/>
  77. <caption id="cap_payym" class="search_name" style="left:255px; top:8px; width:85px; height:17px; ">명절일자:</caption>
  78. <select1 id="cmb_instcd" ref="/root/send/holipayexpt/instcd" class="combo_s_essential" appearance="minimal" style="left:64px; top:7px; width:171px; height:19px; ">
  79. <choices>
  80. <itemset>
  81. <label/>
  82. <value/>
  83. </itemset>
  84. </choices>
  85. <script type="javascript" ev:event="xforms-value-changed">
  86. <![CDATA[
  87. btn_search.dispatch("DOMActivate");
  88. ]]>
  89. </script>
  90. </select1>
  91. <caption id="cap_instcd" class="search_name" style="left:10px; top:8px; width:61px; height:17px; ">기관:</caption>
  92. <input id="ipt_payym" ref="/root/send/holipayexpt/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:560px; top:7px; width:111px; height:19px; text-align:center; vertical-align:middle; "/>
  93. <caption id="caption1" class="search_name" style="left:492px; top:8px; width:70px; height:17px; ">지급월:</caption>
  94. </group>
  95. <datagrid id="grd_holipayexptlist" nodeset="/root/main/holipayexpt/holipayexptlist" caption="사원번호^성명^부서^직급^직위^호봉^교직구분^비고^지급년월^기관|사원번호^성명^부서^직급^직위^호봉^교직구분^비고^지급년월^기관" colsep="^" colwidth="94, 108, 184, 95, 125, 147, 142, 251, 49, 100" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  96. <col ref="emplno" type="inputbutton" _key="true"/>
  97. <col ref="emplnm"/>
  98. <col ref="unitnm"/>
  99. <col ref="ojobgradnm"/>
  100. <col ref="jobposnm"/>
  101. <col disabled="true" ref="payclscd" type="combo">
  102. <choices>
  103. <itemset>
  104. <label/>
  105. <value/>
  106. </itemset>
  107. </choices>
  108. </col>
  109. <col disabled="true" ref="prfshipflag" type="combo">
  110. <choices>
  111. <itemset>
  112. <label/>
  113. <value/>
  114. </itemset>
  115. </choices>
  116. </col>
  117. <col ref="cmt" type="input"/>
  118. <col ref="payym" visibility="hidden"/>
  119. <col ref="instcd" visibility="hidden"/>
  120. <script type="javascript" ev:event="onbuttonclick">
  121. <![CDATA[
  122. if (grd_holipayexptlist.col == grd_holipayexptlist.colRef("emplno")) {
  123. var recv_list = "emplno,emplnm,jobposnm,ojobgradnm,payclscd,unitnm,prfshipflag" ;
  124. rpbfOpenPopUpList("SPRPB00101", grd_holipayexptlist, recv_list,"","N");
  125. model.refresh();
  126. }
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. if (grd_holipayexptlist.col == grd_holipayexptlist.colRef("emplno")) {
  132. var recv_list = "emplno,emplnm,jobposnm,ojobgradnm,payclscd,unitnm,prfshipflag" ;
  133. rpbfValidationCheck("EMPLNO", recv_list);
  134. model.refresh();
  135. }
  136. ]]>
  137. </script>
  138. <script type="javascript" ev:event="onaftersort">
  139. <![CDATA[
  140. grd_holipayexptlist.gridToInstance();
  141. ]]>
  142. </script>
  143. </datagrid>
  144. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  145. <caption>엑셀저장</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  149. if (fileName != "")
  150. {
  151. grd_holipayexptlist.saveExcel(fileName);
  152. }
  153. ]]>
  154. </script>
  155. </button>
  156. <button id="btn_addgrdholipayexptlist" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
  157. <caption>행추가</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. misfGridIUD(grd_holipayexptlist, "A");
  161. ]]>
  162. </script>
  163. </button>
  164. <button id="btn_delgrdholipayexptlist" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  165. <caption>행삭제</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. misfGridIUD(grd_holipayexptlist, "D");
  169. ]]>
  170. </script>
  171. </button>
  172. </group>
  173. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  174. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  175. <caption>저장</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. misfSave("TXRWP04301");
  179. //btn_search.dispatch("DOMActivate");
  180. ]]>
  181. </script>
  182. </button>
  183. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  184. <button id="btn_makedata" class="btn4_letter4" style="left:1034px; top:3px; width:80px; height:22px; ">
  185. <caption>자료생성</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. if(!isRequiredControls("cmb_instcd")) return;
  189. if(!isRequiredControls("ipt_holidd")) return;
  190. if(!isRequiredControls("ipt_payym")) return;
  191. if( messageBox("자료생성시 기존의 자료는 삭제됩니다.", "Q003") != '6') return;
  192. submit("TRRWP04302");
  193. btn_search.dispatch("DOMActivate");
  194. ]]>
  195. </script>
  196. </button>
  197. </group>
  198. </xhtml:body>
  199. </xhtml:html>