SMRWP04100_시간제근무시간등록.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. <timedut>
  11. <timedutlist/>
  12. </timedut>
  13. </main>
  14. <send>
  15. <timedut>
  16. <instcd/>
  17. <payym/>
  18. </timedut>
  19. <save>
  20. <timedutlist/>
  21. </save>
  22. </send>
  23. </root>
  24. </instance>
  25. <script type="javascript" ev:event="xforms-ready">
  26. <![CDATA[
  27. misfGridInit(grd_timedutlist);
  28. misfMsterDetailSet(grd_timedutlist, null, "TRRWP04101" ,"Y");
  29. var curdate = getCurrentDate();
  30. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  31. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  32. //misfComboComCdListMulti("Z0007","cmb_instcd");
  33. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  34. misfGetUserAuth();
  35. if (DUTY_PAY_YN == "Y" ) {
  36. cmb_instcd.disabled = false;
  37. }
  38. else {
  39. cmb_instcd.disabled = true;
  40. }
  41. model.refresh();
  42. model.setFocus("cmb_instcd");
  43. ]]>
  44. </script>
  45. <submission id="TRRWP04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/timedut" resultref="/root/main/timedut"/>
  46. <submission id="TXRWP04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  47. <submission id="TRRWP04102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/timedut" resultref="/root/hidden/temp"/>
  48. </model>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  53. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  54. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  55. </xhtml:head>
  56. <xhtml:body style="margin-left:8; margin-right:8; ">
  57. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  58. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">시간제 근무자 근무시간 등록</caption>
  59. </group>
  60. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  61. <line id="line9" class="line_1" style="x1:0px; y1:69px; x2:1193px; y2:69px; "/>
  62. <caption id="caption34" class="tit_2" style="left:6px; top:52px; width:186px; height:14px; ">시간제 근무자 근무시간 List</caption>
  63. <group id="grp_sea" style="left:0px; top:10; width:1195px; height:35px; vertical-align:top; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. misfMsterDetailRetrieve();
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  74. <input id="ipt_payym" ref="/root/send/timedut/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:274px; top:7px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  75. <caption id="cap_payym" class="search_name" style="left:205px; top:8px; width:70px; height:17px; ">지급월:</caption>
  76. <select1 id="cmb_instcd" ref="/root/send/timedut/instcd" class="combo_s_essential" appearance="minimal" style="left:64px; top:7px; width:125px; height:19px; ">
  77. <choices>
  78. <itemset>
  79. <label/>
  80. <value/>
  81. </itemset>
  82. </choices>
  83. <script type="javascript" ev:event="xforms-value-changed">
  84. <![CDATA[
  85. btn_search.dispatch("DOMActivate");
  86. ]]>
  87. </script>
  88. </select1>
  89. <caption id="cap_instcd" class="search_name" style="left:10px; top:8px; width:61px; height:17px; ">기관:</caption>
  90. </group>
  91. <datagrid id="grd_timedutlist" nodeset="/root/main/timedut/timedutlist" caption="기관^부서^사원번호^성명^직위^직급^호봉^입사일^종료일^시급^시간^주휴^조정시간^인센티브^위험수당^총급여^급여반영여부^기관^지급년월|기관^부서^사원번호^성명^직위^직급^호봉^입사일^종료일^시급^시간^주휴^조정시간^인센티브^위험수당^총급여^급여반영여부^기관^지급년월" colsep="^" colwidth="101, 101, 75, 67, 72, 68, 58, 91, 76, 54, 42, 42, 59, 64, 82, 100, 43, 48, 49" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
  92. <col ref="instnm"/>
  93. <col ref="deptnm"/>
  94. <col ref="emplno"/>
  95. <col ref="emplnm"/>
  96. <col ref="jobposnm"/>
  97. <col ref="jobgradnm"/>
  98. <col ref="payclsnm"/>
  99. <col disabled="true" ref="entcodd" type="inputbutton"/>
  100. <col disabled="true" ref="gvnoffcordtodd" type="inputbutton"/>
  101. <col ref="timeamt" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  102. <col ref="duttm" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  103. <col ref="weekholytm" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  104. <col ref="bfmmstktm" type="input" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  105. <col ref="incentive" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  106. <col ref="payitem140" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  107. <col ref="totpay" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  108. <col ref="payrefltyn" visibility="hidden"/>
  109. <col ref="instcd" visibility="hidden"/>
  110. <col ref="payym" visibility="hidden"/>
  111. </datagrid>
  112. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  113. <caption>엑셀저장</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  117. if (fileName != "")
  118. {
  119. grd_timedutlist.saveExcel(fileName);
  120. }
  121. ]]>
  122. </script>
  123. </button>
  124. <button id="btn_addgrdtimedutlist" class="btn2_letter3" visibility="hidden" style="left:1018px; top:49px; width:53px; height:19px; ">
  125. <caption>행추가</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. misfGridIUD(grd_timedutlist, "A");
  129. ]]>
  130. </script>
  131. </button>
  132. <button id="btn_delgrdtimedutlist" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  133. <caption>행삭제</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. misfGridIUD(grd_timedutlist, "D");
  137. ]]>
  138. </script>
  139. </button>
  140. </group>
  141. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  142. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  143. <caption>저장</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. misfSave("TXRWP04101");
  147. btn_search.dispatch("DOMActivate");
  148. ]]>
  149. </script>
  150. </button>
  151. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  152. <button id="button1" class="btn4_letter4" style="left:1035px; top:3px; width:80px; height:22px; ">
  153. <caption>자료생성</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. if(!isRequiredControls("cmb_instcd")) return;
  157. if(!isRequiredControls("ipt_payym")) return;
  158. if( messageBox("자료생성시 기존의 자료는 삭제됩니다.", "Q003") != '6') return;
  159. submit("TRRWP04102");
  160. btn_search.dispatch("DOMActivate");
  161. ]]>
  162. </script>
  163. </button>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>