SMRWD06200_식수인원조회.xrw 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940
  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. <eatddemplno>
  11. <eatddemplnolist/>
  12. </eatddemplno>
  13. <dietemplno>
  14. <dietemplnolist/>
  15. </dietemplno>
  16. <dietdept>
  17. <dietdeptlist/>
  18. </dietdept>
  19. <retiremoveinst>
  20. <retiremoveinstlist/>
  21. </retiremoveinst>
  22. <nopaydietemplno>
  23. <nopaydietemplnolist/>
  24. </nopaydietemplno>
  25. </main>
  26. <send>
  27. <eatddemplno>
  28. <instcd/>
  29. <eatfromdd/>
  30. <eattodd/>
  31. <deduym/>
  32. <emplno/>
  33. <emplnm/>
  34. </eatddemplno>
  35. <dietemplno>
  36. <instcd/>
  37. <eatfromdd/>
  38. <eattodd/>
  39. <deduym/>
  40. <emplno/>
  41. <emplnm/>
  42. <deptcd/>
  43. <deptnm/>
  44. <payinst/>
  45. <instflag>A</instflag>
  46. </dietemplno>
  47. <dietdept>
  48. <instcd/>
  49. <eatfromdd/>
  50. <eattodd/>
  51. <deptcd/>
  52. <deptnm/>
  53. <payinst/>
  54. <instflag>A</instflag>
  55. </dietdept>
  56. <retiremoveinst>
  57. <instcd/>
  58. <eatfromdd/>
  59. <eattodd/>
  60. <payym/>
  61. <payinst/>
  62. </retiremoveinst>
  63. <nopaydietemplno>
  64. <instcd/>
  65. <eatfromdd/>
  66. <eattodd/>
  67. <payinst/>
  68. <payym/>
  69. <instflag>A</instflag>
  70. </nopaydietemplno>
  71. </send>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. misfGridInit(grd_eatddemplnolist);
  77. misfGridInit(grd_dietemplnolist);
  78. misfGridInit(grd_dietdeptlist);
  79. misfGridInit(grd_retiremoveinstlist);
  80. misfGridInit(grd_nopaydietemplnolist);
  81. misfMsterDetailSet(grd_eatddemplnolist, null, "TRRWD06201" ,"N");
  82. var curdate = getCurrentDate();
  83. model.setValue(ipt_fromdd.attribute("ref") , curdate.substr(0, 8));
  84. model.setValue(ipt_todd.attribute("ref") , curdate.substr(0, 8));
  85. model.setValue(ipt_fromdd2.attribute("ref") , curdate.substr(0, 8));
  86. model.setValue(ipt_todd2.attribute("ref") , curdate.substr(0, 8));
  87. model.setValue(ipt_fromdd3.attribute("ref") , curdate.substr(0, 8));
  88. model.setValue(ipt_todd3.attribute("ref") , curdate.substr(0, 8));
  89. model.setValue(ipt_fromdd4.attribute("ref") , curdate.substr(0, 8));
  90. model.setValue(ipt_todd4.attribute("ref") , curdate.substr(0, 8));
  91. model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  92. model.setValue(ipt_fromdd5.attribute("ref") , curdate.substr(0, 8));
  93. model.setValue(ipt_todd5.attribute("ref") , curdate.substr(0, 8));
  94. //model.setValue(ipt_payym.attribute("ref") , curdate.substr(0, 6));
  95. if (getUserInfo("dutplceinstcd") == "001" || getUserInfo("dutplceinstcd") == "103" || getUserInfo("dutplceinstcd") == "012" ) {
  96. model.setValue(cmb_instcd.attribute("ref") , "012");
  97. model.setValue(cmb_instcd2.attribute("ref") , "012");
  98. model.setValue(cmb_instcd3.attribute("ref") , "012");
  99. model.setValue(cmb_instcd4.attribute("ref") , "012");
  100. model.setValue(cmb_instcd5.attribute("ref") , "012");
  101. }
  102. else {
  103. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd") );
  104. model.setValue(cmb_instcd2.attribute("ref") , getUserInfo("dutplceinstcd") );
  105. model.setValue(cmb_instcd3.attribute("ref") , getUserInfo("dutplceinstcd") );
  106. model.setValue(cmb_instcd4.attribute("ref") , getUserInfo("dutplceinstcd") );
  107. model.setValue(cmb_instcd5.attribute("ref") , getUserInfo("dutplceinstcd") );
  108. }
  109. model.setValue(cmb_payinst1.attribute("ref") , getUserInfo("dutplceinstcd") );
  110. model.setValue(cmb_payinst2.attribute("ref") , getUserInfo("dutplceinstcd") );
  111. model.setValue(cmb_payinst3.attribute("ref") , getUserInfo("dutplceinstcd") );
  112. model.setValue(cmb_payinst4.attribute("ref") , getUserInfo("dutplceinstcd") );
  113. misfComboInstCdListMulti("cmb_instcd,cmb_instcd2,cmb_instcd3,cmb_instcd4,cmb_instcd5,cmb_payinst1,cmb_payinst2,cmb_payinst3,cmb_payinst4",getCurrentDate(),"","N");
  114. misfGetUserAuth();
  115. if (DUTY_PAY_YN == "Y" ) {
  116. cmb_payinst1.disabled = false;
  117. cmb_payinst2.disabled = false;
  118. cmb_payinst3.disabled = false;
  119. cmb_payinst4.disabled = false;
  120. }
  121. else {
  122. cmb_payinst1.disabled = true;
  123. cmb_payinst2.disabled = true;
  124. cmb_payinst3.disabled = true;
  125. cmb_payinst4.disabled = true;
  126. }
  127. model.setFocus("ipt_fromdd");
  128. ]]>
  129. </script>
  130. <submission id="TRRWD06201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/eatddemplno" resultref="/root/main/eatddemplno"/>
  131. <submission id="TRRWD06202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dietemplno" resultref="/root/main/dietemplno"/>
  132. <submission id="TRRWD06203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dietdept" resultref="/root/main/dietdept"/>
  133. <submission id="TRRWD06204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retiremoveinst" resultref="/root/main/retiremoveinst"/>
  134. <submission id="TRRWD06205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nopaydietemplno" resultref="/root/main/nopaydietemplno"/>
  135. </model>
  136. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  139. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  140. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  141. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  142. </xhtml:head>
  143. <xhtml:body style="margin-left:8; margin-right:8; ">
  144. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  145. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">식수 인원 조회</caption>
  146. </group>
  147. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  148. <switch id="switch1" style="left:0px; top:25px; width:1190px; height:705px; ">
  149. <case id="case1" selected="true">
  150. <caption id="caption34" class="tit_2" style="left:5px; top:48px; width:126px; height:13px; ">일자별 식수 List</caption>
  151. <button id="btn_saveexcel" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  152. <caption>엑셀저장</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  156. if (fileName != "")
  157. {
  158. grd_eatddemplnolist.saveExcel(fileName);
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. <line id="line9" class="line_1" style="x1:0px; y1:68px; x2:1185px; y2:68px; "/>
  164. <datagrid id="grd_eatddemplnolist" nodeset="/root/main/eatddemplno/eatddemplnolist" caption="일자^사원번호^성명^교직구분^기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부|일자^사원번호^성명^교직구분^기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부" colsep="^" colwidth="94, 86, 76, 105, 145, 149, 75, 78, 72, 76, 100, 85" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1185px; height:620px; ">
  165. <col ref="eatdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
  166. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  167. <col ref="emplnm"/>
  168. <col ref="prfshipflagnm"/>
  169. <col ref="payinstnm"/>
  170. <col ref="dutunitnm"/>
  171. <col ref="breakmeal" style="text-align:center; vertical-align:middle; "/>
  172. <col ref="lunchmeal" style="text-align:center; vertical-align:middle; "/>
  173. <col ref="dinnermeal" style="text-align:center; vertical-align:middle; "/>
  174. <col ref="totmeal" style="text-align:center; vertical-align:middle; "/>
  175. <col ref="totmealamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  176. <col ref="payappyn" style="text-align:center; vertical-align:middle; "/>
  177. </datagrid>
  178. <group id="grp_sea" style="left:0px; top:5px; width:1185px; height:35px; vertical-align:top; ">
  179. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  180. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  181. <caption>조회</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. if (ipt_emplnos.value == null || ipt_emplnos.value == "") {
  185. messageBox("사번을 입력하세요!!!.","");
  186. return;
  187. }
  188. submit("TRRWD06201");
  189. grd_eatddemplnolist.subtotalposition = "below";
  190. grd_eatddemplnolist.subtotal("sum" ,-1 , grd_eatddemplnolist.colRef("breakmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  191. grd_eatddemplnolist.subtotal("sum" ,-1 , grd_eatddemplnolist.colRef("lunchmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  192. grd_eatddemplnolist.subtotal("sum" ,-1 , grd_eatddemplnolist.colRef("dinnermeal"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  193. grd_eatddemplnolist.subtotal("sum" ,-1 , grd_eatddemplnolist.colRef("totmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  194. grd_eatddemplnolist.subtotal("sum" ,-1 , grd_eatddemplnolist.colRef("totmealamt"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  195. ]]>
  196. </script>
  197. </button>
  198. <line id="line5" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  199. <input id="ipt_fromdd" ref="/root/send/eatddemplno/eatfromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:65px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  200. <script type="javascript" ev:event="xforms-value-changed">
  201. <![CDATA[
  202. var fromdd = ipt_fromdd.value;
  203. ipt_fromdd2.value = fromdd;
  204. ipt_fromdd3.value = fromdd;
  205. ipt_fromdd4.value = fromdd;
  206. ipt_fromdd5.value = fromdd;
  207. ]]>
  208. </script>
  209. </input>
  210. <caption id="cap_payym" class="search_name" style="left:11px; top:8px; width:55px; height:17px; ">기간:</caption>
  211. <caption id="caption1" class="search_name" visibility="hidden" style="left:914px; top:6px; width:56px; height:17px; ">기관:</caption>
  212. <select1 id="cmb_instcd" ref="/root/send/eatddemplno/instcd" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:970px; top:5px; width:125px; height:19px; ">
  213. <choices>
  214. <itemset>
  215. <label/>
  216. <value/>
  217. </itemset>
  218. </choices>
  219. </select1>
  220. <input id="ipt_todd" ref="/root/send/eatddemplno/eattodd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:178px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  221. <script type="javascript" ev:event="xforms-value-changed">
  222. <![CDATA[
  223. var todd = ipt_todd.value;
  224. ipt_todd2.value = todd;
  225. ipt_todd3.value = todd;
  226. ipt_todd4.value = todd;
  227. ipt_todd5.value = todd;
  228. ]]>
  229. </script>
  230. </input>
  231. <caption id="caption2" style="left:166px; top:7px; width:10px; height:20px; ">-</caption>
  232. <button id="btn_emplno" class="icon_search" style="left:462px; top:7px; width:16px; height:16px; ">
  233. <caption/>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. var recv_list = "emplno,emplnm" ;
  237. rpbfOpenPopUpList("SPRPB00101", ipt_emplnos, recv_list,"1","N");
  238. model.refresh();
  239. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  240. btn_search.dispatch("DOMActivate");
  241. }
  242. ]]>
  243. </script>
  244. </button>
  245. <caption id="caption7" class="search_name" style="left:329px; top:8px; width:63px; height:17px; ">사번 :</caption>
  246. <input id="ipt_emplnos" ref="/root/send/eatddemplno/emplno" class="input_essential" style="left:390px; top:7px; width:70px; height:19px; ">
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. var recv_list = "emplno,emplnm" ;
  250. rpbfValidationCheck("EMPLNO", recv_list);
  251. model.refresh();
  252. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  253. btn_search.dispatch("DOMActivate");
  254. }
  255. ]]>
  256. </script>
  257. </input>
  258. <input id="ipt_emplnms" ref="/root/send/eatddemplno/emplnm" class="input_default" style="left:479px; top:7px; width:104px; height:19px; ">
  259. <script type="javascript" ev:event="xforms-value-changed">
  260. <![CDATA[
  261. var recv_list = "emplno,emplnm" ;
  262. rpbfValidationCheck("EMPLNM", recv_list);
  263. model.refresh();
  264. if (model.getValue(ipt_emplnos.attribute("ref")).length > 0) {
  265. btn_search.dispatch("DOMActivate");
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. </group>
  271. </case>
  272. <case id="case2">
  273. <group id="group3" style="left:0px; top:5px; width:1185px; height:35px; vertical-align:top; ">
  274. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  275. <button id="btn_search2" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  276. <caption>조회</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. submit("TRRWD06202");
  280. grd_dietemplnolist.subtotalposition = "below";
  281. grd_dietemplnolist.subtotal("sum" ,-1 , grd_dietemplnolist.colRef("breakmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  282. grd_dietemplnolist.subtotal("sum" ,-1 , grd_dietemplnolist.colRef("lunchmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  283. grd_dietemplnolist.subtotal("sum" ,-1 , grd_dietemplnolist.colRef("dinnermeal"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  284. grd_dietemplnolist.subtotal("sum" ,-1 , grd_dietemplnolist.colRef("totmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  285. grd_dietemplnolist.subtotal("sum" ,-1 , grd_dietemplnolist.colRef("totmealamt"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  286. ]]>
  287. </script>
  288. </button>
  289. <line id="line1" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  290. <input id="ipt_fromdd2" ref="/root/send/dietemplno/eatfromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:414px; top:7px; width:85px; height:19px; text-align:center; vertical-align:middle; ">
  291. <script type="javascript" ev:event="xforms-value-changed">
  292. <![CDATA[
  293. var fromdd = ipt_fromdd2.value;
  294. ipt_fromdd.value = fromdd;
  295. ipt_fromdd3.value = fromdd;
  296. ipt_fromdd4.value = fromdd;
  297. ipt_fromdd5.value = fromdd;
  298. ]]>
  299. </script>
  300. </input>
  301. <caption id="caption3" class="search_name" style="left:360px; top:8px; width:55px; height:17px; ">기간:</caption>
  302. <caption id="caption4" class="search_name" visibility="hidden" style="left:1079px; top:1px; width:56px; height:17px; ">기관:</caption>
  303. <select1 id="cmb_instcd2" ref="/root/send/dietemplno/instcd" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:1135px; top:0px; width:44px; height:19px; ">
  304. <choices>
  305. <itemset>
  306. <label/>
  307. <value/>
  308. </itemset>
  309. </choices>
  310. </select1>
  311. <input id="ipt_todd2" ref="/root/send/dietemplno/eattodd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:512px; top:7px; width:85px; height:19px; text-align:center; vertical-align:middle; ">
  312. <script type="javascript" ev:event="xforms-value-changed">
  313. <![CDATA[
  314. var todd = ipt_todd2.value;
  315. ipt_todd.value = todd;
  316. ipt_todd3.value = todd;
  317. ipt_todd4.value = todd;
  318. ipt_todd5.value = todd;
  319. ]]>
  320. </script>
  321. </input>
  322. <caption id="caption5" style="left:500px; top:7px; width:10px; height:20px; ">-</caption>
  323. <button id="btn_emplno2" class="icon_search" style="left:1022px; top:7px; width:16px; height:16px; ">
  324. <caption/>
  325. <script type="javascript" ev:event="DOMActivate">
  326. <![CDATA[
  327. var recv_list = "emplno,emplnm" ;
  328. rpbfOpenPopUpList("SPRPB00101", ipt_emplno2, recv_list,"1","N");
  329. model.refresh();
  330. if (model.getValue(ipt_emplno2.attribute("ref")).length > 0) {
  331. btn_search2.dispatch("DOMActivate");
  332. }
  333. ]]>
  334. </script>
  335. </button>
  336. <caption id="caption8" class="search_name" style="left:904px; top:8px; width:57px; height:17px; ">사번:</caption>
  337. <input id="ipt_emplno2" ref="/root/send/dietemplno/emplno" class="input_essential" style="left:960px; top:7px; width:60px; height:19px; ">
  338. <script type="javascript" ev:event="xforms-value-changed">
  339. <![CDATA[
  340. var recv_list = "emplno,emplnm" ;
  341. rpbfValidationCheck("EMPLNO", recv_list);
  342. model.refresh();
  343. if (model.getValue(ipt_emplno2.attribute("ref")).length > 0) {
  344. btn_search2.dispatch("DOMActivate");
  345. }
  346. ]]>
  347. </script>
  348. </input>
  349. <input id="ipt_emplnm2" ref="/root/send/dietemplno/emplnm" class="input_default" style="left:1039px; top:7px; width:64px; height:19px; ">
  350. <script type="javascript" ev:event="xforms-value-changed">
  351. <![CDATA[
  352. var recv_list = "emplno,emplnm" ;
  353. rpbfValidationCheck("EMPLNM", recv_list);
  354. model.refresh();
  355. if (model.getValue(ipt_emplno2.attribute("ref")).length > 0) {
  356. btn_search2.dispatch("DOMActivate");
  357. }
  358. ]]>
  359. </script>
  360. </input>
  361. <caption id="caption10" class="search_name" style="left:619px; top:8px; width:61px; height:17px; ">부서:</caption>
  362. <input id="ipt_deptnm" ref="/root/send/dietemplno/deptnm" class="input_default" style="left:768px; top:7px; width:109px; height:19px; ">
  363. <script type="javascript" ev:event="xforms-value-changed">
  364. <![CDATA[
  365. misfValidationCheck("02", "", "deptcd,deptnm" );
  366. model.refresh();
  367. ]]>
  368. </script>
  369. </input>
  370. <button id="btn_deptcd" class="icon_search" style="left:747px; top:7px; width:16px; height:16px; ">
  371. <caption/>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. var recv_list = "deptcd,deptnm";
  375. var instcd = cmb_instcd2.value;
  376. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  377. model.refresh();
  378. ]]>
  379. </script>
  380. </button>
  381. <input id="ipt_deptcd" ref="/root/send/dietemplno/deptcd" class="input_default" style="left:675px; top:7px; width:69px; height:19px; ">
  382. <script type="javascript" ev:event="xforms-value-changed">
  383. <![CDATA[
  384. misfValidationCheck("02", "", "deptcd,deptnm" );
  385. model.refresh();
  386. ]]>
  387. </script>
  388. </input>
  389. <select1 id="cmb_payinst1" ref="/root/send/dietemplno/payinst" class="combo_s_essential" appearance="minimal" style="left:220px; top:7px; width:125px; height:19px; ">
  390. <choices>
  391. <itemset>
  392. <label/>
  393. <value/>
  394. </itemset>
  395. </choices>
  396. </select1>
  397. <caption id="caption21" class="search_name" style="left:164px; top:8px; width:61px; height:17px; ">기관:</caption>
  398. <select1 id="rdo_instflag" ref="/root/send/dietemplno/instflag" appearance="full" cols="2" overflow="visible" style="left:10px; top:7px; width:140px; height:20px; border-style:solid; ">
  399. <choices>
  400. <item>
  401. <label>급여기준</label>
  402. <value>A</value>
  403. </item>
  404. <item>
  405. <label>식수기준</label>
  406. <value>B</value>
  407. </item>
  408. </choices>
  409. </select1>
  410. </group>
  411. <button id="btn_saveexcel2" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  412. <caption>엑셀저장</caption>
  413. <script type="javascript" ev:event="DOMActivate">
  414. <![CDATA[
  415. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  416. if (fileName != "")
  417. {
  418. grd_dietemplnolist.saveExcel(fileName);
  419. }
  420. ]]>
  421. </script>
  422. </button>
  423. <line id="line2" class="line_1" style="x1:0px; y1:68px; x2:1185px; y2:68px; "/>
  424. <datagrid id="grd_dietemplnolist" nodeset="/root/main/dietemplno/dietemplnolist" caption="사원번호^성명^교직구분^식수기관^급여기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부|사원번호^성명^교직구분^식수기관^급여기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부" colsep="^" colwidth="82, 86, 107, 134, 143, 151, 71, 61, 61, 100, 100, 49" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1185px; height:620px; ">
  425. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  426. <col ref="emplnm"/>
  427. <col ref="prfshipflagnm"/>
  428. <col ref="eatinstnm"/>
  429. <col ref="payinstnm"/>
  430. <col ref="dutunitnm"/>
  431. <col ref="breakmeal" style="text-align:center; vertical-align:middle; "/>
  432. <col ref="lunchmeal" style="text-align:center; vertical-align:middle; "/>
  433. <col ref="dinnermeal" style="text-align:center; vertical-align:middle; "/>
  434. <col ref="totmeal" style="text-align:center; vertical-align:middle; "/>
  435. <col ref="totmealamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  436. <col ref="payappyn" style="text-align:center; vertical-align:middle; "/>
  437. <script type="javascript" ev:event="ondblclick">
  438. <![CDATA[
  439. var emplno = grd_dietemplnolist.valueMatrix(grd_dietemplnolist.row, grd_dietemplnolist.colRef("emplno"));
  440. var emplnm = grd_dietemplnolist.valueMatrix(grd_dietemplnolist.row, grd_dietemplnolist.colRef("emplnm"));
  441. var fromdd = ipt_fromdd2.value;
  442. var todd = ipt_todd2.value;
  443. ipt_fromdd.value = fromdd;
  444. ipt_todd.value = todd;
  445. ipt_emplnos.value = emplno;
  446. ipt_emplnms.value = emplnm;
  447. //model.refresh();
  448. btn_eatsel.selected = true;
  449. btn_eatsel.dispatch("DOMActivate");
  450. btn_search.dispatch("DOMActivate");
  451. ]]>
  452. </script>
  453. </datagrid>
  454. <caption id="caption9" class="tit_2" style="left:5px; top:48px; width:126px; height:14px; ">개인별 식수 List</caption>
  455. </case>
  456. <case id="case3">
  457. <group id="group4" style="left:0px; top:5px; width:1185px; height:35px; vertical-align:top; ">
  458. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  459. <button id="btn_search3" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  460. <caption>조회</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. submit("TRRWD06203");
  464. grd_dietdeptlist.subtotalposition = "below";
  465. grd_dietdeptlist.subtotal("sum" ,-1 , grd_dietdeptlist.colRef("breakmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  466. grd_dietdeptlist.subtotal("sum" ,-1 , grd_dietdeptlist.colRef("lunchmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  467. grd_dietdeptlist.subtotal("sum" ,-1 , grd_dietdeptlist.colRef("dinnermeal"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  468. grd_dietdeptlist.subtotal("sum" ,-1 , grd_dietdeptlist.colRef("totmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  469. grd_dietdeptlist.subtotal("sum" ,-1 , grd_dietdeptlist.colRef("totmealamt"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  470. ]]>
  471. </script>
  472. </button>
  473. <line id="line3" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  474. <input id="ipt_fromdd3" ref="/root/send/dietdept/eatfromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:415px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. var fromdd = ipt_fromdd3.value;
  478. ipt_fromdd2.value = fromdd;
  479. ipt_fromdd.value = fromdd;
  480. ipt_fromdd4.value = fromdd;
  481. ipt_fromdd5.value = fromdd;
  482. ]]>
  483. </script>
  484. </input>
  485. <caption id="caption11" class="search_name" style="left:361px; top:8px; width:55px; height:17px; ">기간:</caption>
  486. <caption id="caption12" class="search_name" visibility="hidden" style="left:1025px; top:10px; width:56px; height:17px; ">기관:</caption>
  487. <select1 id="cmb_instcd3" ref="/root/send/dietdept/instcd" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:1081px; top:9px; width:24px; height:19px; ">
  488. <choices>
  489. <itemset>
  490. <label/>
  491. <value/>
  492. </itemset>
  493. </choices>
  494. </select1>
  495. <input id="ipt_todd3" ref="/root/send/dietdept/eattodd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:528px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  496. <script type="javascript" ev:event="xforms-value-changed">
  497. <![CDATA[
  498. var todd = ipt_todd3.value;
  499. ipt_todd2.value = todd;
  500. ipt_todd.value = todd;
  501. ipt_todd4.value = todd;
  502. ipt_todd5.value = todd;
  503. ]]>
  504. </script>
  505. </input>
  506. <caption id="caption13" style="left:516px; top:7px; width:10px; height:20px; ">-</caption>
  507. <caption id="caption15" class="search_name" style="left:645px; top:8px; width:61px; height:17px; ">부서:</caption>
  508. <input id="ipt_deptnm3" ref="/root/send/dietdept/deptnm" class="input_default" style="left:806px; top:7px; width:139px; height:19px; ">
  509. <script type="javascript" ev:event="xforms-value-changed">
  510. <![CDATA[
  511. misfValidationCheck("02", "", "deptcd,deptnm" );
  512. model.refresh();
  513. ]]>
  514. </script>
  515. </input>
  516. <button id="btn_deptcd3" class="icon_search" style="left:785px; top:7px; width:16px; height:16px; ">
  517. <caption/>
  518. <script type="javascript" ev:event="DOMActivate">
  519. <![CDATA[
  520. var recv_list = "deptcd,deptnm";
  521. var instcd = cmb_instcd3.value;
  522. rpbfOpenDeptCdHelp(ipt_deptcd3,recv_list,instcd,"instcd");
  523. model.refresh();
  524. ]]>
  525. </script>
  526. </button>
  527. <input id="ipt_deptcd3" ref="/root/send/dietdept/deptcd" class="input_default" style="left:701px; top:7px; width:79px; height:19px; ">
  528. <script type="javascript" ev:event="xforms-value-changed">
  529. <![CDATA[
  530. misfValidationCheck("02", "", "deptcd,deptnm" );
  531. model.refresh();
  532. ]]>
  533. </script>
  534. </input>
  535. <caption id="caption22" class="search_name" style="left:164px; top:8px; width:61px; height:17px; ">기관:</caption>
  536. <select1 id="cmb_payinst2" ref="/root/send/dietdept/payinst" class="combo_s_essential" appearance="minimal" style="left:220px; top:7px; width:125px; height:19px; ">
  537. <choices>
  538. <itemset>
  539. <label/>
  540. <value/>
  541. </itemset>
  542. </choices>
  543. </select1>
  544. <select1 id="rdo_instflag2" ref="/root/send/dietdept/instflag" appearance="full" cols="2" overflow="visible" style="left:10px; top:7px; width:140px; height:20px; border-style:solid; ">
  545. <choices>
  546. <item>
  547. <label>급여기준</label>
  548. <value>A</value>
  549. </item>
  550. <item>
  551. <label>식수기준</label>
  552. <value>B</value>
  553. </item>
  554. </choices>
  555. </select1>
  556. </group>
  557. <datagrid id="grd_dietdeptlist" nodeset="/root/main/dietdept/dietdeptlist" caption="식수기관^급여기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부^기관코드^부서코드|식수기관^급여기관^부서^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부^기관코드^부서코드" colsep="^" colwidth="155, 167, 249, 108, 94, 91, 117, 115, 48, 43, 38" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1185px; height:620px; ">
  558. <col ref="eatinstnm"/>
  559. <col ref="payinstnm"/>
  560. <col ref="dutunitnm"/>
  561. <col ref="breakmeal" style="text-align:center; vertical-align:middle; "/>
  562. <col ref="lunchmeal" style="text-align:center; vertical-align:middle; "/>
  563. <col ref="dinnermeal" style="text-align:center; vertical-align:middle; "/>
  564. <col ref="totmeal" style="text-align:center; vertical-align:middle; "/>
  565. <col ref="totmealamt" format="(-)#,###" style="text-align:right; "/>
  566. <col ref="payappyn" style="text-align:center; vertical-align:middle; "/>
  567. <col ref="payinst" visibility="hidden"/>
  568. <col ref="dutunitcd" visibility="hidden"/>
  569. <script type="javascript" ev:event="ondblclick">
  570. <![CDATA[
  571. var payinst = grd_dietdeptlist.valueMatrix(grd_dietdeptlist.row, grd_dietdeptlist.colRef("payinst"));
  572. var deptcd = grd_dietdeptlist.valueMatrix(grd_dietdeptlist.row, grd_dietdeptlist.colRef("dutunitcd"));
  573. var deptnm = grd_dietdeptlist.valueMatrix(grd_dietdeptlist.row, grd_dietdeptlist.colRef("dutunitnm"));
  574. var fromdd = ipt_fromdd3.value;
  575. var todd = ipt_todd3.value;
  576. cmb_payinst1.value = payinst;
  577. ipt_fromdd2.value = fromdd;
  578. ipt_todd2.value = todd;
  579. ipt_deptcd.value = deptcd;
  580. ipt_deptnm.value = deptnm;
  581. ipt_emplno2.value = "";
  582. ipt_emplnm2.value = "";
  583. //model.refresh();
  584. button2.selected = true;
  585. button2.dispatch("DOMActivate");
  586. btn_search2.dispatch("DOMActivate");
  587. ]]>
  588. </script>
  589. </datagrid>
  590. <button id="btn_saveexcel3" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  591. <caption>엑셀저장</caption>
  592. <script type="javascript" ev:event="DOMActivate">
  593. <![CDATA[
  594. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  595. if (fileName != "")
  596. {
  597. grd_dietdeptlist.saveExcel(fileName);
  598. }
  599. ]]>
  600. </script>
  601. </button>
  602. <line id="line6" class="line_1" style="x1:0px; y1:68px; x2:1185px; y2:68px; "/>
  603. <caption id="caption16" class="tit_2" style="left:5px; top:48px; width:126px; height:14px; ">부서별 식수 List</caption>
  604. </case>
  605. <case id="case4">
  606. <group id="group5" style="left:0px; top:5px; width:1185px; height:35px; vertical-align:top; ">
  607. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  608. <button id="btn_search4" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  609. <caption>조회</caption>
  610. <script type="javascript" ev:event="DOMActivate">
  611. <![CDATA[
  612. submit("TRRWD06204");
  613. grd_retiremoveinstlist.subtotalposition = "below";
  614. grd_retiremoveinstlist.subtotal("sum" ,4 , grd_retiremoveinstlist.colRef("breakmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 4, "계");
  615. grd_retiremoveinstlist.subtotal("sum" ,4 , grd_retiremoveinstlist.colRef("lunchmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 4, "계");
  616. grd_retiremoveinstlist.subtotal("sum" ,4 , grd_retiremoveinstlist.colRef("dinnermeal"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 4, "계");
  617. grd_retiremoveinstlist.subtotal("sum" ,4 , grd_retiremoveinstlist.colRef("totmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 4, "계");
  618. grd_retiremoveinstlist.subtotal("sum" ,4 , grd_retiremoveinstlist.colRef("totmealamt"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 4, "계");
  619. ]]>
  620. </script>
  621. </button>
  622. <line id="line7" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  623. <input id="ipt_fromdd4" ref="/root/send/retiremoveinst/eatfromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:320px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  624. <script type="javascript" ev:event="xforms-value-changed">
  625. <![CDATA[
  626. var fromdd = ipt_fromdd4.value;
  627. ipt_fromdd2.value = fromdd;
  628. ipt_fromdd3.value = fromdd;
  629. ipt_fromdd.value = fromdd;
  630. ipt_fromdd5.value = fromdd;
  631. ]]>
  632. </script>
  633. </input>
  634. <caption id="caption14" class="search_name" style="left:266px; top:8px; width:55px; height:17px; ">기간:</caption>
  635. <caption id="caption17" class="search_name" visibility="hidden" style="left:990px; top:13px; width:56px; height:17px; ">기관:</caption>
  636. <select1 id="cmb_instcd4" ref="/root/send/retiremoveinst/instcd" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:1045px; top:10px; width:49px; height:19px; ">
  637. <choices>
  638. <itemset>
  639. <label/>
  640. <value/>
  641. </itemset>
  642. </choices>
  643. </select1>
  644. <input id="ipt_todd4" ref="/root/send/retiremoveinst/eattodd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:433px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  645. <script type="javascript" ev:event="xforms-value-changed">
  646. <![CDATA[
  647. var todd = ipt_todd4.value;
  648. ipt_todd2.value = todd;
  649. ipt_todd3.value = todd;
  650. ipt_todd.value = todd;
  651. ipt_todd5.value = todd;
  652. ]]>
  653. </script>
  654. </input>
  655. <caption id="caption18" style="left:421px; top:7px; width:10px; height:20px; ">-</caption>
  656. <caption id="caption19" class="search_name" style="left:580px; top:8px; width:68px; height:17px; ">급여월:</caption>
  657. <input id="ipt_payym" ref="/root/send/retiremoveinst/payym" class="input_default" inputtype="date" format="yyyy-mm" style="left:650px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
  658. <caption id="caption23" class="search_name" style="left:9px; top:8px; width:81px; height:17px; ">급여기관:</caption>
  659. <select1 id="cmb_payinst3" ref="/root/send/retiremoveinst/payinst" class="combo_s_essential" appearance="minimal" style="left:90px; top:7px; width:125px; height:19px; ">
  660. <choices>
  661. <itemset>
  662. <label/>
  663. <value/>
  664. </itemset>
  665. </choices>
  666. </select1>
  667. </group>
  668. <button id="button1" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  669. <caption>엑셀저장</caption>
  670. <script type="javascript" ev:event="DOMActivate">
  671. <![CDATA[
  672. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  673. if (fileName != "")
  674. {
  675. grd_retiremoveinstlist.saveExcel(fileName);
  676. }
  677. ]]>
  678. </script>
  679. </button>
  680. <caption id="caption20" class="tit_2" style="left:5px; top:48px; width:126px; height:14px; ">퇴직 전출 List</caption>
  681. <line id="line8" class="line_1" style="x1:0px; y1:68px; x2:1185px; y2:68px; "/>
  682. <datagrid id="grd_retiremoveinstlist" nodeset="/root/main/retiremoveinst/retiremoveinstlist" caption="사원번호^성명^교직구분^기관^부서^구분^발령일^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부|사원번호^성명^교직구분^기관^부서^구분^발령일^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부" colsep="^" colwidth="79, 86, 100, 116, 128, 67, 100, 64, 65, 64, 76, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1185px; height:620px; ">
  683. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  684. <col ref="emplnm"/>
  685. <col ref="prfshipflagnm"/>
  686. <col ref="payinstnm"/>
  687. <col ref="dutunitnm"/>
  688. <col ref="flagnm"/>
  689. <col ref="gvnoffcorddd" format="yyyy-mm-dd"/>
  690. <col ref="breakmeal" style="text-align:center; vertical-align:middle; "/>
  691. <col ref="lunchmeal" style="text-align:center; vertical-align:middle; "/>
  692. <col ref="dinnermeal" style="text-align:center; vertical-align:middle; "/>
  693. <col ref="totmeal" style="text-align:center; vertical-align:middle; "/>
  694. <col ref="totmealamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  695. <col ref="payappyn" style="text-align:center; vertical-align:middle; "/>
  696. <script type="javascript" ev:event="ondblclick">
  697. <![CDATA[
  698. var emplno = grd_retiremoveinstlist.valueMatrix(grd_retiremoveinstlist.row, grd_retiremoveinstlist.colRef("emplno"));
  699. var emplnm = grd_retiremoveinstlist.valueMatrix(grd_retiremoveinstlist.row, grd_retiremoveinstlist.colRef("emplnm"));
  700. var fromdd = ipt_fromdd4.value;
  701. var todd = ipt_todd4.value;
  702. ipt_fromdd.value = fromdd;
  703. ipt_todd.value = todd;
  704. ipt_emplnos.value = emplno;
  705. ipt_emplnms.value = emplnm;
  706. //model.refresh();
  707. btn_eatsel.selected = true;
  708. btn_eatsel.dispatch("DOMActivate");
  709. btn_search.dispatch("DOMActivate");
  710. ]]>
  711. </script>
  712. </datagrid>
  713. </case>
  714. <case id="case5">
  715. <group id="group6" style="left:0px; top:5px; width:1185px; height:35px; vertical-align:top; ">
  716. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  717. <button id="btn_search5" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; text-align:left; ">
  718. <caption>조회</caption>
  719. <script type="javascript" ev:event="DOMActivate">
  720. <![CDATA[
  721. submit("TRRWD06205");
  722. grd_nopaydietemplnolist.subtotalposition = "below";
  723. grd_nopaydietemplnolist.subtotal("sum" ,-1 , grd_nopaydietemplnolist.colRef("breakmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  724. grd_nopaydietemplnolist.subtotal("sum" ,-1 , grd_nopaydietemplnolist.colRef("lunchmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  725. grd_nopaydietemplnolist.subtotal("sum" ,-1 , grd_nopaydietemplnolist.colRef("dinnermeal"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  726. grd_nopaydietemplnolist.subtotal("sum" ,-1 , grd_nopaydietemplnolist.colRef("totmeal"), "format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  727. grd_nopaydietemplnolist.subtotal("sum" ,-1 , grd_nopaydietemplnolist.colRef("totmealamt"),"format:#,###; ", "background-color:#ffff99; font-weight:bold; ", 1, "합계");
  728. ]]>
  729. </script>
  730. </button>
  731. <line id="line10" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  732. <input id="ipt_fromdd5" ref="/root/send/nopaydietemplno/eatfromdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:440px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  733. <script type="javascript" ev:event="xforms-value-changed">
  734. <![CDATA[
  735. var fromdd = ipt_fromdd5.value;
  736. ipt_fromdd2.value = fromdd;
  737. ipt_fromdd3.value = fromdd;
  738. ipt_fromdd4.value = fromdd;
  739. ipt_fromdd.value = fromdd;
  740. ]]>
  741. </script>
  742. </input>
  743. <caption id="caption24" class="search_name" style="left:386px; top:8px; width:55px; height:17px; ">기간:</caption>
  744. <caption id="caption25" class="search_name" visibility="hidden" style="left:1000px; top:10px; width:56px; height:17px; ">기관:</caption>
  745. <select1 id="cmb_instcd5" ref="/root/send/nopaydietemplno/instcd" class="combo_s_essential" disabled="true" visibility="hidden" appearance="minimal" style="left:1056px; top:9px; width:39px; height:19px; ">
  746. <choices>
  747. <itemset>
  748. <label/>
  749. <value/>
  750. </itemset>
  751. </choices>
  752. </select1>
  753. <input id="ipt_todd5" ref="/root/send/nopaydietemplno/eattodd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:553px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  754. <script type="javascript" ev:event="xforms-value-changed">
  755. <![CDATA[
  756. var todd = ipt_todd5.value;
  757. ipt_todd2.value = todd;
  758. ipt_todd3.value = todd;
  759. ipt_todd4.value = todd;
  760. ipt_todd.value = todd;
  761. ]]>
  762. </script>
  763. </input>
  764. <caption id="caption26" style="left:541px; top:7px; width:10px; height:20px; ">-</caption>
  765. <caption id="caption27" class="search_name" visibility="hidden" style="left:680px; top:8px; width:68px; height:17px; ">급여월:</caption>
  766. <input id="input3" ref="/root/send/nopaydietemplno/payym" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:750px; top:7px; width:100px; height:19px; text-align:center; vertical-align:middle; "/>
  767. <caption id="caption28" class="search_name" style="left:174px; top:8px; width:61px; height:17px; ">기관:</caption>
  768. <select1 id="cmb_payinst4" ref="/root/send/nopaydietemplno/payinst" class="combo_s_essential" appearance="minimal" style="left:230px; top:7px; width:125px; height:19px; ">
  769. <choices>
  770. <itemset>
  771. <label/>
  772. <value/>
  773. </itemset>
  774. </choices>
  775. </select1>
  776. <select1 id="rdo_instflag3" ref="/root/send/nopaydietemplno/instflag" appearance="full" cols="2" overflow="visible" style="left:10px; top:7px; width:140px; height:20px; border-style:solid; ">
  777. <choices>
  778. <item>
  779. <label>급여기준</label>
  780. <value>A</value>
  781. </item>
  782. <item>
  783. <label>식수기준</label>
  784. <value>B</value>
  785. </item>
  786. </choices>
  787. </select1>
  788. </group>
  789. <datagrid id="grd_nopaydietemplnolist" nodeset="/root/main/nopaydietemplno/nopaydietemplnolist" caption="사원번호^성명^교직구분^식수기관^급여기관^부서^직위^급여계산구분^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부|사원번호^성명^교직구분^식수기관^급여기관^부서^직위^급여계산구분^이침건수^점심건수^저녁건수^총건수^총금액^급여반영여부" colsep="^" colwidth="74, 72, 97, 106, 114, 138, 86, 82, 59, 58, 61, 68, 85, 47" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1185px; height:620px; ">
  790. <col ref="emplno" style="text-align:center; vertical-align:middle; "/>
  791. <col ref="emplnm"/>
  792. <col ref="prfshipflagnm"/>
  793. <col ref="eatinstnm"/>
  794. <col ref="payinstnm"/>
  795. <col ref="dutunitnm"/>
  796. <col ref="jobposnm"/>
  797. <col ref="saldfraykindnm"/>
  798. <col ref="breakmeal" style="text-align:center; vertical-align:middle; "/>
  799. <col ref="lunchmeal" style="text-align:center; vertical-align:middle; "/>
  800. <col ref="dinnermeal" style="text-align:center; vertical-align:middle; "/>
  801. <col ref="totmeal" style="text-align:center; vertical-align:middle; "/>
  802. <col ref="totmealamt" format="(-)#,###" style="text-align:right; vertical-align:middle; "/>
  803. <col ref="payappyn" style="text-align:center; vertical-align:middle; "/>
  804. <script type="javascript" ev:event="ondblclick">
  805. <![CDATA[
  806. var emplno = grd_nopaydietemplnolist.valueMatrix(grd_nopaydietemplnolist.row, grd_nopaydietemplnolist.colRef("emplno"));
  807. var emplnm = grd_nopaydietemplnolist.valueMatrix(grd_nopaydietemplnolist.row, grd_nopaydietemplnolist.colRef("emplnm"));
  808. var fromdd = ipt_fromdd5.value;
  809. var todd = ipt_todd5.value;
  810. ipt_fromdd.value = fromdd;
  811. ipt_todd.value = todd;
  812. ipt_emplnos.value = emplno;
  813. ipt_emplnms.value = emplnm;
  814. //model.refresh();
  815. btn_eatsel.selected = true;
  816. btn_eatsel.dispatch("DOMActivate");
  817. btn_search.dispatch("DOMActivate");
  818. ]]>
  819. </script>
  820. </datagrid>
  821. <button id="button6" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  822. <caption>엑셀저장</caption>
  823. <script type="javascript" ev:event="DOMActivate">
  824. <![CDATA[
  825. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  826. if (fileName != "")
  827. {
  828. grd_nopaydietemplnolist.saveExcel(fileName);
  829. }
  830. ]]>
  831. </script>
  832. </button>
  833. <line id="line11" class="line_1" style="x1:0px; y1:68px; x2:1185px; y2:68px; "/>
  834. <caption id="caption29" class="tit_2" style="left:5px; top:48px; width:126px; height:14px; ">개인별 식수 List</caption>
  835. </case>
  836. </switch>
  837. <button id="btn_eatsel" class="btn_sw" group="tab" selected="true" style="left:0px; top:3px; width:100px; height:22px; ">
  838. <caption>개인별일자별</caption>
  839. <script type="javascript" ev:event="DOMActivate">
  840. <![CDATA[
  841. model.toggle("case1");
  842. ]]>
  843. </script>
  844. </button>
  845. <button id="button2" class="btn_sw" group="tab" style="left:105px; top:3px; width:100px; height:22px; ">
  846. <caption>개인별</caption>
  847. <script type="javascript" ev:event="DOMActivate">
  848. <![CDATA[
  849. model.toggle("case2");
  850. ]]>
  851. </script>
  852. </button>
  853. <button id="button3" class="btn_sw" group="tab" style="left:210px; top:3px; width:100px; height:22px; ">
  854. <caption>부서별</caption>
  855. <script type="javascript" ev:event="DOMActivate">
  856. <![CDATA[
  857. model.toggle("case3");
  858. ]]>
  859. </script>
  860. </button>
  861. <button id="button4" class="btn_sw" group="tab" style="left:315px; top:3px; width:100px; height:22px; ">
  862. <caption>퇴직전출자</caption>
  863. <script type="javascript" ev:event="DOMActivate">
  864. <![CDATA[
  865. model.toggle("case4");
  866. ]]>
  867. </script>
  868. </button>
  869. <button id="button7" class="btn_sw" group="tab" style="left:420px; top:3px; width:100px; height:22px; ">
  870. <caption>미공제식수</caption>
  871. <script type="javascript" ev:event="DOMActivate">
  872. <![CDATA[
  873. model.toggle("case5");
  874. ]]>
  875. </script>
  876. </button>
  877. </group>
  878. <group id="grp_btn" scroll="auto" style="left:0; top:12; width:1195px; height:27px; ">
  879. <line id="line4" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  880. </group>
  881. </xhtml:body>
  882. </xhtml:html>