SMRWY00900_연말정산기준등록.xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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. <yyendtaxbase>
  11. <yyendtaxbaselist/>
  12. </yyendtaxbase>
  13. </main>
  14. <send>
  15. <save>
  16. <yyendtaxbaselist/>
  17. </save>
  18. <yyendtaxbase>
  19. <appdd/>
  20. <instcd/>
  21. <calcflag/>
  22. <sortflag>B</sortflag>
  23. </yyendtaxbase>
  24. </send>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. misfGridInit(grd_yyendtaxbaselist);
  30. misfMsterDetailSet(grd_yyendtaxbaselist,null, "TRRWY00901" ,"Y");
  31. var nowdate = getCurrentDate();
  32. model.setValue(ipt_appdd.attribute("ref"), nowdate);
  33. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  34. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  35. misfComboComCdListMulti("R0243,R0245","cmb_calcflag,grd_yyendtaxbaselist.calcitemcd");
  36. misfGetUserAuth();
  37. if (DUTY_PAY_YN == "Y" ) {
  38. cmb_instcd.disabled = false;
  39. }
  40. else {
  41. cmb_instcd.disabled = true;
  42. }
  43. ]]>
  44. </script>
  45. <submission id="TRRWY00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/yyendtaxbase" resultref="/root/main/yyendtaxbase"/>
  46. <submission id="TXRWY00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  47. </model>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  51. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  52. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. </xhtml:head>
  55. <xhtml:body>
  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. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  61. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
  62. <caption>조회</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. misfMsterDetailRetrieve();
  66. ]]>
  67. </script>
  68. </button>
  69. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
  70. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195; y2:69px; "/>
  71. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:198px; height:14px; ">연말(퇴직)정산기준 List</caption>
  72. <button id="btn_grdaddyyendtaxbaselist" class="btn2_letter3" style="left:1085px; top:48px; width:53px; height:19px; ">
  73. <caption>행추가</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. misfGridIUD(grd_yyendtaxbaselist, "A");
  77. model.setValue(grd_yyendtaxbaselist.nodeset + "[" + (grd_yyendtaxbaselist.row - grd_yyendtaxbaselist.fixedRows + 1)+ "]/instcd",model.getValue(cmb_instcd.attribute("ref")));
  78. ]]>
  79. </script>
  80. </button>
  81. <button id="btn_grddelyyendtaxbaselist" class="btn2_letter3" style="left:1141px; top:48px; width:53px; height:19px; ">
  82. <caption>행삭제</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. misfGridIUD(grd_yyendtaxbaselist, "D");
  86. ]]>
  87. </script>
  88. </button>
  89. <caption id="caption3" class="search_name" style="left:15px; top:19px; width:94px; height:17px; ">적용일자 :</caption>
  90. <input id="ipt_appdd" ref="/root/send/yyendtaxbase/appdd" class="input_s_essential" inputtype="date" style="left:100px; top:18px; width:116px; height:19px; "/>
  91. <datagrid id="grd_yyendtaxbaselist" nodeset="/root/main/yyendtaxbase/yyendtaxbaselist" caption="정산구분코드^정산구분명^정산계산항목^계산순서^출력여부^퇴직계산여부^입력여부^전근무지여부^적용일자^출력순번^기관코드^정산구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시|정산구분코드^정산구분명^정산계산항목^계산순서^출력여부^퇴직계산여부^입력여부^전근무지여부^적용일자^출력순번^기관코드^정산구분^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="128, 396, 184, 93, 37, 48, 33, 45, 122, 62, 34, 30, 34, 33, 27, 31" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:660px; ">
  92. <col ref="calcflagcd" type="inputbutton" _key="true"/>
  93. <col ref="calcflagnm"/>
  94. <col ref="calcitemcd" type="combo" _key="true">
  95. <choices>
  96. <itemset>
  97. <label/>
  98. <value/>
  99. </itemset>
  100. </choices>
  101. </col>
  102. <col ref="processseq" type="input" style="text-align:center; "/>
  103. <col checkvalue="Y,N" ref="prntyn" type="checkbox"/>
  104. <col checkvalue="Y,N" ref="retirecalcyn" type="checkbox"/>
  105. <col checkvalue="Y,N" ref="inputyn" type="checkbox"/>
  106. <col checkvalue="Y,N" ref="predutplceyn" type="checkbox"/>
  107. <col ref="appdd" type="inputdate" _key="true"/>
  108. <col ref="prntseq" type="input" style="text-align:right; vertical-align:middle; "/>
  109. <col ref="instcd" visibility="hidden"/>
  110. <col ref="calcflag" visibility="hidden"/>
  111. <col ref="fstrgstrid" visibility="hidden"/>
  112. <col ref="fstrgstdt" visibility="hidden"/>
  113. <col ref="lastupdtrid" visibility="hidden"/>
  114. <col ref="lastupdtdt" visibility="hidden"/>
  115. <script type="javascript" ev:event="onaftersort">
  116. <![CDATA[
  117. grd_yyendtaxbaselist.gridToInstance();
  118. ]]>
  119. </script>
  120. <script type="javascript" ev:event="onbuttonclick">
  121. <![CDATA[
  122. if (grd_yyendtaxbaselist.colAttribute(grd_yyendtaxbaselist.col,"ref") == "calcflagcd" ) { //급여항목
  123. var recv_list = "calcflagcd,calcflagnm";
  124. misfOpenPopUpList("03", grd_yyendtaxbaselist,"R0244", recv_list) ;
  125. model.refresh();
  126. }
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="xforms-value-changed">
  130. <![CDATA[
  131. if (grd_yyendtaxbaselist.colAttribute(grd_yyendtaxbaselist.col,"ref") == "calcflagcd" ) { //급여항목
  132. var recv_list = "calcflagcd,calcflagnm";
  133. misfValidationCheck("03", "R0244",recv_list);
  134. model.refresh();
  135. }
  136. ]]>
  137. </script>
  138. </datagrid>
  139. <select1 id="cmb_calcflag" ref="/root/send/yyendtaxbase/calcflag" class="combo_s_essential" appearance="minimal" style="left:562px; top:18px; width:125px; height:19px; ">
  140. <choices>
  141. <itemset>
  142. <label/>
  143. <value/>
  144. </itemset>
  145. </choices>
  146. <script type="javascript" ev:event="xforms-value-changed">
  147. <![CDATA[
  148. btn_search.dispatch("DOMActivate");
  149. ]]>
  150. </script>
  151. </select1>
  152. <caption id="caption13" class="search_name" style="left:476px; top:19px; width:86px; height:17px; ">정산구분 :</caption>
  153. <select1 id="cmb_instcd" ref="/root/send/yyendtaxbase/instcd" class="combo_s_essential" appearance="minimal" style="left:326px; top:18px; width:125px; height:19px; ">
  154. <choices>
  155. <itemset>
  156. <label/>
  157. <value/>
  158. </itemset>
  159. </choices>
  160. <script type="javascript" ev:event="xforms-value-changed">
  161. <![CDATA[
  162. btn_search.dispatch("DOMActivate");
  163. ]]>
  164. </script>
  165. </select1>
  166. <caption id="caption2" class="search_name" style="left:242px; top:19px; width:85px; height:17px; ">기 관 :</caption>
  167. </group>
  168. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  169. <button id="button36" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  170. <caption>저장</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. if(!checkKeyColumn("grd_yyendtaxbaselist"))return;
  174. misfSave("TXRWY00901");
  175. ]]>
  176. </script>
  177. </button>
  178. <button id="button35" class="btn4_letter3" style="left:1070px; top:3px; width:68px; height:22px; ">
  179. <caption>초기화</caption>
  180. </button>
  181. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  182. </group>
  183. </xhtml:body>
  184. </xhtml:html>