SMRWP04200_상여대상자등록.xrw 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. <bnustrgt>
  11. <bnustrgtlist/>
  12. </bnustrgt>
  13. </main>
  14. <send>
  15. <bnustrgt>
  16. <instcd/>
  17. <payym/>
  18. <prfshipflag/>
  19. </bnustrgt>
  20. <save>
  21. <bnustrgtlist/>
  22. </save>
  23. </send>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. misfGridInit(grd_bnustrgtlist);
  29. misfMsterDetailSet(grd_bnustrgtlist, null, "TRRWP04201" ,"Y");
  30. var curdate = getCurrentDate();
  31. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  32. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  33. misfComboComCdListMulti("R0058","cmb_prfshipflag");
  34. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "", "above");
  35. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  36. model.setValue(cmb_prfshipflag.attribute("ref") , "");
  37. misfGetUserAuth();
  38. if (DUTY_PAY_YN == "Y" ) {
  39. cmb_instcd.disabled = false;
  40. }
  41. else {
  42. cmb_instcd.disabled = true;
  43. }
  44. model.refresh();
  45. model.setFocus("cmb_instcd");
  46. ]]>
  47. </script>
  48. <submission id="TRRWP04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bnustrgt" resultref="/root/main/bnustrgt"/>
  49. <submission id="TXRWP04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" 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_payym" ref="/root/send/bnustrgt/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:324px; top:7px; width:101px; height:19px; text-align:center; vertical-align:middle; "/>
  77. <caption id="cap_payym" class="search_name" style="left:250px; top:8px; width:70px; height:17px; ">지급월:</caption>
  78. <select1 id="cmb_instcd" ref="/root/send/bnustrgt/instcd" class="combo_s_essential" appearance="minimal" style="left:69px; top:7px; width:166px; 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. <select1 id="cmb_prfshipflag" ref="/root/send/bnustrgt/prfshipflag" class="combo_s_essential" appearance="minimal" style="left:532px; top:7px; width:171px; height:19px; ">
  93. <choices>
  94. <itemset>
  95. <label/>
  96. <value/>
  97. </itemset>
  98. </choices>
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. btn_search.dispatch("DOMActivate");
  102. ]]>
  103. </script>
  104. </select1>
  105. <caption id="caption1" class="search_name" style="left:446px; top:8px; width:81px; height:17px; ">급여분류:</caption>
  106. </group>
  107. <datagrid id="grd_bnustrgtlist" nodeset="/root/main/bnustrgt/bnustrgtlist" caption="선택^상여대상^사원번호^성명^입사일^퇴사일^부서^직군^직위^직종^직급^호봉^급여분류^급여지급구분^상여적용율|선택^상여대상^사원번호^성명^입사일^퇴사일^부서^직군^직위^직종^직급^호봉^급여분류^급여지급구분^상여적용율" colsep="^" colwidth="40, 37, 83, 87, 102, 100, 216, 100, 100, 100, 102, 77, 110, 96, 88" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1193px; height:665px; ">
  108. <col checkvalue="Y,N" ref="selyn" type="checkbox"/>
  109. <col ref="saldfraykindyn"/>
  110. <col ref="emplno"/>
  111. <col ref="emplnm"/>
  112. <col disabled="true" ref="entcodd" type="inputdate"/>
  113. <col disabled="true" ref="retiredd" type="inputdate"/>
  114. <col ref="deptnm"/>
  115. <col ref="grupjoblnnm" visibility="hidden"/>
  116. <col ref="jobposnm"/>
  117. <col ref="jobkindnm"/>
  118. <col ref="jobgradnm"/>
  119. <col ref="payclsnm"/>
  120. <col ref="prfshipflagnm"/>
  121. <col ref="saldfraykind" visibility="hidden"/>
  122. <col ref="bnusapprate" visibility="hidden"/>
  123. </datagrid>
  124. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  125. <caption>엑셀저장</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  129. if (fileName != "")
  130. {
  131. grd_bnustrgtlist.saveExcel(fileName);
  132. }
  133. ]]>
  134. </script>
  135. </button>
  136. </group>
  137. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  138. <button id="btn_save" class="btn4_letter2" style="left:1124px; top:3px; width:56px; height:22px; ">
  139. <caption>저장</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. misfSave("TXRWP04201");
  143. btn_search.dispatch("DOMActivate");
  144. ]]>
  145. </script>
  146. </button>
  147. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  148. </group>
  149. </xhtml:body>
  150. </xhtml:html>