SMRWC00200_급여지급공제코드등록.xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <paydeducdlist>
  12. <paydeducd/>
  13. <paydedunm/>
  14. <paydeduflag/>
  15. <payflag/>
  16. <dedurateamt/>
  17. <fixflag/>
  18. <payspecsumpos/>
  19. <fstgstrid/>
  20. <fstgstdt/>
  21. <lastupdtrid/>
  22. <lastupdtdt/>
  23. </paydeducdlist>
  24. </list>
  25. <paydedu>
  26. <paydedulist/>
  27. </paydedu>
  28. </main>
  29. <send>
  30. <paydedukind>
  31. <getcond/>
  32. <fixyn/>
  33. </paydedukind>
  34. <save>
  35. <paydedulist/>
  36. </save>
  37. </send>
  38. <init/>
  39. <save>
  40. <paydedulist/>
  41. </save>
  42. <hidden>
  43. <temp/>
  44. </hidden>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. misfGridInit(grd_paydedulist);
  50. misfMsterDetailSet(grd_paydedulist, null, "TRRWC00201" ,"Y");
  51. // misfComboComCdList("Z0007",cmb_fixflag);
  52. misfGridComboComCdList("Z0007",grd_paydedulist,"paydeduflag");
  53. model.refresh();
  54. ]]>
  55. </script>
  56. <submission id="TRRWC00201" ref="/root/send/paydedukind" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/paydedu"/>
  57. <submission id="TXRWC00201" ref="/root/send/save" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/temp"/>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  62. <script type="javascript">
  63. <![CDATA[
  64. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  65. function fInitialize() {
  66. model.removeNodeset("/root/main/list/paydeducdlist");
  67. model.resetInstanceNode("/root/send");
  68. var default_paydedukind = model.getValue("/root/main/list/paydeducdlist[1]/value");
  69. model.setValue("/root/send/paydedukind",default_paydedukind);
  70. model.refresh();
  71. }
  72. function fmessageprc() {
  73. model.removeNodeset("/root/hidden/temp/message");
  74. model.duplicate("/root/hidden/temp","/root/recv/list/message");
  75. model.refresh();
  76. }
  77. function fgridsetting() {
  78. model.setValue("/root/main/list/paydeducdlist[" + datagrid1.row + "]/paydedu",model.getValue("/root/send/paydedukind"));
  79. model.setValue("/root/main/list/paydeducdlist[" + datagrid1.row + "]/oldpaydedu",model.getValue("/root/send/paydedukind"));
  80. }
  81. function fgridinirow() {
  82. if(datagrid1.rows > 0){
  83. datagrid1.row = 1;
  84. }
  85. }
  86. ]]>
  87. </script>
  88. </xhtml:head>
  89. <xhtml:body>
  90. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  91. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">급여지급공제코드등록</caption>
  92. </group>
  93. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  94. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  95. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  96. <caption>조회</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. misfMsterDetailRetrieve();
  100. ]]>
  101. </script>
  102. </button>
  103. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  104. <input id="ipt_cond" ref="/root/send/paydedukind/getcond" class="input_search" style="left:100px; top:18px; width:245px; height:19px; "/>
  105. <caption id="caption3" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">검색조건 :</caption>
  106. <caption id="caption2" class="search_name" style="left:395px; top:19px; width:119px; height:17px; ">고정/변동구분 :</caption>
  107. <caption id="caption5" class="tit_2" style="left:5px; top:55px; width:157px; height:13px; ">지급/공제 코드</caption>
  108. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  109. <datagrid id="grd_paydedulist" nodeset="/root/main/paydedu/paydedulist" caption="지급/공제코드^지급/공제명칭^지급/공제구분^급여지급구분^율/금액^고정/변동구분^급여지급내역 집계위치^급여지급내역 집계위치명^최초등록자ID^최초등록일시^ 최종수정자ID^ 최종수정일시|지급/공제코드^지급/공제명칭^지급/공제구분^급여지급구분^율/금액^고정/변동구분^급여지급내역 집계위치^급여지급내역 집계위치명^최초등록자ID^최초등록일시^ 최종수정자ID^ 최종수정일시" colwidth="170, 134, 129, 131, 116, 107, 82, 286, 0, 0, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:75px; width:1195px; height:659px; ">
  110. <col ref="paydeducd" type="input"/>
  111. <col ref="paydedunm" type="input"/>
  112. <col id="paydeduflag" ref="paydeduflag" type="combo">
  113. <choices>
  114. <itemset>
  115. <label/>
  116. <value/>
  117. </itemset>
  118. </choices>
  119. </col>
  120. <col id="payflag" ref="payflag" type="combo">
  121. <choices>
  122. <itemset>
  123. <label/>
  124. <value/>
  125. </itemset>
  126. </choices>
  127. </col>
  128. <col ref="dedurateamt" type="input" style="left:584px; top:23px; width:170px; height:23px; "/>
  129. <col id="fixyn" ref="fixyn" type="checkbox" checkvalue="Y,N">
  130. <choices>
  131. <itemset>
  132. <label/>
  133. <value/>
  134. </itemset>
  135. </choices>
  136. </col>
  137. <col ref="payspecsumpos" type="inputbutton"/>
  138. <col ref="payitemcdnm" type="input"/>
  139. <col ref="fstgstrid"/>
  140. <col ref="fstgstdt"/>
  141. <col ref="lastupdtrid"/>
  142. <col ref="lastupdtdt"/>
  143. <script type="javascript" ev:event="onbuttonclick">
  144. <![CDATA[
  145. if (grd_paydedulist.colAttribute(grd_paydedulist.col,"ref") == "payspecsumpos" ) { //급여지급내역집계위치
  146. var recv_list = "payspecsumpos,payitemcdnm";
  147. misfOpenPopUpList("03", grd_paydedulist,"Z0007", recv_list);
  148. }
  149. ]]>
  150. </script>
  151. </datagrid>
  152. <button id="btn_savepaydedulistexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  153. <caption>엑셀저장</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  157. if (fileName != "")
  158. {
  159. // datagrid1.saveText(fileName);
  160. grd_paydedulist.saveExcel(fileName);
  161. }
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_grddelpaydedulist" class="btn2_letter3" style="left:1074px; top:49px; width:53px; height:19px; ">
  166. <caption>행삭제</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. misfGridIUD(grd_paydedulist, "D");
  170. ]]>
  171. </script>
  172. </button>
  173. <button id="btn_grdaddpaydedulist" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
  174. <caption>행추가</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. misfGridIUD(grd_paydedulist, "A");
  178. //fgridsetting();
  179. //model.setFocus("datagrid1");
  180. ]]>
  181. </script>
  182. </button>
  183. <select1 id="rdo_fixyn" ref="/root/send/paydedukind/fixyn" overflow="visible" appearance="full" cols="2" cellspacing="10" style="left:515px; top:20px; width:145px; height:20px; border-style:none; ">
  184. <choices>
  185. <item>
  186. <label>고 정</label>
  187. <value>Y</value>
  188. </item>
  189. <item>
  190. <label>변 동</label>
  191. <value>N</value>
  192. </item>
  193. </choices>
  194. </select1>
  195. </group>
  196. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  197. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  198. <caption>저장</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. misfSave("TXRWC00201");
  202. ]]>
  203. </script>
  204. </button>
  205. <button id="button35" class="btn4_letter3" style="left:1069px; top:3px; width:68px; height:22px; ">
  206. <caption>초기화</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. //fInitialize();
  210. misfGridInit(grd_paydedulist);
  211. ]]>
  212. </script>
  213. </button>
  214. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  215. </group>
  216. </xhtml:body>
  217. </xhtml:html>