SMANT02600_직원식상세현황.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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. <emplidcard>
  11. <data>
  12. <eatdd/>
  13. <hngnm/>
  14. <emplno/>
  15. <cardid/>
  16. <breakmeal/>
  17. <breakmealtm/>
  18. <lunchmeal/>
  19. <lunchmealtm/>
  20. <dinnermeal/>
  21. <dinnermealtm/>
  22. </data>
  23. </emplidcard>
  24. <empletc>
  25. <data>
  26. <appdd/>
  27. <appmmdd/>
  28. <psnno1/>
  29. <psnno2/>
  30. <insum1/>
  31. <psnno3/>
  32. <psnno4/>
  33. <psnno5/>
  34. <psnno6/>
  35. <psnno7/>
  36. <outsum1/>
  37. <sum1/>
  38. <psnno8/>
  39. <psnno9/>
  40. <insum2/>
  41. <psnno10/>
  42. <psnno11/>
  43. <psnno12/>
  44. <psnno13/>
  45. <psnno14/>
  46. <outsum2/>
  47. <sum2/>
  48. <psnno15/>
  49. <psnno16/>
  50. <insum3/>
  51. <psnno17/>
  52. <psnno18/>
  53. <psnno19/>
  54. <psnno20/>
  55. <psnno21/>
  56. <outsum3/>
  57. <sum3/>
  58. <totalsum/>
  59. </data>
  60. </empletc>
  61. <empllist>
  62. <emplinfo>
  63. <instcd/>
  64. <emplinstcd/>
  65. <mealflag/>
  66. <seqno/>
  67. <emplno/>
  68. <cardid/>
  69. <eatdd/>
  70. <eattm/>
  71. <eatamt/>
  72. <readyn/>
  73. <emplflag/>
  74. <usrnm/>
  75. </emplinfo>
  76. </empllist>
  77. </main>
  78. <send>
  79. <searchitem>
  80. <eatfromdd/>
  81. <eattodd/>
  82. <mealflag/>
  83. <hngnm/>
  84. <emplno/>
  85. <yyyymm/>
  86. </searchitem>
  87. <data>
  88. <empletc/>
  89. </data>
  90. <data1>
  91. <emplinfo/>
  92. </data1>
  93. </send>
  94. <temp>
  95. </temp>
  96. <init>
  97. <basecode>
  98. <meal>
  99. <A0055>
  100. <cdid/>
  101. <cdnm/>
  102. </A0055>
  103. </meal>
  104. </basecode>
  105. </init>
  106. </root>
  107. </instance>
  108. <script type="javascript" ev:event="xforms-ready">
  109. <![CDATA[
  110. finit();
  111. btn_search1.disabled = !checkAuth("R");
  112. btn_search2.disabled = !checkAuth("R");
  113. btn_save.disabled = !checkAuth("X");
  114. btn_excel.disabled = !checkAuth("P");
  115. btn_save.visible = false;
  116. ]]>
  117. </script>
  118. <script type="javascript">
  119. <![CDATA[
  120. //초기화
  121. function finit() {
  122. // 화면open시 공통코드 setting
  123. zbcfGetCodeList( new Array( "A0055" ), new Array( "/root/init/basecode/meal" ) );
  124. model.setValue("/root/send/searchitem/eatfromdd", getCurrentDate());
  125. model.setValue("/root/send/searchitem/eattodd", getCurrentDate());
  126. model.setValue("/root/send/searchitem/mealflag", "-");
  127. model.setValue("/root/send/searchitem/yyyymm", getCurrentDate().substr(0,6));
  128. model.resetInstanceNode("/root/send/data");
  129. model.removeNodeset("/root/main/emplidcard");
  130. model.removeNodeset("/root/main/empletc");
  131. model.toggle("case1");
  132. model.refresh();
  133. }
  134. //기타식수관리 그리드의 소계,합계,총계 구하기
  135. function fsum() {
  136. var val = 0;
  137. var temp = 0;
  138. var sum = 0;
  139. var totalsum = 0;
  140. for ( i=1; i<grd_empletc.rows-2; i++) {
  141. //조식
  142. for (var k = 1; k <= 7; k++) {
  143. val = model.getValue("/root/main/empletc/data["+ i +"]/psnno" + k);
  144. if (val > 0) {
  145. temp = parseInt(temp) + parseInt(val);
  146. }
  147. if (k == 2) {
  148. model.setValue("/root/main/empletc/data["+ i +"]/insum1", temp);
  149. sum = sum + temp;
  150. temp = 0;
  151. } else if (k == 7) {
  152. model.setValue("/root/main/empletc/data["+ i +"]/outsum1", temp);
  153. model.setValue("/root/main/empletc/data["+ i +"]/sum1", sum + temp);
  154. totalsum = totalsum + sum + temp;
  155. }
  156. }
  157. temp = 0;
  158. sum = 0;
  159. //중식
  160. for (var k = 8; k <= 14; k++) {
  161. val = model.getValue("/root/main/empletc/data["+ i +"]/psnno" + k);
  162. if (val > 0) {
  163. temp = parseInt(temp) + parseInt(val);
  164. }
  165. if (k == 9) {
  166. model.setValue("/root/main/empletc/data["+ i +"]/insum2", temp);
  167. sum = sum + temp;
  168. temp = 0;
  169. } else if (k == 14) {
  170. model.setValue("/root/main/empletc/data["+ i +"]/outsum2", temp);
  171. model.setValue("/root/main/empletc/data["+ i +"]/sum2", sum + temp);
  172. totalsum = totalsum + sum + temp;
  173. }
  174. }
  175. temp = 0;
  176. sum = 0;
  177. //석식
  178. for (var k = 15; k <= 21; k++) {
  179. val = model.getValue("/root/main/empletc/data["+ i +"]/psnno" + k);
  180. if (val > 0) {
  181. temp = parseInt(temp) + parseInt(val);
  182. }
  183. if (k == 16) {
  184. model.setValue("/root/main/empletc/data["+ i +"]/insum3", temp);
  185. sum = sum + temp;
  186. temp = 0;
  187. } else if (k == 21) {
  188. model.setValue("/root/main/empletc/data["+ i +"]/outsum3", temp);
  189. model.setValue("/root/main/empletc/data["+ i +"]/sum3", sum + temp);
  190. totalsum = totalsum + sum + temp;
  191. }
  192. }
  193. temp = 0;
  194. sum = 0;
  195. model.setValue("/root/main/empletc/data["+ i +"]/totalsum", totalsum);
  196. totalsum = 0;
  197. }
  198. grd_empletc.refresh();
  199. }
  200. ]]>
  201. </script>
  202. <submission id="TRZBC00101"/>
  203. <submission id="TRANT02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/main/emplidcard"/>
  204. <submission id="TRANT02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/main/empletc"/>
  205. <submission id="TRANT02603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/main/empllist"/>
  206. <submission id="TXANT02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/empletc"/>
  207. <submission id="TXANT02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  208. <bind id="bind_ward" ref="/root/main/data/ward" readonly="../ward!=''"/>
  209. </model>
  210. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  211. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  212. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  213. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  214. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  215. </xhtml:head>
  216. <xhtml:body guideline="1,1194;2,754;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  217. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  218. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">직원식상세현황</caption>
  219. </group>
  220. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  221. <switch id="switch1" style="left:0px; top:26px; width:1194px; height:718px; ">
  222. <case id="case1" selected="true">
  223. <group id="group2" style="left:5px; top:10px; width:1182px; height:35px; vertical-align:top; ">
  224. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1182px; height:35px; background-color:#fffbf2; "/>
  225. <caption id="caption2" class="search_name" style="left:866px; top:8px; width:89px; height:17px; ">사원번호 :</caption>
  226. <input id="ipt_emplno" ref="/root/send/searchitem/emplno" class="input_search" style="left:955px; top:8px; width:85px; height:19px; ">
  227. <script type="javascript" ev:event="onkeydown">
  228. <![CDATA[
  229. inputEnterKey("btn_search1", "DOMActivate");
  230. ]]>
  231. </script>
  232. </input>
  233. <button id="btn_search1" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  234. <caption>조회</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. var fromdd = model.getValue("/root/send/searchitem/eatfromdd");
  238. var todd = model.getValue("/root/send/searchitem/eattodd");
  239. if (getDateInterval(fromdd, todd) < 0) {
  240. messageBox("조회 시작일은 종료일보다 클 수", "I004");
  241. return;
  242. } else {
  243. submit("TRANT02601");
  244. }
  245. ]]>
  246. </script>
  247. </button>
  248. <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; "/>
  249. <caption id="caption3" class="search_name" style="left:31px; top:8px; width:64px; height:17px; ">일자 :</caption>
  250. <input id="ipt_eatfromdd" ref="/root/send/searchitem/eatfromdd" class="input_s_essential" inputtype="date" style="left:90px; top:7px; width:90px; height:19px; "/>
  251. <caption id="caption11" class="search_n_b" style="left:185px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  252. <input id="ipt_eattodd" ref="/root/send/searchitem/eattodd" class="input_s_essential" inputtype="date" style="left:200px; top:7px; width:90px; height:19px; "/>
  253. <caption id="caption4" class="search_name" style="left:336px; top:8px; width:64px; height:17px; ">끼니 :</caption>
  254. <select1 id="rdo_mealflag" ref="/root/send/searchitem/mealflag" class="radio_search" appearance="full" cellspacing="5" cols="4" rows="1" overflow="visible" style="left:398px; top:8px; width:197px; height:19px; ">
  255. <choices>
  256. <item>
  257. <label>전체</label>
  258. <value>-</value>
  259. </item>
  260. <item>
  261. <label>조식</label>
  262. <value>1</value>
  263. </item>
  264. <item>
  265. <label>중식</label>
  266. <value>2</value>
  267. </item>
  268. <item>
  269. <label>석식</label>
  270. <value>3</value>
  271. </item>
  272. </choices>
  273. </select1>
  274. <caption id="caption12" class="search_name" style="left:650px; top:8px; width:86px; height:17px; ">사원명 :</caption>
  275. <input id="ipt_hngnm" ref="/root/send/searchitem/hngnm" class="input_search" style="left:725px; top:8px; width:80px; height:19px; ">
  276. <script type="javascript" ev:event="onkeydown">
  277. <![CDATA[
  278. inputEnterKey("btn_search1", "DOMActivate");
  279. ]]>
  280. </script>
  281. </input>
  282. </group>
  283. <line id="line1" class="line_1" style="x1:5px; y1:69px; x2:1188px; y2:69px; "/>
  284. <datagrid id="grd_emplidcard" nodeset="/root/main/emplidcard/data" caption="일자^사원명^사원번호^카드ID^조식^조식식수시간^중식^중식식수시간^석식^석식식수시간" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:74px; width:1183px; height:636px; text-align:center; ">
  285. <col ref="eatdd" format="yyyy-mm-dd"/>
  286. <col ref="hngnm"/>
  287. <col ref="emplno" style="text-align:left; "/>
  288. <col ref="cardid" visibility="hidden"/>
  289. <col ref="breakmeal"/>
  290. <col ref="breakmealtm" visibility="hidden" format="hh:nn:ss"/>
  291. <col ref="lunchmeal"/>
  292. <col ref="lunchmealtm" visibility="hidden" format="hh:nn:ss"/>
  293. <col ref="dinnermeal"/>
  294. <col ref="dinnermealtm" visibility="hidden" format="hh:nn:ss"/>
  295. </datagrid>
  296. <button id="button1" class="btn1_letter6" style="left:1037px; top:46px; width:104px; height:22px; ">
  297. <caption>자료가져오기</caption>
  298. <script type="javascript" ev:event="DOMActivate">
  299. <![CDATA[
  300. var fromdd = model.getValue("/root/send/searchitem/eatfromdd");
  301. var todd = model.getValue("/root/send/searchitem/eattodd");
  302. if (getDateInterval(fromdd, todd) < 0) {
  303. messageBox("조회 시작일은 종료일보다 클 수", "I004");
  304. return;
  305. } else {
  306. model.removeNodeset("/root/main/empllist/emplinfo");
  307. if (submit("TRANT02603")){
  308. var updateData = datagrid1.getUpdateDataAll("i");
  309. model.setValue("/root/send/data1/emplinfo", updateData);
  310. submit("TXANT02602");
  311. submit("TRANT02601");
  312. }
  313. }
  314. ]]>
  315. </script>
  316. </button>
  317. <datagrid id="datagrid1" nodeset="/root/main/empllist/emplinfo" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^emplflag^usrnm" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 60, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:20px; top:200px; width:1150px; height:435px; ">
  318. <col ref="instcd"/>
  319. <col ref="emplinstcd"/>
  320. <col ref="mealflag"/>
  321. <col ref="seqno"/>
  322. <col ref="emplno"/>
  323. <col ref="cardid"/>
  324. <col ref="eatdd"/>
  325. <col ref="eattm"/>
  326. <col ref="eatamt"/>
  327. <col ref="readyn"/>
  328. <col ref="emplflag"/>
  329. <col ref="usrnm"/>
  330. </datagrid>
  331. </case>
  332. <case id="case2">
  333. <group id="group3" style="left:5px; top:10px; width:1182px; height:35px; vertical-align:top; ">
  334. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1182px; height:35px; background-color:#fffbf2; "/>
  335. <caption id="caption5" class="search_name" style="left:31px; top:8px; width:89px; height:17px; ">조회년월 :</caption>
  336. <input id="ipt_yyyymm" ref="/root/send/searchitem/yyyymm" format="yyyy-mm" style="left:120px; top:8px; width:85px; height:19px; text-align:center; ">
  337. <script type="javascript" ev:event="onkeydown">
  338. <![CDATA[
  339. inputEnterKey("btn_search2", "DOMActivate");
  340. ]]>
  341. </script>
  342. </input>
  343. <button id="btn_before" class="icon_pre" style="left:208px; top:10px; width:13px; height:15px; ">
  344. <caption/>
  345. <script type="javascript" ev:event="onclick">
  346. <![CDATA[
  347. var dd = model.getValue("/root/send/searchitem/yyyymm") + "01";
  348. dd = dd.toDate().getAddDate(-1, "M");
  349. dd = dd.getDateFormat("YYYYMM");
  350. model.setValue("/root/send/searchitem/yyyymm", dd);
  351. model.refresh();
  352. ]]>
  353. </script>
  354. </button>
  355. <button id="btn_next" class="icon_pre" style="left:223px; top:10px; width:13px; height:15px; ">
  356. <caption/>
  357. <script type="javascript" ev:event="onclick">
  358. <![CDATA[
  359. var dd = model.getValue("/root/send/searchitem/yyyymm") + "01";
  360. dd = dd.toDate().getAddDate(1, "M");
  361. dd = dd.getDateFormat("YYYYMM");
  362. model.setValue("/root/send/searchitem/yyyymm", dd);
  363. model.refresh();
  364. ]]>
  365. </script>
  366. </button>
  367. <button id="btn_search2" class="btn1_letter2" style="left:1112px; top:7px; width:56px; height:22px; ">
  368. <caption>조회</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. if (isValidDateTime(model.getValue("/root/send/searchitem/yyyymm"), "YYYYMM") == false) {
  372. messageBox("조회년월의 형식이", "E016");
  373. model.setFocus("ipt_yyyymm");
  374. return;
  375. }
  376. else {
  377. submit("TRANT02602");
  378. //row status가 null이기 때문에 무조건 'insert'로 초기화
  379. for ( i=3; i<grd_empletc.rows; i++) {
  380. grd_empletc.addStatus(i, "insert");
  381. }
  382. fsum(); //소계,합계,총계 구하기
  383. grd_empletc.subtotalPosition = "below";
  384. for (var i = 3; i <= 33; i++) {
  385. grd_empletc.subtotal("sum", -1, i, "#,###", "", 2, "계");
  386. }
  387. }
  388. ]]>
  389. </script>
  390. </button>
  391. <line id="line2" style="x1:1096px; y1:7px; x2:1096px; y2:29px; "/>
  392. </group>
  393. <line id="line3" class="line_1" style="x1:5px; y1:69px; x2:1188px; y2:69px; "/>
  394. <datagrid id="grd_empletc" nodeset="/root/main/empletc/data" caption="년월일^일자^조식^조식^조식^조식^조식^조식^조식^조식^조식^조식^중식^중식^중식^중식^중식^중식^중식^중식^중식^중식^석식^석식^석식^석식^석식^석식^석식^석식^석식^석식^총계|년월일^일자^본원^본원^본원^외부^외부^외부^외부^외부^외부^합계^본원^본원^본원^외부^외부^외부^외부^외부^외부^합계^본원^본원^본원^외부^외부^외부^외부^외부^외부^합계^총계|년월일^일자^현금^공용^소계^성의^성모^의정부^부천^기타^소계^합계^현금^공용^소계^성의^성모^의정부^부천^기타^소계^합계^현금^공용^소계^성의^성모^의정부^부천^기타^소계^합계^총계" colsep="^" colwidth="10, 70, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 70" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:74px; width:1183px; height:635px; text-align:center; ">
  395. <col ref="appdd" visibility="hidden"/>
  396. <col ref="appmmdd" format="mm-dd"/>
  397. <col ref="psnno1" type="input"/>
  398. <col ref="psnno2" type="input"/>
  399. <col ref="insum1"/>
  400. <col ref="psnno3" type="input"/>
  401. <col ref="psnno4" type="input"/>
  402. <col ref="psnno5" type="input"/>
  403. <col ref="psnno6" type="input"/>
  404. <col ref="psnno7" type="input"/>
  405. <col ref="outsum1"/>
  406. <col ref="sum1"/>
  407. <col ref="psnno8" type="input"/>
  408. <col ref="psnno9" type="input"/>
  409. <col ref="insum2"/>
  410. <col ref="psnno10" type="input"/>
  411. <col ref="psnno11" type="input"/>
  412. <col ref="psnno12" type="input"/>
  413. <col ref="psnno13" type="input"/>
  414. <col ref="psnno14" type="input"/>
  415. <col ref="outsum2"/>
  416. <col ref="sum2"/>
  417. <col ref="psnno15" type="input"/>
  418. <col ref="psnno16" type="input"/>
  419. <col ref="insum3"/>
  420. <col ref="psnno17" type="input"/>
  421. <col ref="psnno18" type="input"/>
  422. <col ref="psnno19" type="input"/>
  423. <col ref="psnno20" type="input"/>
  424. <col ref="psnno21" type="input"/>
  425. <col ref="outsum3"/>
  426. <col ref="sum3"/>
  427. <col ref="totalsum"/>
  428. </datagrid>
  429. </case>
  430. </switch>
  431. <button id="btn_empldietidcard" class="btn_sw" group="tab" selected="true" style="left:0px; top:5px; width:85px; height:22px; ">
  432. <caption>ID카드식수</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. model.toggle("case1");
  436. btn_save.visible = false;
  437. ]]>
  438. </script>
  439. </button>
  440. <button id="btn_empldietetc" class="btn_sw" group="tab" style="left:85px; top:5px; width:95px; height:22px; ">
  441. <caption>기타식수관리</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. model.toggle("case2");
  445. btn_save.visible = true;
  446. ]]>
  447. </script>
  448. </button>
  449. <button id="btn_excel" class="btn2_letter2" style="left:1145px; top:75px; width:42px; height:19px; ">
  450. <caption>엑셀</caption>
  451. <script type="javascript" ev:event="DOMActivate">
  452. <![CDATA[
  453. if ( btn_empldietidcard.selected == true ) {
  454. var filename = window.fileDialog("save", ",", false, "직원식ID카드현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  455. if (filename != "") {
  456. grd_emplidcard.saveExcel(filename, "grd_emplidcard", true, false, "", "", "");
  457. }
  458. } else if ( btn_empldietetc.selected == true ) {
  459. var filename = window.fileDialog("save", ",", false, "직원식기타현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  460. if (filename != "") {
  461. grd_empletc.saveExcel(filename, "grd_empletc", true, false, "", "", "");
  462. }
  463. }
  464. ]]>
  465. </script>
  466. </button>
  467. </group>
  468. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  469. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:4px; width:56px; height:22px; ">
  470. <caption>저장</caption>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. var temp = getGridUpdateData(grd_empletc);
  474. if ( temp == "" ) {
  475. messageBox("저장할 데이터가", "I004");
  476. return;
  477. } else {
  478. if ( messageBox("", "Q002") == 6 ) {
  479. model.setValue("/root/send/data/empletc", grd_empletc.getUpdateData());
  480. submit("TXANT02601");
  481. btn_search2.dispatch("DOMActivate"); //저장후 재조회
  482. } else { return; }
  483. }
  484. ]]>
  485. </script>
  486. </button>
  487. </group>
  488. </xhtml:body>
  489. </xhtml:html>