SMMNG00501_린넨마감시간등록.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>린넨 청구 시간 관리</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <lntmlist>
  12. <csrreqdeptcd/>
  13. <daykind/>
  14. <reqseq/>
  15. <clotm/>
  16. <reqimpostm/>
  17. <reqposfromtm/>
  18. <bar/>
  19. <reqpostotm/>
  20. <cmt/>
  21. <dinfaplyn/>
  22. <lastupdtrid/>
  23. <usernm/>
  24. <lastupdtdt/>
  25. <fstrgstdt/>
  26. <instcd/>
  27. <csrreqdeptnm/>
  28. <daykindnm/>
  29. </lntmlist>
  30. <lnreqdeptlist>
  31. <lnreqdeptnm/>
  32. <lnreqdeptcd/>
  33. </lnreqdeptlist>
  34. <csrdeptnm>
  35. <csrdeptnm/>
  36. </csrdeptnm>
  37. <lntmdeptlist/>
  38. </main>
  39. <send>
  40. <instcd/>
  41. <csrtmlist/>
  42. <daykind/>
  43. <deptcd/>
  44. <deptnm/>
  45. <csrreqdeptcd2/>
  46. </send>
  47. <init>
  48. <csrdept>
  49. <label>외래</label>
  50. <value>1</value>
  51. <label>병동</label>
  52. <value>2</value>
  53. <label>OR</label>
  54. <value>3</value>
  55. <label>ER</label>
  56. <value>4</value>
  57. <label>기타</label>
  58. <value>5</value>
  59. </csrdept>
  60. <daykind>
  61. </daykind>
  62. <deptcd/>
  63. <deptnm/>
  64. </init>
  65. <hidden>
  66. <common>
  67. <instcdinfo/>
  68. </common>
  69. </hidden>
  70. <temp/>
  71. </root>
  72. </instance>
  73. <script type="javascript">
  74. <![CDATA[
  75. var searchFlag = "0";
  76. var curDept = 0;
  77. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  78. function fInitialize() {
  79. model.removeNodeset("/root/main/lntmlist");
  80. model.resetInstanceNode("/root/send");
  81. model.refresh();
  82. misfGridInit(grd_lntmlist);
  83. misfGridInit(grd_lnreqdeptlist);
  84. button10.selected = true;
  85. button10.dispatch("DOMActivate");
  86. model.resetInstanceNode("/root/send/reqData");
  87. btn_prt.disabled = true;
  88. model.refresh();
  89. getLnReqDeptList();
  90. }
  91. function fSearch(){
  92. var iRow = grd_lnreqdeptlist.row;
  93. var iCol = grd_lnreqdeptlist.colRef("lnreqdeptcd");
  94. var erreqyn = model.getValue("/root/send/erreqyn");
  95. model.makeValue("/root/send/daykind", rdo_daykind.value);
  96. model.makeValue("/root/send/lnreqdeptcd", grd_lnreqdeptlist.valueMatrix(iRow, iCol));
  97. if ( erreqyn == "A" ) {
  98. submit("TRMNG00505");
  99. } else {
  100. submit("TRMNG00504");
  101. }
  102. misfSetReadOnlyCol(grd_lntmlist, "lnreqdeptcd,daykind, reqseq", true);
  103. // model.refresh();
  104. // fChngReqPosTm();
  105. // searchFlag = "1";
  106. }
  107. function fSave(){
  108. var erreqyn = model.getValue("/root/send/erreqyn");
  109. if ( erreqyn == "N" ) {
  110. var updtdata = getGridUpdateData(grd_lntmlist);
  111. } else if ( erreqyn == "Y") {
  112. var updtdata = getGridUpdateData(grd_erlntmlist);
  113. }
  114. if (updtdata == "")
  115. {
  116. messageBox("변경된 데이터가","I004");
  117. return;
  118. }
  119. rtn = messageBox("", "Q002");
  120. if(rtn != "6" ) return false;
  121. model.makeValue("/root/send/reqdata1/lntmlist", updtdata);
  122. submit("TXMNG00503");
  123. btn_search.dispatch("DOMActivate");
  124. }
  125. function fSavedept(){
  126. var erreqyn = model.getValue("/root/send/erreqyn");
  127. var updtdata = getGridUpdateData(grd_lntmdeptlist);
  128. if (updtdata == "")
  129. {
  130. messageBox("변경된 데이터가","I004");
  131. return;
  132. }
  133. rtn = messageBox("", "Q002");
  134. if(rtn != "6" ) return false;
  135. model.makeValue("/root/send/reqdata2/lntmdeptlist", updtdata);
  136. submit("TXMNG00504");
  137. btn_search.dispatch("DOMActivate");
  138. }
  139. function fCheckTime(grid)
  140. {
  141. if(grid.col == grid.colRef("clotm"))
  142. {
  143. var sTime = grid.valueMatrix(grid.row, grid.colRef("clotm"));
  144. if(sTime == "" || sTime == null)
  145. {
  146. return;
  147. }
  148. if(sTime.length != 4)
  149. {
  150. messageBox("네자리를 ","C001");
  151. grid.valueMatrix(grid.row, grid.colRef("clotm")) = "";
  152. return;
  153. }
  154. var sFrontTime = sTime.substr(0, 2);
  155. var sBackTime = sTime.substr(2, 2);
  156. if(parseInt(sFrontTime) > 24)
  157. {
  158. messageBox("24시를 ","E001");
  159. grid.valueMatrix(grid.row, grid.colRef("clotm")) = "";
  160. return;
  161. }
  162. if(parseInt(sBackTime) > 59)
  163. {
  164. messageBox("59분을 ","E001");
  165. grid.valueMatrix(grid.row, grid.colRef("clotm")) = "";
  166. return;
  167. }
  168. }
  169. }
  170. function getLnReqDeptList() {
  171. model.makeValue("/root/send/reqData/cdgrupid", "R0269");
  172. model.makeValue("/root/send/reqData/cdid", "%");
  173. model.makeValue("/root/send/reqData/cdnm", "%");
  174. submit("TRMNG00408");
  175. model.removeNodeset("/root/main/lntmlist");
  176. grd_lntmlist.refresh();
  177. }
  178. function fChngReqPosTm(grid) {
  179. var tempClotm;
  180. var tempReqImposTm;
  181. var clotm;
  182. var stdCnt = 0; //평일
  183. var spclCnt = 0; //휴일
  184. var spclCnt2 = 0; //토요일
  185. var spclCnt3 = 0; //일요일
  186. var daykind;
  187. for(var i = 1; i <= grid.rows- 1; i++) {
  188. daykind = grid.valueMatrix(i, grid.colRef("daykind"));
  189. switch(daykind) {
  190. case '1' :
  191. stdCnt++;
  192. break;
  193. case '2' :
  194. spclCnt++;
  195. break;
  196. case '3' :
  197. spclCnt2++;
  198. break;
  199. case '4' :
  200. spclCnt3++;
  201. break;
  202. }
  203. }
  204. for(var i = 1; i <= stdCnt + spclCnt + spclCnt2 + spclCnt3; i++) {
  205. tempClotm = grid.valueMatrix(i, grid.colRef("clotm"));
  206. tmpReqImposTm = grid.valueMatrix(i, grid.colRef("reqimpostm"));
  207. //평일에 등록된 수량중 마지막일때
  208. if(i == stdCnt) {
  209. grid.valueMatrix(1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  210. clotm = grid.valueMatrix(1, grd_lntmlist.colRef("clotm"));
  211. grid.valueMatrix(1, grid.colRef("endtm")) = subTm(clotm) + "59";
  212. } else if (i < stdCnt) { //평일에 등록된 수량일때
  213. grid.valueMatrix(i+1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  214. clotm = grid.valueMatrix(i + 1, grid.colRef("clotm"));
  215. grid.valueMatrix(i + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  216. } else if(i == stdCnt + spclCnt) { //휴일에 등록된 수량중 마지막일때
  217. grid.valueMatrix(stdCnt+1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  218. clotm = grid.valueMatrix(stdCnt+1, grid.colRef("clotm"));
  219. grid.valueMatrix(stdCnt+1, grid.colRef("endtm")) = subTm(clotm) + "59";
  220. } else if(i > stdCnt && i < stdCnt + spclCnt) { //휴일에 등록된 수량일때
  221. grid.valueMatrix(i+1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  222. clotm = grid.valueMatrix(i + 1, grid.colRef("clotm"));
  223. grid.valueMatrix(i + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  224. } else if(i == stdCnt + spclCnt + spclCnt2) { //토요일에 등록된 수량중 마지막일때.
  225. grid.valueMatrix(stdCnt + spclCnt + 1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  226. clotm = grid.valueMatrix(stdCnt + spclCnt + 1, grid.colRef("clotm"));
  227. grid.valueMatrix(stdCnt + spclCnt + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  228. } else if(i > stdCnt + spclCnt && i < stdCnt + spclCnt + spclCnt2) { //토요일에 등록된 수량일때.
  229. grid.valueMatrix(i+1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  230. clotm = grid.valueMatrix(i + 1, grid.colRef("clotm"));
  231. grid.valueMatrix(i + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  232. } else if(i == stdCnt + spclCnt + spclCnt2 + spclCnt3) { //일요일에 등록된 수량중 마지막일때.
  233. grid.valueMatrix(stdCnt + spclCnt + spclCnt2 + 1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  234. clotm = grid.valueMatrix(stdCnt + spclCnt + spclCnt2 + 1, grid.colRef("clotm"));
  235. grid.valueMatrix(stdCnt + spclCnt + spclCnt2 + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  236. } else if(i > stdCnt + spclCnt + spclCnt2 && i < stdCnt + spclCnt + spclCnt2 + spclCnt3) { //일요일에 등록된 수량일때.
  237. grid.valueMatrix(i+1, grid.colRef("starttm")) = addTm(tempClotm, tmpReqImposTm) + "01";
  238. clotm = grid.valueMatrix(i + 1, grid.colRef("clotm"));
  239. grid.valueMatrix(i + 1, grid.colRef("endtm")) = subTm(clotm) + "59";
  240. }
  241. }
  242. }
  243. function subTm(clotm) {
  244. var cloHour = clotm.substr(0,2);
  245. var cloTm = clotm.substr(2,2);
  246. var sumHour = Number(cloHour);
  247. var sumTm = Number(cloTm) - 1;
  248. var hr;
  249. var tm;
  250. if(sumTm == -1) {
  251. sumTm = 59;
  252. sumHour -= 1;
  253. }
  254. if(sumHour == -1) {
  255. sumHour = 23;
  256. }
  257. if(sumHour < 10) {
  258. hr= "0" + sumHour;
  259. } else {
  260. hr = String(sumHour);
  261. }
  262. if(sumTm < 10) {
  263. tm = "0" + sumTm;
  264. } else {
  265. tm = String(sumTm);
  266. }
  267. return hr + tm;
  268. }
  269. function addTm(fstTm, lastTm) {
  270. var fstHour = fstTm.substr(0,2);
  271. var fstTm = fstTm.substr(2,2);
  272. var lastHour = lastTm.substr(0,2);
  273. var lastTm = lastTm.substr(2,2);
  274. var sumHour = (Number(fstHour) + Number(lastHour));
  275. var sumTm = Number(fstTm) + Number(lastTm);
  276. var hour;
  277. var tm;
  278. if(sumTm >= 60) {
  279. sumHour += 1;
  280. sumTm %= 60;
  281. }
  282. if(sumHour >= 24) {
  283. sumHour %= 24;
  284. }
  285. if(sumHour < 10) {
  286. hour = "0" + sumHour;
  287. } else {
  288. hour = String(sumHour);
  289. }
  290. if(sumTm < 10) {
  291. tm = "0" + sumTm;
  292. } else {
  293. tm = String(sumTm);
  294. }
  295. return hour + tm
  296. }
  297. function fPrintRex() {
  298. model.makeNode("/root/send/report/grd_lntmlist");
  299. copyNodesetType("/root/send/report/grd_lntmlist", "/root/main/grd_lntmlist");
  300. exeReportPreview("RPMNG00500", "XMLSTR", "/root/send/report/grd_lntmlist");
  301. }
  302. function fSettingGoodList(pnode) {
  303. var codynode = instance1.selectNodes(pnode + "/*");
  304. var addRow = grd_lntmdeptlist.rows - grd_lntmdeptlist.fixedRows;
  305. for (var j = 1; j <= codynode.length; j++)
  306. {
  307. if(addRow > grd_lntmdeptlist.rows - grd_lntmdeptlist.fixedRows)
  308. {
  309. misfGridIUD(grd_lntmdeptlist,"A");
  310. addRow = grd_lntmdeptlist.rows - grd_lntmdeptlist.fixedRows;
  311. }
  312. model.setValue(grd_lntmdeptlist.nodeset + "[" + addRow + "]/deptcd" , model.getValue(pnode +"/" + "grd_lntmdeptlist" + "[" + j + "]/deptcd"));
  313. model.setValue(grd_lntmdeptlist.nodeset + "[" + addRow + "]/deptnm" , model.getValue(pnode +"/" + "grd_lntmdeptlist" + "[" + j + "]/deptnm"));
  314. model.setValue(grd_lntmdeptlist.nodeset + "[" + addRow + "]/lnreqdeptcd" , model.getValue("/root/send/lnreqdeptcd"));
  315. addRow = addRow + 1;
  316. }
  317. grd_lntmdeptlist.colDisabled(grd_lntmdeptlist.colRef("deptcd")) = true;
  318. model.recalculate();
  319. model.refresh();
  320. }
  321. ]]>
  322. </script>
  323. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  324. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  325. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  326. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  327. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  328. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  329. <script type="javascript" ev:event="xforms-ready">
  330. <![CDATA[
  331. fInitialize();
  332. // btn_search.dispatch("DOMActivate");
  333. ]]>
  334. </script>
  335. <submission id="TRMNG00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lntmlist"/>
  336. <submission id="TRMNG00505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lntmdeptlist"/>
  337. <submission id="TXMNG00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
  338. <submission id="TXMNG00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata1" resultref="/root/temp"/>
  339. <submission id="TXMNG00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/temp"/>
  340. <submission id="TRMNG00408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lnreqdeptlist"/>
  341. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  342. </model>
  343. </xhtml:head>
  344. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  345. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  346. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">린넨 청구 시간 관리</caption>
  347. </group>
  348. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  349. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  350. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  351. <line id="line13" class="line_4" style="x1:1000px; y1:5px; x2:1000px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  352. <caption id="cap_csrreqdeptcd" class="search_name" style="left:415px; top:10px; width:89px; height:17px; ">요일구분 :</caption>
  353. <button id="btn_search" class="btn1_letter2" style="left:1015px; top:8px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  354. <caption>조회</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. getLnReqDeptList();
  358. if(ipt_reqdeptcd.value == "" || curDept != 0) {
  359. grd_lnreqdeptlist.row = curDept;
  360. fSearch();
  361. }
  362. ]]>
  363. </script>
  364. </button>
  365. <select1 id="rdo_daykind" ref="/root/init/daykind" appearance="full" cols="6" style="left:505px; top:8px; width:255px; height:19px; ">
  366. <choices>
  367. <item>
  368. <label>전체</label>
  369. <value/>
  370. </item>
  371. <item>
  372. <label>평일</label>
  373. <value>1</value>
  374. </item>
  375. <item>
  376. <label>휴일</label>
  377. <value>2</value>
  378. </item>
  379. <item>
  380. <label>토요일</label>
  381. <value>3</value>
  382. </item>
  383. <item>
  384. <label>일요일</label>
  385. <value>4</value>
  386. </item>
  387. </choices>
  388. <script type="javascript" ev:event="xforms-value-changed">
  389. <![CDATA[
  390. if(!isRequiredControls("cmb_instcd")) return;
  391. //btn_search.dispatch("DOMActivate");
  392. getCsrDeptList();
  393. fSearch();
  394. ]]>
  395. </script>
  396. </select1>
  397. <caption id="caption2" class="search_name" style="left:15px; top:10px; width:88px; height:17px; ">부 서 명 :</caption>
  398. <input id="ipt_reqdeptnm" ref="/root/send/deptnm" class="input_search" style="left:213px; top:8px; width:172px; height:19px; ">
  399. <script type="javascript" ev:event="xforms-value-changed">
  400. <![CDATA[
  401. misfValidationCheck("02", "", "deptcd,deptnm");
  402. model.refresh();
  403. ]]>
  404. </script>
  405. </input>
  406. <input id="ipt_reqdeptcd" ref="/root/send/deptcd" class="input_default" style="left:100px; top:8px; width:85px; height:19px; "/>
  407. <button id="btn_excel" class="btn1_letter2" style="left:1073px; top:8px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  408. <caption>엑셀</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. var fileName = window.fileDialog("save", ",", false, "CSR마감시간등록", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  412. if (fileName != "")
  413. {
  414. grd_csrtmlist.saveExcel(fileName, "청구현황List");
  415. }
  416. ]]>
  417. </script>
  418. </button>
  419. <button id="btn_prt" class="btn1_letter2" style="left:1131px; top:8px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  420. <caption>출력</caption>
  421. <script type="javascript" ev:event="DOMActivate">
  422. <![CDATA[
  423. fPrintRex();
  424. ]]>
  425. </script>
  426. </button>
  427. <button id="btn_reqdept" class="icon_search" style="left:190px; top:10px; width:16px; height:16px; ">
  428. <caption/>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. modal("SPMNG00300");
  432. model.setValue(ipt_reqdeptcd.attribute("ref"), model.property("deptcd"));
  433. model.setValue(ipt_reqdeptnm.attribute("ref"), model.property("deptnm"));
  434. model.setValue(ipt_csrreqdeptcd2.attribute("ref"), model.property("csrreqdeptcd"));
  435. ipt_reqdeptcd.refresh();
  436. ipt_reqdeptnm.refresh();
  437. for(var i = 1; i <= grd_lnreqdeptlist.rows; i++) {
  438. if( grd_lnreqdeptlist.valueMatrix(i, grd_lnreqdeptlist.colRef("lnreqdeptcd")) == ipt_csrreqdeptcd2.value ) {
  439. grd_lnreqdeptlist.row = i;
  440. fSearch();
  441. curDept = grd_lnreqdeptlist.row;
  442. break;
  443. }
  444. }
  445. ]]>
  446. </script>
  447. </button>
  448. </group>
  449. <caption id="caption8" class="tit_2" style="left:5px; top:59px; width:133px; height:13px; ">부서구분</caption>
  450. <line id="line1" class="line_1" style="x1:5px; y1:74px; x2:220px; y2:74px; "/>
  451. <datagrid id="grd_lnreqdeptlist" nodeset="/root/main/lnreqdeptlist" caption="부서구분^caption1" colsep="^" colwidth="170, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:78px; width:215px; height:662px; ">
  452. <col class="input_essential" disabled="true" ref="lnreqdeptnm" type="input"/>
  453. <col ref="lnreqdeptcd" visibility="hidden"/>
  454. <script type="javascript" ev:event="ondblclick">
  455. <![CDATA[
  456. if(grd_lnreqdeptlist.isCell(event.target) && grd_lnreqdeptlist.mouseRow >= grd_lnreqdeptlist.fixedrows){
  457. fSearch();
  458. curDept = grd_lnreqdeptlist.row;
  459. }
  460. ]]>
  461. </script>
  462. </datagrid>
  463. <input id="ipt_csrreqdeptcd2" ref="/root/send/csrreqdeptcd2" visibility="hidden" style="left:525px; top:50px; width:100px; height:20px; "/>
  464. <switch id="switch1" style="left:225px; top:75px; width:970px; height:665px; ">
  465. <case id="case1">
  466. <button id="button1" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:777px; top:3px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  467. <caption>초기화</caption>
  468. <script type="javascript" ev:event="DOMActivate">
  469. <![CDATA[
  470. fInitialize();
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="btn_grdadd" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:833px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  475. <caption>추가</caption>
  476. <script type="javascript" ev:event="DOMActivate">
  477. <![CDATA[
  478. misfGridIUD(grd_lntmlist, "A");
  479. var cur_row = grd_lntmlist.row;
  480. //행추가를 누를시 기간코드 값을 자동으로 저장한다.
  481. model.setValue(grd_lntmlist.attribute("nodeset")+"["+cur_row+"]/bar", "~");
  482. model.setValue(grd_lntmlist.attribute("nodeset")+"["+cur_row+"]/lnreqdeptcd", grd_lnreqdeptlist.valueMatrix(grd_lnreqdeptlist.row, grd_lnreqdeptlist.colRef("lnreqdeptcd")));
  483. model.setValue(grd_lntmlist.attribute("nodeset")+"["+cur_row+"]/reqimpostm", "0000");
  484. model.setValue(grd_lntmlist.attribute("nodeset")+"["+cur_row+"]/erreqyn", "N");
  485. //행추가시에만 키값에 대한 input이 허용된다. 그외에는 key값을 수정할 수 없다.
  486. grd_lntmlist.editCell();
  487. ]]>
  488. </script>
  489. </button>
  490. <button id="btn_grddel" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:877px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  491. <caption>삭제</caption>
  492. <script type="javascript" ev:event="DOMActivate">
  493. <![CDATA[
  494. if(grd_lntmlist.row > -1 && grd_lntmlist.row >= grd_lntmlist.fixedrows){
  495. var firstRow = grd_lntmlist.selectedRow(0);
  496. var lastRow = grd_lntmlist.selectedRow(grd_lntmlist.selectedRows-1);
  497. for(var i = firstRow; i <= lastRow; i++) {
  498. if(grd_lntmlist.rowStatus(i) == "1" || grd_lntmlist.rowStatus(i) == "3") {
  499. grd_lntmlist.deleteRow(i);
  500. } else {
  501. grd_lntmlist.rowStatus(i) = "4";
  502. }
  503. }
  504. }
  505. ]]>
  506. </script>
  507. </button>
  508. <button id="btn_save" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:921px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  509. <caption>저장</caption>
  510. <script type="javascript" ev:event="DOMActivate">
  511. <![CDATA[
  512. fSave();
  513. ]]>
  514. </script>
  515. </button>
  516. <datagrid id="grd_lntmlist" nodeset="/root/main/lntmlist" class="datagrid2" caption="부서구분^요일구분^마감차수^마감시간^청구불가시간^청구가능시간^청구가능시간^청구가능시간^비고^수정자ID^수정자^수정일자^최초등록일자" colsep="^" colwidth="80, 60, 60, 60, 80, 60, 17, 60, 130, 70, 60, 80, 80, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:28px; width:967px; height:634px; ">
  517. <col class="input_essential" disabled="true" ref="lnreqdeptcd" type="combo" _key="true" style="text-align:center; ">
  518. <choices>
  519. <itemset nodeset="/root/main/lnreqdeptlist">
  520. <label ref="lnreqdeptnm"/>
  521. <value ref="lnreqdeptcd"/>
  522. </itemset>
  523. </choices>
  524. </col>
  525. <col class="input_essential" disabled="true" ref="daykind" type="combo" _key="true" style="text-align:center; ">
  526. <choices>
  527. <item>
  528. <label>평일</label>
  529. <value>1</value>
  530. </item>
  531. <item>
  532. <label>휴일</label>
  533. <value>2</value>
  534. </item>
  535. <item>
  536. <label>토요일</label>
  537. <value>3</value>
  538. </item>
  539. <item>
  540. <label>일요일</label>
  541. <value>4</value>
  542. </item>
  543. </choices>
  544. </col>
  545. <col class="input_essential" disabled="true" ref="reqseq" type="input" maxlength="2" _key="true" style="text-align:center; "/>
  546. <col ref="clotm" type="input" format="hh:nn" maxlength="4" validateformat="true" style="text-align:center; "/>
  547. <col ref="reqimpostm" type="input" format="hh:nn" style="text-align:center; "/>
  548. <col ref="starttm" type="input" format="hh:nn:ss" style="text-align:center; "/>
  549. <col ref="bar" style="text-align:center; "/>
  550. <col ref="endtm" type="input" format="hh:nn:ss"/>
  551. <col ref="cmt" type="input" maxlength="96" style="text-align:left; "/>
  552. <col disabled="true" ref="lastupdtrid" style="text-align:center; "/>
  553. <col disabled="true" ref="lastupdtrnm" style="text-align:center; "/>
  554. <col disabled="true" ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  555. <col disabled="true" ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  556. <col ref="erreqyn" visibility="hidden"/>
  557. <script type="javascript" ev:event="xforms-value-changed">
  558. <![CDATA[
  559. if(grd_lntmlist.rows > 1 && (grd_lntmlist.col == grd_lntmlist.colRef("clotm") || grd_lntmlist.col == grd_lntmlist.colRef("reqimpostm")) ) {
  560. fChngReqPosTm(grd_lntmlist);
  561. }
  562. ]]>
  563. </script>
  564. <script type="javascript" ev:event="onendedit">
  565. <![CDATA[
  566. fCheckTime(grd_lntmlist);
  567. ]]>
  568. </script>
  569. <script type="javascript" ev:event="onclick">
  570. <![CDATA[
  571. grd_lntmlist.editCell();
  572. ]]>
  573. </script>
  574. </datagrid>
  575. <line id="line2" class="line_1" style="x1:0px; y1:24px; x2:967px; y2:24px; "/>
  576. <caption id="caption1" class="tit_2" style="left:5px; top:8px; width:162px; height:13px; ">청구 기준시간 등록</caption>
  577. </case>
  578. <case id="case2" selected="true">
  579. <button id="button2" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:777px; top:3px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  580. <caption>초기화</caption>
  581. <script type="javascript" ev:event="DOMActivate">
  582. <![CDATA[
  583. fInitialize();
  584. ]]>
  585. </script>
  586. </button>
  587. <button id="button3" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:833px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  588. <caption>추가</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. misfGridIUD(grd_erlntmlist, "A");
  592. var cur_row = grd_erlntmlist.row;
  593. //행추가를 누를시 기간코드 값을 자동으로 저장한다.
  594. model.setValue(grd_erlntmlist.attribute("nodeset")+"["+cur_row+"]/bar", "~");
  595. model.setValue(grd_erlntmlist.attribute("nodeset")+"["+cur_row+"]/lnreqdeptcd", grd_lnreqdeptlist.valueMatrix(grd_lnreqdeptlist.row, grd_lnreqdeptlist.colRef("lnreqdeptcd")));
  596. model.setValue(grd_erlntmlist.attribute("nodeset")+"["+cur_row+"]/reqimpostm", "0000");
  597. model.setValue(grd_erlntmlist.attribute("nodeset")+"["+cur_row+"]/erreqyn", "Y");
  598. model.setValue(grd_erlntmlist.attribute("nodeset")+"["+cur_row+"]/reqseq", "응급");
  599. //행추가시에만 키값에 대한 input이 허용된다. 그외에는 key값을 수정할 수 없다.
  600. grd_erlntmlist.editCell()
  601. ]]>
  602. </script>
  603. </button>
  604. <button id="button4" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:877px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  605. <caption>삭제</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. if(grd_erlntmlist.row > -1 && grd_erlntmlist.row >= grd_erlntmlist.fixedrows){
  609. var firstRow = grd_erlntmlist.selectedRow(0);
  610. var lastRow = grd_erlntmlist.selectedRow(grd_erlntmlist.selectedRows-1);
  611. for(var i = firstRow; i <= lastRow; i++) {
  612. if(grd_erlntmlist.rowStatus(i) == "1" || grd_erlntmlist.rowStatus(i) == "3") {
  613. grd_erlntmlist.deleteRow(i);
  614. } else {
  615. grd_erlntmlist.rowStatus(i) = "4";
  616. }
  617. }
  618. }
  619. ]]>
  620. </script>
  621. </button>
  622. <button id="button5" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:921px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  623. <caption>저장</caption>
  624. <script type="javascript" ev:event="DOMActivate">
  625. <![CDATA[
  626. fSave();
  627. ]]>
  628. </script>
  629. </button>
  630. <datagrid id="grd_erlntmlist" nodeset="/root/main/lntmlist" class="datagrid2" caption="부서구분^요일구분^마감차수^마감시간^청구불가시간^청구가능시간^청구가능시간^청구가능시간^비고^수정자ID^수정자^수정일자^최초등록일자^instcd^csrreqdeptnm" colsep="^" colwidth="80, 60, 60, 60, 80, 60, 17, 60, 130, 70, 60, 80, 80, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:28px; width:967px; height:634px; ">
  631. <col class="input_essential" disabled="true" ref="lnreqdeptcd" type="combo" _key="true" style="text-align:center; ">
  632. <choices>
  633. <itemset nodeset="/root/main/lnreqdeptlist">
  634. <label ref="lnreqdeptnm"/>
  635. <value ref="lnreqdeptcd"/>
  636. </itemset>
  637. </choices>
  638. </col>
  639. <col class="input_essential" disabled="true" ref="daykind" type="combo" _key="true" style="text-align:center; ">
  640. <choices>
  641. <item>
  642. <label>평일</label>
  643. <value>1</value>
  644. </item>
  645. <item>
  646. <label>휴일</label>
  647. <value>2</value>
  648. </item>
  649. <item>
  650. <label>토요일</label>
  651. <value>3</value>
  652. </item>
  653. <item>
  654. <label>일요일</label>
  655. <value>4</value>
  656. </item>
  657. </choices>
  658. </col>
  659. <col class="input_essential" disabled="true" ref="reqseq" type="input" maxlength="2" _key="true" style="text-align:center; "/>
  660. <col ref="clotm" type="input" format="hh:nn" maxlength="4" validateformat="true" style="text-align:center; "/>
  661. <col ref="reqimpostm" type="input" format="hh:nn" style="text-align:center; "/>
  662. <col ref="starttm" type="input" format="hh:nn:ss" style="text-align:center; "/>
  663. <col ref="bar" style="text-align:center; "/>
  664. <col ref="endtm" type="input" format="hh:nn:ss"/>
  665. <col ref="cmt" type="input" maxlength="96" style="text-align:left; "/>
  666. <col disabled="true" ref="lastupdtrid" style="text-align:center; "/>
  667. <col disabled="true" ref="lastupdtrnm" style="text-align:center; "/>
  668. <col disabled="true" ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  669. <col disabled="true" ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  670. <col ref="erreqyn" visibility="hidden"/>
  671. <script type="javascript" ev:event="xforms-value-changed">
  672. <![CDATA[
  673. if(grd_erlntmlist.rows > 1 && (grd_erlntmlist.col == grd_erlntmlist.colRef("clotm") || grd_erlntmlist.col == grd_erlntmlist.colRef("reqimpostm")) ) {
  674. fChngReqPosTm(grd_erlntmlist);
  675. }
  676. ]]>
  677. </script>
  678. <script type="javascript" ev:event="onendedit">
  679. <![CDATA[
  680. fCheckTime(grd_erlntmlist);
  681. ]]>
  682. </script>
  683. <script type="javascript" ev:event="onclick">
  684. <![CDATA[
  685. grd_erlntmlist.editCell();
  686. ]]>
  687. </script>
  688. </datagrid>
  689. <line id="line3" class="line_1" style="x1:0px; y1:24px; x2:967px; y2:24px; "/>
  690. <caption id="caption3" class="tit_2" style="left:5px; top:8px; width:162px; height:13px; ">응급청구 기준시간 등록</caption>
  691. </case>
  692. <case id="case3">
  693. <button id="button6" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:777px; top:3px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  694. <caption>초기화</caption>
  695. <script type="javascript" ev:event="DOMActivate">
  696. <![CDATA[
  697. fInitialize();
  698. ]]>
  699. </script>
  700. </button>
  701. <button id="button7" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:833px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  702. <caption>추가</caption>
  703. <script type="javascript" ev:event="DOMActivate">
  704. <![CDATA[
  705. if(!isRequiredControls("cmb_instcd")) return;
  706. misfGridIUD(grd_lntmdeptlist, "A");
  707. var cur_row = grd_lntmdeptlist.row;
  708. //행추가를 누를시 기간코드 값을 자동으로 저장한다.
  709. model.setValue(grd_lntmdeptlist.attribute("nodeset")+"["+cur_row+"]/lnreqdeptcd", grd_lnreqdeptlist.valueMatrix(grd_lnreqdeptlist.row, grd_lnreqdeptlist.colRef("lnreqdeptcd")));
  710. //행추가시에만 키값에 대한 input이 허용된다. 그외에는 key값을 수정할 수 없다.
  711. grd_lntmdeptlist.editCell();
  712. ]]>
  713. </script>
  714. </button>
  715. <button id="button8" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:877px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  716. <caption>삭제</caption>
  717. <script type="javascript" ev:event="DOMActivate">
  718. <![CDATA[
  719. if(grd_lntmdeptlist.row > -1 && grd_lntmdeptlist.row >= grd_lntmdeptlist.fixedrows){
  720. var firstRow = grd_lntmdeptlist.selectedRow(0);
  721. var lastRow = grd_lntmdeptlist.selectedRow(grd_lntmdeptlist.selectedRows-1);
  722. for(var i = firstRow; i <= lastRow; i++) {
  723. if(grd_lntmdeptlist.rowStatus(i) == "1" || grd_lntmdeptlist.rowStatus(i) == "3") {
  724. grd_lntmdeptlist.deleteRow(i);
  725. } else {
  726. grd_lntmdeptlist.rowStatus(i) = "4";
  727. }
  728. }
  729. }
  730. ]]>
  731. </script>
  732. </button>
  733. <button id="button9" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:921px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  734. <caption>저장</caption>
  735. <script type="javascript" ev:event="DOMActivate">
  736. <![CDATA[
  737. fSavedept();
  738. ]]>
  739. </script>
  740. </button>
  741. <datagrid id="grd_lntmdeptlist" nodeset="/root/main/lntmdeptlist" class="datagrid2" caption="부서코드^부서명^부서구분^비고^수정자id^수정자명^수정일자^최초등록일자" colsep="^" colwidth="116, 135, 80, 150, 80, 80, 110, 110" extendlastcol="scroll" rowheader="update" rowheight="26" rowsep="|" style="left:0px; top:28px; width:967px; height:634px; ">
  742. <col class="input_essential" ref="deptcd" type="inputbutton" disable="true"/>
  743. <col ref="deptnm" type="output"/>
  744. <col ref="lnreqdeptcd" type="combo" disable="true">
  745. <choices>
  746. <itemset nodeset="/root/main/lnreqdeptlist">
  747. <label ref="lnreqdeptnm"/>
  748. <value ref="lnreqdeptcd"/>
  749. </itemset>
  750. </choices>
  751. </col>
  752. <col ref="cmt" type="input"/>
  753. <col ref="lastupdtrid"/>
  754. <col ref="lastupdtrnm"/>
  755. <col ref="lastupdtdt" format="yyyy-mm-dd"/>
  756. <col ref="fstrgstdt" format="yyyy-mm-dd"/>
  757. <script type="javascript" ev:event="onbuttonclick">
  758. <![CDATA[
  759. model.removeNodeset(gvParamPath + "/SPMNG00403_/SPMNG00403_value");
  760. if(grd_lntmdeptlist.col == grd_lntmdeptlist.colRef("deptcd") ) {
  761. model.removeNodeset("/root/copynode");
  762. model.makeNode("/root/copynode");
  763. model.refresh();
  764. rszfOpenPopUpListByWndName(grd_lntmdeptlist,"","deptcd,deptnm","SPMNG00403","","", "Y");
  765. var CSV = model.getValue(gvParamPath +"/SPMNG00403_/SPMNG00403_value");
  766. setCSVToNode("/root/copynode", CSV, "grd_lntmdeptlist");
  767. fSettingGoodList("/root/copynode");
  768. }
  769. ]]>
  770. </script>
  771. </datagrid>
  772. <line id="line4" class="line_1" style="x1:0px; y1:24px; x2:967px; y2:24px; "/>
  773. <caption id="caption4" class="tit_2" style="left:5px; top:8px; width:162px; height:13px; ">린넨시간관리 부서등록</caption>
  774. </case>
  775. </switch>
  776. <button id="button10" class="btn_sw" group="sw" style="left:225px; top:55px; width:70px; height:20px; ">
  777. <caption>정규</caption>
  778. <script type="javascript" ev:event="DOMActivate">
  779. <![CDATA[
  780. model.resetInstanceNode("/root/main/lntmlist");
  781. model.toggle("case1");
  782. model.makeValue("/root/send/erreqyn", "N");
  783. fSearch();
  784. ]]>
  785. </script>
  786. </button>
  787. <button id="button11" class="btn_sw" group="sw" style="left:295px; top:55px; width:65px; height:22px; ">
  788. <caption>응급</caption>
  789. <script type="javascript" ev:event="DOMActivate">
  790. <![CDATA[
  791. model.resetInstanceNode("/root/main/lntmlist");
  792. model.toggle("case2");
  793. model.makeValue("/root/send/erreqyn", "Y");
  794. fSearch();
  795. ]]>
  796. </script>
  797. </button>
  798. <button id="button12" class="btn_sw" group="sw" style="left:360px; top:55px; width:65px; height:22px; ">
  799. <caption>부서관리</caption>
  800. <script type="javascript" ev:event="DOMActivate">
  801. <![CDATA[
  802. model.toggle("case3");
  803. model.makeValue("/root/send/erreqyn", "A");
  804. fSearch();
  805. ]]>
  806. </script>
  807. </button>
  808. <button id="button13" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:92px; top:54px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  809. <caption>추가</caption>
  810. <script type="javascript" ev:event="DOMActivate">
  811. <![CDATA[
  812. grd_lnreqdeptlist.addRow();
  813. ]]>
  814. </script>
  815. </button>
  816. <button id="button14" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:136px; top:54px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  817. <caption>삭제</caption>
  818. <script type="javascript" ev:event="DOMActivate">
  819. <![CDATA[
  820. if ( grd_lnreqdeptlist.rowStatus(grd_lnreqdeptlist.row) == 1 || grd_lnreqdeptlist.rowStatus(grd_lnreqdeptlist.row) == 3) {
  821. grd_lnreqdeptlist.deleteRow(grd_lnreqdeptlist.row);
  822. } else {
  823. var btn = messageBox("부서구분 삭제시 부서구분에 속한 부서목록 및 청구 기준시간도 같이 삭제됩니다. 진행하시겠습니까?", "Q");
  824. if (btn == "6") {
  825. grd_lnreqdeptlist.rowStatus(grd_lnreqdeptlist.row) = 4;
  826. model.makeValue("/root/send/reqdata/lnreqdeptlist", getGridUpdateData(grd_lnreqdeptlist));
  827. submit("TXMNG00502");
  828. }
  829. }
  830. ]]>
  831. </script>
  832. </button>
  833. <button id="button15" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:180px; top:54px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  834. <caption>저장</caption>
  835. <script type="javascript" ev:event="DOMActivate">
  836. <![CDATA[
  837. var btn = messageBox("저장하시겠습니까?", "Q");
  838. if (btn = "6") {
  839. model.makeValue("/root/send/reqdata/lnreqdeptlist", getGridUpdateData(grd_lnreqdeptlist));
  840. submit("TXMNG00502");
  841. }
  842. ]]>
  843. </script>
  844. </button>
  845. </group>
  846. </xhtml:body>
  847. </xhtml:html>