SMRWD00400_개인별월별지급공제사항등록.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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. <paydedu>
  11. <paydedulist/>
  12. </paydedu>
  13. </main>
  14. <send>
  15. <paydedu>
  16. <paydedudd/>
  17. <instcd/>
  18. <paydeduflag/>
  19. <saldfrayflag/>
  20. <emplno/>
  21. <emplnm/>
  22. </paydedu>
  23. <save>
  24. <paydedulist/>
  25. </save>
  26. </send>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. misfGridInit(grd_paydedulist);
  32. misfMsterDetailSet(grd_paydedulist,null, "TRRWD00401" ,"Y");
  33. var curdate = getCurrentDate();
  34. model.setValue(ipt_paydeduym.attribute("ref") , curdate.substr(0,6));
  35. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  36. model.setValue(cmb_SalDfrayFlag.attribute("ref") , "1");
  37. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  38. misfComboComCdListMulti("R0099,R0112,R0130","cmb_paydeduflag,cmb_SalDfrayFlag,grd_paydedulist.timsamtflag");
  39. ]]>
  40. </script>
  41. <submission id="TRRWD00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paydedu" resultref="/root/main/paydedu"/>
  42. <submission id="TXRWD00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  49. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  50. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  51. </xhtml:head>
  52. <xhtml:body>
  53. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  54. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인별 월별 지급 공제 사항 등록</caption>
  55. </group>
  56. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  57. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  58. <button id="btn_search" class="btn1_letter2" style="left:1128px; top:16px; width:56px; height:22px; ">
  59. <caption>조회</caption>
  60. <script type="javascript" ev:event="DOMActivate">
  61. <![CDATA[
  62. misfMsterDetailRetrieve();
  63. ]]>
  64. </script>
  65. </button>
  66. <line id="line13" class="line_4" style="x1:1121px; y1:16px; x2:1121px; y2:38px; "/>
  67. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1192px; y2:71px; "/>
  68. <caption id="caption1" class="tit_2" style="left:2px; top:56px; width:198px; height:13px; ">개인별 지급/공제사항등록</caption>
  69. <button id="btn_grdaddpaydedulist" class="btn2_letter3" style="left:1018px; top:50px; width:53px; height:19px; ">
  70. <caption>행추가</caption>
  71. <script type="javascript" ev:event="DOMActivate">
  72. <![CDATA[
  73. misfGridIUD(grd_paydedulist, "A");
  74. ]]>
  75. </script>
  76. </button>
  77. <button id="btn_inputexcel" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
  78. <caption>엑셀입력</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  82. if (fileName != "")
  83. {
  84. grd_paydedulist.saveExcel(fileName);
  85. }
  86. ]]>
  87. </script>
  88. </button>
  89. <button id="btn_grddelpaydedulist" class="btn2_letter3" style="left:1074px; top:50px; width:53px; height:19px; ">
  90. <caption>행삭제</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. misfGridIUD(grd_paydedulist, "D");
  94. ]]>
  95. </script>
  96. </button>
  97. <caption id="caption3" class="search_name" style="left:0px; top:19px; width:94px; height:17px; ">적용일자 :</caption>
  98. <input id="ipt_paydeduym" ref="/root/send/paydedu/paydedudd" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:86px; top:18px; width:100px; height:19px; "/>
  99. <select1 id="cmb_instcd" ref="/root/send/paydedu/instcd" class="combo_s_essential" appearance="minimal" style="left:243px; top:17px; width:125px; height:19px; ">
  100. <choices>
  101. <itemset>
  102. <label/>
  103. <value/>
  104. </itemset>
  105. </choices>
  106. </select1>
  107. <caption id="caption2" class="search_name" style="left:187px; top:18px; width:61px; height:17px; ">기관:</caption>
  108. <datagrid id="grd_paydedulist" nodeset="/root/main/paydedu/paydedulist" caption="항목코드^항목명^회수금액구분^지급공제금액/횟수^기관코드^급여종류^지급공제구분^지급공제코드^적용일자^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="167, 386, 307, 309, 34, 33, 31, 33, 34, 30, 38, 39, 57, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:77px; width:1192px; height:660px; ">
  109. <col ref="payitemcd" type="inputbutton"/>
  110. <col ref="payitemnm"/>
  111. <col ref="timsamtflag" type="combo">
  112. <choices>
  113. <itemset>
  114. <label/>
  115. <value/>
  116. </itemset>
  117. </choices>
  118. </col>
  119. <col ref="paydeduamt" type="input" format="#,###.#" style="text-align:right; vertical-align:middle; "/>
  120. <col ref="instcd" visibility="hidden"/>
  121. <col ref="saldfrayflag" visibility="hidden"/>
  122. <col ref="paydeduflag" visibility="hidden"/>
  123. <col ref="payitemcd" visibility="hidden"/>
  124. <col ref="paydedudd" visibility="hidden"/>
  125. <col ref="fstrgstrid" visibility="hidden"/>
  126. <col ref="fstrgstdt" visibility="hidden"/>
  127. <col ref="lastupdtrid" visibility="hidden"/>
  128. <col ref="lastupdtdt" visibility="hidden"/>
  129. <col ref="emplno" visibility="hidden"/>
  130. <script type="javascript" ev:event="onbuttonclick">
  131. <![CDATA[
  132. if (grd_paydedulist.colAttribute(grd_paydedulist.col,"ref") == "payitemcd" ) { //계산기준코드
  133. var recv_list = "payitemcd,payitemnm";
  134. misfOpenPopUpList("13", grd_paydedulist, "", recv_list, "");
  135. model.refresh();
  136. }
  137. ]]>
  138. </script>
  139. <script type="javascript" ev:event="xforms-value-changed">
  140. <![CDATA[
  141. if (grd_paydedulist.colAttribute(grd_paydedulist.col,"ref") == "payitemcd" ) { //계산기준코드1
  142. var recv_list = "payitemcd,payitemnm";
  143. var saldfrayflag = model.getValue(cmb_SalDfrayFlag.attribute("ref"));
  144. var paydeduflag = "%";
  145. rwcfValidationCheck("PAYITEM",saldfrayflag, paydeduflag, recv_list)
  146. model.refresh();
  147. }
  148. ]]>
  149. </script>
  150. </datagrid>
  151. <select1 id="cmb_paydeduflag" ref="/root/send/paydedu/paydeduflag" class="combo_s_essential" appearance="minimal" style="left:684px; top:17px; width:125px; height:19px; ">
  152. <choices>
  153. <itemset>
  154. <label/>
  155. <value/>
  156. </itemset>
  157. </choices>
  158. </select1>
  159. <caption id="caption4" class="search_name" style="left:578px; top:18px; width:107px; height:17px; ">지급공제구분:</caption>
  160. <caption id="caption5" class="search_name" style="left:370px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  161. <select1 id="cmb_SalDfrayFlag" ref="/root/send/paydedu/saldfrayflag" class="combo_s_essential" appearance="minimal" style="left:451px; top:17px; width:125px; height:19px; ">
  162. <choices>
  163. <itemset>
  164. <label/>
  165. <value/>
  166. </itemset>
  167. </choices>
  168. </select1>
  169. <caption id="caption7" class="search_name" style="left:810px; top:17px; width:63px; height:17px; ">사번 :</caption>
  170. <button id="btn_emplno" class="icon_search" style="left:960px; top:17px; width:16px; height:16px; ">
  171. <caption/>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. var recv_list = "emplno,emplnm" ;
  175. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  176. model.refresh();
  177. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  178. btn_search.dispatch("DOMActivate");
  179. }
  180. ]]>
  181. </script>
  182. </button>
  183. <input id="ipt_emplnos" ref="/root/send/paydedu/emplno" class="input_essential" style="left:871px; top:17px; width:87px; height:19px; ">
  184. <script type="javascript" ev:event="onkeyup">
  185. <![CDATA[
  186. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  187. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  188. inputEnterKey("btn_search", "DOMActivate");
  189. }
  190. ]]>
  191. </script>
  192. <script type="javascript" ev:event="xforms-value-changed">
  193. <![CDATA[
  194. var recv_list = "emplno,emplnm" ;
  195. rpbfValidationCheck("EMPLNO", recv_list);
  196. model.refresh();
  197. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  198. btn_search.dispatch("DOMActivate");
  199. }
  200. ]]>
  201. </script>
  202. </input>
  203. <input id="ipt_emplnms" ref="/root/send/paydedu/emplnm" class="input_default" style="left:977px; top:17px; width:141px; height:19px; ">
  204. <script type="javascript" ev:event="onkeyup">
  205. <![CDATA[
  206. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  207. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  208. inputEnterKey("btn_search", "DOMActivate");
  209. }
  210. ]]>
  211. </script>
  212. <script type="javascript" ev:event="xforms-value-changed">
  213. <![CDATA[
  214. var recv_list = "emplno,emplnm" ;
  215. rpbfValidationCheck("EMPLNM", recv_list);
  216. model.refresh();
  217. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  218. btn_search.dispatch("DOMActivate");
  219. }
  220. ]]>
  221. </script>
  222. </input>
  223. </group>
  224. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  225. <button id="button36" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  226. <caption>저장</caption>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. misfSave("TXRWD00201");
  230. ]]>
  231. </script>
  232. </button>
  233. <button id="button35" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  234. <caption>초기화</caption>
  235. </button>
  236. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  237. </group>
  238. </xhtml:body>
  239. </xhtml:html>