SMRWP02100_월별급여내역조회.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  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. <payspecdata>
  11. <payamtlist/>
  12. <paytitlelist/>
  13. </payspecdata>
  14. <payspecexcel>
  15. <payamtexcellist/>
  16. </payspecexcel>
  17. </main>
  18. <init>
  19. <temp/>
  20. </init>
  21. <send>
  22. <payspec>
  23. <emplno/>
  24. <emplnm/>
  25. <saldfrayflag/>
  26. <payfromym/>
  27. <dutdeptcd/>
  28. <instcd/>
  29. <payclsprfshipflag/>
  30. <chkyn/>
  31. <teamflag>1</teamflag>
  32. <paytotexceptyn/>
  33. <holyordflag/>
  34. </payspec>
  35. <prtdata>
  36. <instnm/>
  37. <prtuser/>
  38. <payym/>
  39. </prtdata>
  40. </send>
  41. <hidden/>
  42. </root>
  43. </instance>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. /* Combo Data Setting
  47. misfComboComCdListMulti(공통코드군, Combo) */
  48. var curdate = getCurrentDate();
  49. model.setValue(ipt_payfromym.attribute("ref") , curdate.substr(0,6));
  50. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  51. model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  52. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  53. misfComboComCdListMulti("R0112,R0066,R0097","cmb_SalDfrayFlag,cmb_holyordflag,cmb_payclsprfshipflag");
  54. addComboItem( "cmb_payclsprfshipflag", "[-- 전체 --]", "%", "above");
  55. addComboItem( "cmb_holyordflag", "[-- 전체 --]", "", "above");
  56. model.setValue(cmb_payclsprfshipflag.attribute("ref"), "%");
  57. model.setValue(cmb_holyordflag.attribute("ref"), "");
  58. cmb_payclsprfshipflag.refresh();
  59. misfGetUserAuth();
  60. if (DUTY_PAY_YN == "Y" ) {
  61. cmb_instcd.disabled = false;
  62. }
  63. else {
  64. cmb_instcd.disabled = true;
  65. }
  66. model.setFocus("cmb_SalDfrayFlag");
  67. ]]>
  68. </script>
  69. <submission id="TRRWP02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspec" resultref="/root/main/payspecdata"/>
  70. <submission id="TRRWP02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspec" resultref="/root/main/payspecexcel"/>
  71. <submission id="TRRWP02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/payspec" resultref="/root/main/payspecexcel"/>
  72. </model>
  73. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  77. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  78. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  79. </xhtml:head>
  80. <xhtml:body style="margin-left:8; margin-right:8; ">
  81. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  82. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">월별 급여 내역 조회</caption>
  83. </group>
  84. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  85. <select1 id="rdo_teamflag" ref="/root/send/payspec/teamflag" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:5px; top:18px; width:135px; height:20px; border-style:none; ">
  86. <choices>
  87. <item>
  88. <label>인사팀용</label>
  89. <value>1</value>
  90. </item>
  91. <item>
  92. <label>재무팀용</label>
  93. <value>2</value>
  94. </item>
  95. </choices>
  96. </select1>
  97. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  98. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  99. <caption>조회</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. if (grd_payamtlist.nodeset.length> 0) {
  103. model.removeNodeset("/root/main/payspecdata/payamtlist");
  104. grd_payamtlist.nodeset = "/root/init/temp";
  105. //for (var i = grd_payamtlist.cols; i >= grd_payamtlist.fixedCols ; i--) {
  106. for (var i = grd_payamtlist.cols - 1; i >= 1 ; i--) {
  107. grd_payamtlist.removeColumn(false);
  108. }
  109. grd_payamtlist.caption = "";
  110. model.refresh();
  111. grd_payamtlist.rebuild();
  112. }
  113. submit("TRRWP02101");
  114. var node = instance1.selectNodes("/root/main/payspecdata/payamtlist[1]/*");
  115. var payitemcnt = model.getValue("/root/main/payspecdata/paytitlelist/payitemcnt") ;
  116. var payitemcnt2 = model.getValue("/root/main/payspecdata/paytitlelist/payitemcnt2") ;
  117. var teamflag = model.getValue(rdo_teamflag.attribute("ref"));
  118. if (node.length > 0 ) {
  119. for(i=0;i<payitemcnt;i++) {
  120. if (teamflag == "1") {
  121. if (i < 10 ) {
  122. //if(i == 11 || i == 12 || i == 13 || i == 14 || i == 15 || i == 16 || i == 17 || i == 18|| i == 19|| i == 20 || i == 21)
  123. if(i == 0 || i == 9)
  124. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " style:" + "text-align:center; ", false);
  125. else
  126. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" , false);
  127. }
  128. else {
  129. //grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " format:" + "(-)#,###;" + " style:" + "text-align:right; ", false);
  130. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " format:" + "(-)#,###;" + "savetype:" + "digit;" + " style:" + "text-align:right; ", false);
  131. //grd_payamtlist.subtotal("sum",-1 , grd_payamtlist.colRef(node.item(i).nodeName), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  132. }
  133. }
  134. else {
  135. if (i < 18 ) {
  136. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" , false);
  137. }
  138. else {
  139. if ( i > payitemcnt2 ){
  140. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " style:" + "text-align:center; ", false);
  141. }
  142. else{
  143. grd_payamtlist.addColumn("ref:" + node.item(i).nodeName + "; type:output;" + " format:" + "(-)#,###;" + " style:" + "text-align:right; ", false);
  144. //grd_payamtlist.subtotal("sum",-1 , grd_payamtlist.colRef(node.item(i).nodeName), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  145. }
  146. }
  147. }
  148. }
  149. var saldfrayflag = model.getValue("/root/send/payspec/saldfrayflag");
  150. if (teamflag == "1") {
  151. if (saldfrayflag != "1" && saldfrayflag != "8") {
  152. /*
  153. grd_payamtlist.colwidth(13) = 0;
  154. grd_payamtlist.colwidth(14) = 0;
  155. grd_payamtlist.colwidth(15) = 0;
  156. grd_payamtlist.colwidth(16) = 0;
  157. grd_payamtlist.colwidth(17) = 0;
  158. grd_payamtlist.colwidth(18) = 0;
  159. grd_payamtlist.colwidth(19) = 0;
  160. grd_payamtlist.colwidth(20) = 0;
  161. */
  162. if (saldfrayflag == "3") {
  163. grd_payamtlist.colwidth(19) = 60;
  164. grd_payamtlist.colwidth(20) = 60;
  165. grd_payamtlist.colwidth(21) = 100;
  166. grd_payamtlist.colwidth(22) = 100;
  167. grd_payamtlist.colwidth(23) = 100;
  168. grd_payamtlist.colwidth(24) = 100;
  169. }
  170. else {
  171. grd_payamtlist.colwidth(23) = 0;
  172. grd_payamtlist.colwidth(24) = 0;
  173. grd_payamtlist.colwidth(25) = 0;
  174. grd_payamtlist.colwidth(26) = 0;
  175. grd_payamtlist.colwidth(27) = 0;
  176. grd_payamtlist.colwidth(28) = 0;
  177. }
  178. }
  179. else {
  180. //grd_payamtlist.colwidth(12) = 18;
  181. /*
  182. grd_payamtlist.colwidth(13) = 18;
  183. grd_payamtlist.colwidth(14) = 18;
  184. grd_payamtlist.colwidth(15) = 18;
  185. grd_payamtlist.colwidth(16) = 18;
  186. grd_payamtlist.colwidth(17) = 18;
  187. grd_payamtlist.colwidth(18) = 18;
  188. grd_payamtlist.colwidth(19) = 18;
  189. grd_payamtlist.colwidth(20) = 18;
  190. grd_payamtlist.colwidth(23) = 0;
  191. grd_payamtlist.colwidth(24) = 0;
  192. grd_payamtlist.colwidth(25) = 0;
  193. grd_payamtlist.colwidth(26) = 0;
  194. grd_payamtlist.colwidth(27) = 0;
  195. grd_payamtlist.colwidth(28) = 0;
  196. */
  197. }
  198. }
  199. else {
  200. if (saldfrayflag == "3") {
  201. grd_payamtlist.colwidth(19) = 60;
  202. grd_payamtlist.colwidth(20) = 60;
  203. grd_payamtlist.colwidth(21) = 100;
  204. grd_payamtlist.colwidth(22) = 100;
  205. grd_payamtlist.colwidth(23) = 100;
  206. grd_payamtlist.colwidth(24) = 0;
  207. grd_payamtlist.colwidth(25) = 0;
  208. grd_payamtlist.colwidth(26) = 0;
  209. grd_payamtlist.colwidth(27) = 0;
  210. grd_payamtlist.colwidth(28) = 0;
  211. }
  212. else if (saldfrayflag == "4") {
  213. grd_payamtlist.colwidth(19) = 0;
  214. grd_payamtlist.colwidth(20) = 0;
  215. grd_payamtlist.colwidth(21) = 0;
  216. grd_payamtlist.colwidth(22) = 0;
  217. grd_payamtlist.colwidth(23) = 0;
  218. grd_payamtlist.colwidth(24) = 100;
  219. grd_payamtlist.colwidth(25) = 100;
  220. grd_payamtlist.colwidth(26) = 100;
  221. grd_payamtlist.colwidth(27) = 100;
  222. grd_payamtlist.colwidth(28) = 100;
  223. }
  224. else {
  225. grd_payamtlist.colwidth(19) = 0;
  226. grd_payamtlist.colwidth(20) = 0;
  227. grd_payamtlist.colwidth(21) = 0;
  228. grd_payamtlist.colwidth(22) = 0;
  229. grd_payamtlist.colwidth(23) = 0;
  230. grd_payamtlist.colwidth(24) = 0;
  231. grd_payamtlist.colwidth(25) = 0;
  232. grd_payamtlist.colwidth(26) = 0;
  233. grd_payamtlist.colwidth(27) = 0;
  234. grd_payamtlist.colwidth(28) = 0;
  235. }
  236. }
  237. grd_payamtlist.frozenCols = 3;
  238. }
  239. grd_payamtlist.caption = model.getValue("/root/main/payspecdata/paytitlelist/paytitle") + "|" + model.getValue("/root/main/payspecdata/paytitlelist/paytitle");
  240. grd_payamtlist.nodeset = "/root/main/payspecdata/payamtlist";
  241. grd_payamtlist.rebuild();
  242. // grd_payamtlist.subtotal("sum",-1 , grd_payamtlist.colRef("payitem28"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  243. grd_payamtlist.subtotalposition = "below";
  244. if (node.length > 0 ) {
  245. for(i=0;i<payitemcnt;i++) {
  246. if (teamflag == "1") {
  247. if (i >= 10 ) {
  248. grd_payamtlist.subtotal("sum",-1 , grd_payamtlist.colRef(node.item(i).nodeName), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  249. }
  250. }
  251. else {
  252. if (i >= 18 && i <= payitemcnt2 - 1) {
  253. grd_payamtlist.subtotal("sum",-1 , grd_payamtlist.colRef(node.item(i).nodeName), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  254. }
  255. }
  256. }
  257. }
  258. ]]>
  259. </script>
  260. </button>
  261. <line id="line13" class="line_4" style="x1:1120px; y1:10px; x2:1120px; y2:44px; "/>
  262. <button id="btn_emplno" class="icon_search" navindex="6" style="left:1030px; top:18px; width:16px; height:16px; ">
  263. <caption/>
  264. <script type="javascript" ev:event="DOMActivate">
  265. <![CDATA[
  266. var recv_list = "emplno,emplnm" ;
  267. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"","N");
  268. model.refresh();
  269. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  270. btn_search.dispatch("DOMActivate");
  271. }
  272. ]]>
  273. </script>
  274. </button>
  275. <caption id="caption1" class="search_name" style="left:892px; top:18px; width:63px; height:17px; ">사번 :</caption>
  276. <input id="ipt_emplnos" ref="/root/send/payspec/emplno" class="input_default" style="left:953px; top:18px; width:72px; height:19px; ">
  277. <script type="javascript" ev:event="onkeyup">
  278. <![CDATA[
  279. if (ipt_emplnos.currentText != null && ipt_emplnos.currentText != "" ) {
  280. inputEnterKey("ipt_emplnos", "xforms-value-changed");
  281. }
  282. ]]>
  283. </script>
  284. <script type="javascript" ev:event="xforms-value-changed">
  285. <![CDATA[
  286. var recv_list = "emplno,emplnm" ;
  287. rpbfValidationCheck("EMPLNO", recv_list);
  288. model.refresh();
  289. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  290. btn_search.dispatch("DOMActivate");
  291. }
  292. ]]>
  293. </script>
  294. </input>
  295. <input id="ipt_emplnms" ref="/root/send/payspec/emplnm" class="input_default" style="left:1049px; top:18px; width:66px; height:19px; ">
  296. <script type="javascript" ev:event="onkeyup">
  297. <![CDATA[
  298. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  299. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  300. }
  301. ]]>
  302. </script>
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. var recv_list = "emplno,emplnm" ;
  306. rpbfValidationCheck("EMPLNM", recv_list);
  307. model.refresh();
  308. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  309. btn_search.dispatch("DOMActivate");
  310. }
  311. ]]>
  312. </script>
  313. </input>
  314. <line id="line9" class="line_1" style="x1:2px; y1:69px; x2:1192px; y2:69px; "/>
  315. <caption id="caption34" class="tit_2" style="left:3px; top:54px; width:144px; height:14px; ">월별 급여 내역 List</caption>
  316. <caption id="caption21" class="search_name" style="left:6px; top:18px; width:86px; height:17px; ">급여종류:</caption>
  317. <select1 id="cmb_SalDfrayFlag" ref="/root/send/payspec/saldfrayflag" class="combo_s_essential" navindex="1" appearance="minimal" style="left:87px; top:18px; width:98px; height:19px; ">
  318. <choices>
  319. <itemset>
  320. <label/>
  321. <value/>
  322. </itemset>
  323. </choices>
  324. <script type="javascript" ev:event="xforms-value-changed">
  325. <![CDATA[
  326. if (DUTY_PAY_YN == "Y" || cmb_SalDfrayFlag.value == "2") {
  327. cmb_instcd.disabled = false;
  328. }
  329. else {
  330. cmb_instcd.disabled = true;
  331. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  332. }
  333. if (cmb_SalDfrayFlag.value == "2") {
  334. misfComboComCdListMulti("R0112,Z0007,R0066,R0097","cmb_SalDfrayFlag,cmb_instcd,cmb_holyordflag,cmb_payclsprfshipflag");
  335. addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  336. addComboItem( "cmb_holyordflag", "[-- 전체 --]", "", "above");
  337. model.setValue(cmb_instcd.attribute("ref"), "%");
  338. model.setValue(cmb_holyordflag.attribute("ref"), "");
  339. }
  340. else {
  341. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  342. misfComboComCdListMulti("R0112,R0066,R0097","cmb_SalDfrayFlag,cmb_holyordflag,cmb_payclsprfshipflag");
  343. addComboItem( "cmb_payclsprfshipflag", "[-- 전체 --]", "%", "above");
  344. addComboItem( "cmb_holyordflag", "[-- 전체 --]", "", "above");
  345. model.setValue(cmb_payclsprfshipflag.attribute("ref"), "%");
  346. model.setValue(cmb_holyordflag.attribute("ref"), "");
  347. // misfComboComCdListMulti("Z0007,R0112,R0225","cmb_instcd,cmb_SalDfrayFlag,grd_paytrgtlist.amtratedaynoflag");
  348. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "bnuspayflag");
  349. // misfComboCopyItemSet(grd_paytrgtlist, "amtratedaynoflag", grd_paytrgtlist, "divcalcflag");
  350. // var curdate = getCurrentDate();
  351. // model.setValue(ipt_payym.attribute("ref") , curdate.substr(0,6));
  352. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  353. // model.setValue(cmb_SalDfrayFlag.attribute("ref"), "1");
  354. }
  355. model.refresh();
  356. ]]>
  357. </script>
  358. </select1>
  359. <caption id="caption22" class="search_name" style="left:365px; top:18px; width:70px; height:17px; ">지급월:</caption>
  360. <input id="ipt_payfromym" ref="/root/send/payspec/payfromym" class="input_default" navindex="3" inputtype="date" format="yyyy-mm" style="left:434px; top:18px; width:77px; height:19px; text-align:center; vertical-align:middle; "/>
  361. <datagrid id="grd_payamtlist" colsep="^" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1190px; height:660px; "/>
  362. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  363. <caption>엑셀저장</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. /*
  367. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  368. if (fileName != "")
  369. {
  370. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  371. var param = "&instcd=" + model.getValue("/root/send/payspec/instcd");
  372. param += "&saldfrayflag=" + model.getValue("/root/send/payspec/saldfrayflag");
  373. param += "&payfromym=" + model.getValue("/root/send/payspec/payfromym");
  374. param += "&dutdeptcd=" + model.getValue("/root/send/payspec/dutdeptcd");
  375. param += "&emplno=" + model.getValue("/root/send/payspec/emplno");
  376. param += "&payclsprfshipflag=" + model.getValue("/root/send/payspec/payclsprfshipflag");
  377. param += "&chkyn=" + model.getValue("/root/send/payspec/chkyn");
  378. param += "&teamflag=" + model.getValue("/root/send/payspec/teamflag");
  379. param += "&paytotexceptyn=" + model.getValue("/root/send/payspec/paytotexceptyn");
  380. //model.download(getActionURL("TRRWP02102")+"&param=live",fileName);
  381. //alert(getActionURL("TRRWP02103") );
  382. model.download(getActionURL("TRRWP02103") + param, fileName, true);
  383. window.exec(fileName);
  384. //submit("TRRWP02102");
  385. }
  386. */
  387. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  388. if (fileName != "")
  389. {
  390. //grd_payamtlist.saveExcel(fileName);
  391. grd_payamtlist.saveExcel(fileName, "SheetName:sheet1");
  392. }
  393. ]]>
  394. </script>
  395. </button>
  396. <select1 id="cmb_instcd" ref="/root/send/payspec/instcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:250px; top:18px; width:105px; height:19px; ">
  397. <choices>
  398. <itemset>
  399. <label/>
  400. <value/>
  401. </itemset>
  402. </choices>
  403. </select1>
  404. <caption id="caption3" class="search_name" style="left:191px; top:18px; width:61px; height:17px; ">기관:</caption>
  405. <select1 id="cmb_payclsprfshipflag" ref="/root/send/payspec/payclsprfshipflag" class="combo_s_essential" navindex="5" appearance="minimal" style="left:789px; top:18px; width:100px; height:19px; ">
  406. <choices>
  407. <itemset>
  408. <label/>
  409. <value/>
  410. </itemset>
  411. </choices>
  412. </select1>
  413. <caption id="caption4" class="search_name" style="left:707px; top:18px; width:84px; height:17px; ">호봉구분:</caption>
  414. <select id="chk_change" ref="/root/send/payspec/chkyn" visibility="hidden" overflow="visible" appearance="full" style="left:375px; top:48px; width:100px; height:20px; border-style:solid; ">
  415. <choices>
  416. <item>
  417. <label>변동자</label>
  418. <value>Y</value>
  419. </item>
  420. </choices>
  421. <script type="javascript" ev:event="xforms-value-changed">
  422. <![CDATA[
  423. btn_search.dispatch("DOMActivate");
  424. ]]>
  425. </script>
  426. </select>
  427. <button id="button1" class="btn2_letter7" visibility="hidden" style="left:479px; top:48px; width:97px; height:19px; ">
  428. <caption>급여조정내역서</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. var payym = ipt_payfromym.value;
  432. model.setValue("/root/send/prtdata/instnm",cmb_instcd.label);
  433. model.setValue("/root/send/prtdata/prtuser", getUserInfo("usernm"));
  434. model.setValue("/root/send/prtdata/payym", payym.substr(0,4) + "년" + payym.substr(4,2) + "월분" );
  435. if (cmb_instcd.value != "001" && cmb_instcd.value != "011" && cmb_instcd.value != "012" ) {
  436. exeReportPreview("RPRWP02100", "XMLSTR", "/root/send/prtdata");
  437. }
  438. else {
  439. exeReportPreview("RPRWP02101", "XMLSTR", "/root/send/prtdata");
  440. }
  441. ]]>
  442. </script>
  443. </button>
  444. <select id="chk_paytotexceptyn" ref="/root/send/payspec/paytotexceptyn" visibility="hidden" overflow="visible" appearance="full" style="left:150px; top:48px; width:145px; height:20px; border-style:solid; ">
  445. <choices>
  446. <item>
  447. <label>급여총액없는인원제외</label>
  448. <value>Y</value>
  449. </item>
  450. </choices>
  451. <script type="javascript" ev:event="xforms-value-changed">
  452. <![CDATA[
  453. btn_search.dispatch("DOMActivate");
  454. ]]>
  455. </script>
  456. </select>
  457. <button id="button2" class="btn2_letter4" visibility="hidden" style="left:1030px; top:48px; width:64px; height:19px; ">
  458. <caption>csv저장</caption>
  459. <script type="javascript" ev:event="DOMActivate">
  460. <![CDATA[
  461. var fileName = window.fileDialog ("save", ",", false, "excel", "csv", "All Files (*.*)|*.*|Excel Files(*.csv)|*.csv");
  462. if (fileName != "")
  463. {
  464. //grd_payamtlist.saveExcel(fileName, "sheetname:sheet1");
  465. var param = "&instcd=" + model.getValue("/root/send/payspec/instcd");
  466. param += "&saldfrayflag=" + model.getValue("/root/send/payspec/saldfrayflag");
  467. param += "&payfromym=" + model.getValue("/root/send/payspec/payfromym");
  468. param += "&dutdeptcd=" + model.getValue("/root/send/payspec/dutdeptcd");
  469. param += "&emplno=" + model.getValue("/root/send/payspec/emplno");
  470. param += "&payclsprfshipflag=" + model.getValue("/root/send/payspec/payclsprfshipflag");
  471. param += "&chkyn=" + model.getValue("/root/send/payspec/chkyn");
  472. param += "&teamflag=" + model.getValue("/root/send/payspec/teamflag");
  473. param += "&paytotexceptyn=" + model.getValue("/root/send/payspec/paytotexceptyn");
  474. //model.download(getActionURL("TRRWP02102")+"&param=live",fileName);
  475. model.download(getActionURL("TRRWP02102") + param, fileName, false);
  476. //submit("TRRWP02102");
  477. }
  478. ]]>
  479. </script>
  480. </button>
  481. <caption id="caption2" class="search_name" style="left:518px; top:18px; width:87px; height:17px; ">직원구분 :</caption>
  482. <select1 id="cmb_holyordflag" ref="/root/send/payspec/holyordflag" class="combo_s_essential" navindex="4" appearance="minimal" style="left:605px; top:18px; width:96px; height:19px; ">
  483. <choices>
  484. <itemset>
  485. <label/>
  486. <value/>
  487. </itemset>
  488. </choices>
  489. </select1>
  490. </group>
  491. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  492. </xhtml:body>
  493. </xhtml:html>