SMRPD12400_월별휴일일수관리.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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. <deduitem>
  11. <deduitemlist/>
  12. <instpaydedulist/>
  13. <appinstpaydedulist/>
  14. </deduitem>
  15. <deduitemamt>
  16. <deduitemamtlist/>
  17. </deduitemamt>
  18. <fixdeduitemamt>
  19. <fixdeduitemamtlist/>
  20. </fixdeduitemamt>
  21. <titlelist>
  22. <deduitemnm/>
  23. <dedumm/>
  24. </titlelist>
  25. </main>
  26. <send>
  27. <deduitem>
  28. <instcd/>
  29. <emplno/>
  30. <emplnm/>
  31. <dutym/>
  32. <dutunitcd/>
  33. <dutunitnm/>
  34. </deduitem>
  35. <deduitemamt>
  36. <instcd/>
  37. <emplno/>
  38. <dutym/>
  39. </deduitemamt>
  40. <save>
  41. <deduitemamtlist/>
  42. <deduitemlist/>
  43. </save>
  44. </send>
  45. </root>
  46. </instance>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. misfGridInit(grd_deduitemlist);
  50. misfGridInit(grd_deduitemamtlist);
  51. misfMsterDetailSet(grd_deduitemlist,null, "TRRPD12401" ,"Y");
  52. misfMsterDetailSet(grd_deduitemamtlist,grd_deduitemlist, "TRRPD12402" ,"Y");
  53. var curdate = getCurrentDate();
  54. model.setValue("/root/send/deduitem/dutym", curdate.substr(0, 6));
  55. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  56. misfGetUserAuth();
  57. rpdfSetControlAuth();
  58. rpdfComboCdList(cmb_dutplce); // 권한별 근무부서 세팅
  59. rpdfSetDutUnitCombo();
  60. model.setValue("/root/send/deduitem/dutunitcd", DUT_UNIT_CD);
  61. model.setValue("/root/send/deduitem/dutunitnm", DUT_UNIT_NM);
  62. //misfComboComCdList("Z0007", cmb_instcd);
  63. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N");
  64. model.refresh();
  65. ]]>
  66. </script>
  67. <script type="javascript">
  68. <![CDATA[
  69. //개인별 공제 금액 출력물 기본 Data 설정.
  70. function fPrintDataSet()
  71. {
  72. //공제항목 title set
  73. model.setValue("/root/main/titlelist/deduitemnm", grd_deduitemlist.valueMatrix(grd_deduitemlist.row, grd_deduitemlist.colRef("deduitemnm")));
  74. //공제월 set
  75. model.setValue("/root/main/titlelist/dedumm", ipt_dedumm.value);
  76. model.refresh();
  77. }
  78. ]]>
  79. </script>
  80. <submission id="TRRPD12401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deduitem" resultref="/root/main/deduitem"/>
  81. <submission id="TRRPD12402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deduitemamt" resultref="/root/main/deduitemamt"/>
  82. <submission id="TXRPD12401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  83. </model>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  88. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  89. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  90. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  91. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  92. </xhtml:head>
  93. <xhtml:body guideline="1,1196;">
  94. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  95. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">월별휴일일수관리</caption>
  96. </group>
  97. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  98. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  99. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:16px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. if (DUTY_PART_YN != "Y"){
  104. if (model.getValue("/root/send/deduitem/dutunitcd") == ""){
  105. messageBox("관리부서를 선택한 후 처리하시기 바랍니다.", "E999", "");
  106. return;
  107. }
  108. }
  109. misfMsterDetailRetrieve();
  110. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/deprtmangrdutcnfmyn") == "Y"){
  111. grd_deduitemamtlist.disabled = true;
  112. }else{
  113. grd_deduitemamtlist.disabled = false;
  114. }
  115. model.refresh();
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  120. <caption id="caption278" class="tit_2" style="left:5px; top:55px; width:157px; height:14px; ">사원목록</caption>
  121. <line id="line207" class="line_1" style="x1:0px; y1:70px; x2:960px; y2:70px; "/>
  122. <line id="line1" class="line_1" style="x1:965px; y1:70px; x2:1195px; y2:70px; "/>
  123. <button id="btn_grdadddeduitemamtlist" class="btn2_letter3" style="left:1081px; top:50px; width:53px; height:19px; ">
  124. <caption>행추가</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/emplno") == ""){
  128. messageBox("사원번호를 선택한 후 처리하시기 바랍니다.", "E999", "");
  129. return;
  130. }
  131. misfGridIUD(grd_deduitemamtlist, "A");
  132. ]]>
  133. </script>
  134. </button>
  135. <button id="btn_grddeldeduitemamtlist" class="btn2_letter3" style="left:1137px; top:50px; width:53px; height:19px; ">
  136. <caption>행삭제</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. if (grd_deduitemamtlist.valueMatrix(grd_deduitemamtlist.row, grd_deduitemamtlist.colRef("endyn")) == "Y") {
  140. messageBox("마감이 되어서 삭제 ", "E001");
  141. return;
  142. }
  143. // grd_deduitemamtlist.subtotal("clear", 0, 0);
  144. // grd_deduitemamtlist.refresh();
  145. misfGridIUD(grd_deduitemamtlist, "D");
  146. ]]>
  147. </script>
  148. </button>
  149. <datagrid id="grd_deduitemlist" nodeset="/root/main/deduitem/deduitemlist" caption="사원번호^성명^휴일수^잔여수^부서^입사일^퇴사일^확정여부^caption1^caption2^caption3^비고" colsep="^" colwidth="90, 70, 65, 65, 200, 90, 90, 60, 9, 8, 7, 190, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:960px; height:665px; ">
  150. <col disabled="true" ref="emplno" type="inputbutton"/>
  151. <col ref="emplnm" style="text-align:left; "/>
  152. <col ref="holicnt" type="input" format="99" style="text-align:center; "/>
  153. <col ref="jancnt" type="input" format="(-)99" style="text-align:center; "/>
  154. <col ref="dutplcedeptnm"/>
  155. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  156. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
  157. <col checkvalue="Y,N" disabled="true" ref="deprtmangrdutcnfmyn" type="checkbox"/>
  158. <col ref="dutym" visibility="hidden"/>
  159. <col ref="instcd" visibility="hidden"/>
  160. <col ref="oldholicnt" visibility="hidden"/>
  161. <col ref="cmt" type="input"/>
  162. <col/>
  163. <script type="javascript" ev:event="onrowchanged">
  164. <![CDATA[
  165. model.setValue("/root/send/deduitemamt/emplno", model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/emplno"));
  166. model.setValue("/root/send/deduitemamt/instcd", model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/instcd"));
  167. misfMsterDetailRetrieve();
  168. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/deprtmangrdutcnfmyn") == "Y"){
  169. grd_deduitemamtlist.disabled = true;
  170. }else{
  171. grd_deduitemamtlist.disabled = false;
  172. }
  173. model.refresh();
  174. ]]>
  175. </script>
  176. <script type="javascript" ev:event="onbuttonclick">
  177. <![CDATA[
  178. if (grd_deduitemlist.colAttribute(grd_deduitemlist.col,"ref") == "emplno" ) { //계산기준코드
  179. var recv_list = "emplno,emplnm";
  180. rpbfOpenPopUpList("SPRPB00101", grd_deduitemlist, recv_list,"","N");
  181. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/emplno") != ""){
  182. misfGridInit(grd_deduitemamtlist);
  183. btn_grdadddeduitemamtlist.dispatch("DOMActivate");
  184. }
  185. model.refresh();
  186. }
  187. ]]>
  188. </script>
  189. <script type="javascript" ev:event="xforms-value-changed">
  190. <![CDATA[
  191. if (grd_deduitemlist.colAttribute(grd_deduitemlist.col,"ref") == "emplno" ) { //계산기준코드
  192. var recv_list = "emplno,emplnm";
  193. misfValidationCheck("01-1", "", recv_list);
  194. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/emplno") != ""){
  195. misfGridInit(grd_deduitemamtlist);
  196. btn_grdadddeduitemamtlist.dispatch("DOMActivate");
  197. }
  198. model.refresh();
  199. }
  200. if (grd_deduitemlist.colAttribute(grd_deduitemlist.col,"ref") == "holicnt" ) { //계산기준코드
  201. if (model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/deprtmangrdutcnfmyn") == "Y"){
  202. messageBox("확정된 자료는 수정할 수 없습니다.", "E999", "");
  203. model.setValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/holicnt", model.getValue("/root/main/deduitem/deduitemlist[" + grd_deduitemlist.row + "]/oldholicnt"));
  204. grd_deduitemlist.rowStatus(grd_deduitemlist.row) = 0;
  205. return;
  206. }
  207. model.refresh();
  208. }
  209. ]]>
  210. </script>
  211. <script type="javascript" ev:event="onaftersort">
  212. <![CDATA[
  213. grd_deduitemlist.gridToInstance();
  214. ]]>
  215. </script>
  216. </datagrid>
  217. <datagrid id="grd_deduitemamtlist" nodeset="/root/main/deduitemamt/deduitemamtlist" caption="OFF일^요일^caption1^caption3^caption2" colsep="^" colwidth="129, 62, 100, 100, 100" dataheight="25" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:965px; top:75px; width:230px; height:665px; ">
  218. <col disabled="true" ref="dutdd" type="inputdate" style="text-align:center; "/>
  219. <col ref="yoil" format="(-)#,###" style="text-align:left; "/>
  220. <col ref="emplno" visibility="hidden"/>
  221. <col ref="dutym" visibility="hidden"/>
  222. <col ref="instcd" visibility="hidden"/>
  223. <script type="javascript" ev:event="onaftersort">
  224. <![CDATA[
  225. grd_deduitemamtlist.gridToInstance();
  226. ]]>
  227. </script>
  228. </datagrid>
  229. <button id="btn_grddeldeduitemlist" class="btn2_letter3" style="left:839px; top:49px; width:53px; height:19px; ">
  230. <caption>행삭제</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. //misfGridIUD(grd_deduitemlist, "D");
  234. grd_deduitemlist.rowStatus(grd_deduitemlist.row) = 4;
  235. for (var i = 1; i < grd_deduitemamtlist.rows; i++){
  236. grd_deduitemamtlist.rowStatus(i) = 4;
  237. }
  238. model.refresh();
  239. ]]>
  240. </script>
  241. </button>
  242. <button id="btn_grdadddeduitemlist" class="btn2_letter3" style="left:783px; top:49px; width:53px; height:19px; ">
  243. <caption>행추가</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. misfGridIUD(grd_deduitemlist, "A");
  247. ]]>
  248. </script>
  249. </button>
  250. <button id="btn_saveexcel" class="btn2_letter4" style="left:895px; top:50px; width:64px; height:19px; ">
  251. <caption>엑셀저장</caption>
  252. <script type="javascript" ev:event="DOMActivate">
  253. <![CDATA[
  254. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  255. if (fileName != "")
  256. {
  257. grd_deduitemlist.saveExcel(fileName);
  258. }
  259. ]]>
  260. </script>
  261. </button>
  262. <button id="btn_emplno" class="icon_search" style="left:965px; top:17px; 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,"1","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="caption7" class="search_name" style="left:815px; top:17px; width:63px; height:17px; ">사번 :</caption>
  276. <input id="ipt_emplnos" ref="/root/send/deduitem/emplno" class="input_essential" style="left:876px; top:17px; width:87px; 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. inputEnterKey("btn_search", "DOMActivate");
  282. }
  283. ]]>
  284. </script>
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. var recv_list = "emplno,emplnm" ;
  288. rpbfValidationCheck("EMPLNO", recv_list);
  289. model.refresh();
  290. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  291. btn_search.dispatch("DOMActivate");
  292. }
  293. ]]>
  294. </script>
  295. </input>
  296. <input id="ipt_emplnms" ref="/root/send/deduitem/emplnm" class="input_default" style="left:982px; top:17px; width:106px; height:19px; ">
  297. <script type="javascript" ev:event="onkeyup">
  298. <![CDATA[
  299. if (ipt_emplnms.currentText != null && ipt_emplnms.currentText != "" ) {
  300. inputEnterKey("ipt_emplnms", "xforms-value-changed");
  301. inputEnterKey("btn_search", "DOMActivate");
  302. }
  303. ]]>
  304. </script>
  305. <script type="javascript" ev:event="xforms-value-changed">
  306. <![CDATA[
  307. var recv_list = "emplno,emplnm" ;
  308. rpbfValidationCheck("EMPLNM", recv_list);
  309. model.refresh();
  310. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  311. btn_search.dispatch("DOMActivate");
  312. }
  313. ]]>
  314. </script>
  315. </input>
  316. <select1 id="cmb_instcd" ref="/root/send/deduitem/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:94px; top:17px; width:125px; height:19px; ">
  317. <choices>
  318. <itemset>
  319. <label/>
  320. <value/>
  321. </itemset>
  322. </choices>
  323. </select1>
  324. <caption id="cap_instcd" class="search_name" style="left:35px; top:18px; width:61px; height:17px; ">기관:</caption>
  325. <input id="ipt_dutym" ref="/root/send/deduitem/dutym" class="input_search" inputtype="date" format="yyyy-mm" style="left:330px; top:17px; width:110px; height:19px; text-align:center; ">
  326. <script type="javascript" ev:event="xforms-value-changed">
  327. <![CDATA[
  328. /*
  329. var instcd = cmb_instcd.value;
  330. if( getStringLength(ipt_dutym.value) == "6" ) {
  331. // model.removeNodeset(cmb_instcd.attribute("ref"));
  332. // model.makeNode("/root/send/instcd");
  333. misfComboInstCdListMulti("cmb_instcd",ipt_dutym.value+"31","","N");
  334. cmb_instcd.value = instcd;
  335. model.refresh();
  336. }
  337. fDutYMValueChanged();
  338. */
  339. ]]>
  340. </script>
  341. </input>
  342. <caption id="caption2" class="search_name" style="left:243px; top:18px; width:91px; height:17px; ">근무년월 :</caption>
  343. <button id="btn_dutdept" class="icon_search" visibility="visible" style="left:643px; top:19px; width:16px; height:16px; ">
  344. <caption/>
  345. <script type="javascript" ev:event="DOMActivate">
  346. <![CDATA[
  347. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutunitcd,dutunitnm", cmb_instcd.value + "," + ipt_dutym.value+"31", "instcd,basedd");
  348. btn_search.dispatch("DOMActivate");
  349. ]]>
  350. </script>
  351. </button>
  352. <input id="ipt_dutdeptnm" ref="/root/send/deduitem/dutunitnm" class="input_search" navindex="3" visibility="visible" style="left:661px; top:17px; width:134px; height:19px; ">
  353. <script type="javascript" ev:event="xforms-value-changed">
  354. <![CDATA[
  355. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  356. model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
  357. model.refresh();
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="onkeypress">
  361. <![CDATA[
  362. if(event.keyCode == 13)
  363. {
  364. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  365. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  366. model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
  367. model.refresh();
  368. }
  369. ]]>
  370. </script>
  371. </input>
  372. <input id="ipt_dutdeptcd" ref="/root/send/deduitem/dutunitcd" class="input_s_essential" navindex="2" visibility="visible" maxlength="10" style="left:552px; top:17px; width:85px; height:19px; ">
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  376. btn_search.dispatch("DOMActivate");
  377. ]]>
  378. </script>
  379. <script type="javascript" ev:event="onkeypress">
  380. <![CDATA[
  381. if(event.keyCode == 13)
  382. {
  383. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  384. misfValidationCheck("02", "", "dutunitcd,dutunitnm", cmb_instcd.value, "instcd" );
  385. model.setValue("/root/send/deduitem/dutunitcd", cmb_dutplce.value);
  386. model.refresh();
  387. }
  388. ]]>
  389. </script>
  390. </input>
  391. <caption id="caption5" class="search_name" style="left:465px; top:18px; width:86px; height:17px; ">관리부서 :</caption>
  392. <select1 id="cmb_dutplce" ref="/root/send/deduitem/dutunitcd" class="combo_search" visibility="visible" appearance="minimal" style="left:552px; top:17px; width:243px; height:19px; ">
  393. <choices>
  394. <itemset>
  395. <label/>
  396. <value/>
  397. </itemset>
  398. </choices>
  399. <script type="javascript" ev:event="xforms-value-changed">
  400. <![CDATA[
  401. btn_search.dispatch("DOMActivate");
  402. ]]>
  403. </script>
  404. </select1>
  405. </group>
  406. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  407. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:2px; width:56px; height:22px; ">
  408. <caption>저장</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. for (var i = 1; i < grd_deduitemamtlist.rows; i++){
  412. if (model.getValue("/root/main/deduitemamt/deduitemamtlist[" + i + "]/emplno") == ""){
  413. messageBox(1 + "번째 사원번호는 필수 선택 항목입니다.", "E999", "");
  414. return;
  415. }
  416. if (model.getValue("/root/main/deduitemamt/deduitemamtlist[" + i + "]/dutdd") == ""){
  417. messageBox(1 + "번째 OFF일은 필수 입력 항목입니다.", "E999", "");
  418. return;
  419. }
  420. }
  421. if (misfSave("TXRPD12401")){
  422. var icnt = grd_deduitemlist.row;
  423. btn_search.dispatch("DOMActivate");
  424. grd_deduitemlist.row = icnt;
  425. grd_deduitemlist.dispatch("onrowchanged");
  426. }
  427. ]]>
  428. </script>
  429. </button>
  430. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  431. <button id="button1" class="btn6_letter2" style="left:0px; top:2px; width:56px; height:22px; ">
  432. <caption>출력</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. var updtdata = getGridUpdateData(grd_deduitemlist);
  436. if (updtdata == "") {
  437. exeReportPreview("RPRPD02401", "XMLSTR");
  438. } else {
  439. messageBox("변경 된 데이타가 있습니다.", "E999", "");
  440. }
  441. ]]>
  442. </script>
  443. </button>
  444. </group>
  445. </xhtml:body>
  446. </xhtml:html>