SMRAI00200_실적 Migration.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  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>실적 Migration</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <migrationlist>
  11. <migrationsheet/>
  12. </migrationlist>
  13. <mappinglist>
  14. <mappingsheet/>
  15. </mappinglist>
  16. </main>
  17. <send>
  18. <instcd/>
  19. <acntcd/>
  20. <acntnm/>
  21. <ym/>
  22. <ymdd/>
  23. <acntyy/>
  24. </send>
  25. <init>
  26. </init>
  27. <temp/>
  28. <hidden>
  29. <condition>
  30. <acntflag>0</acntflag>
  31. </condition>
  32. <migrationlist>
  33. <migrationsheet/>
  34. </migrationlist>
  35. <mappinglist>
  36. <mappingsheet/>
  37. </mappinglist>
  38. </hidden>
  39. </root>
  40. </instance>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/miscommonweb/js/RAM001.js"/>
  49. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fInitialize();
  53. ]]>
  54. </script>
  55. <script type="javascript">
  56. <![CDATA[
  57. function fInitialize()
  58. {
  59. misfComboComCdList("Z0007", cmb_instcd, "N");
  60. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  61. cmb_instcd.refresh();
  62. grd_mappingsheet.focusColor = "#ccffff";
  63. grd_mappingsheet.selectionmode = "free";
  64. model.removenode(grd_mappingsheet.nodeset);
  65. grd_mappingsheet.refresh();
  66. btn_65.selected = true;
  67. btn_search.dispatch("DOMActivate");
  68. if(getUserId() == 'MIS')
  69. {
  70. btn_delete.disabled = false;
  71. btn_exet.disabled = false;
  72. }
  73. else
  74. {
  75. btn_delete.disabled = true;
  76. btn_exet.disabled = true;
  77. model.setValue(ipt_acntyy.attribute("ref"), "2008");
  78. model.setValue(ipt_ym.attribute("ref"), "200809");
  79. model.setValue(ipt_ymdd.attribute("ref"), "20080930");
  80. ipt_acntyy.refresh();
  81. ipt_ym.refresh();
  82. ipt_ymdd.refresh();
  83. }
  84. }
  85. function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName, pRetrKind)
  86. {
  87. if(event.keyCode == 13 || event.name == "xforms-value-changed")
  88. {
  89. document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
  90. misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName, pRetrKind);
  91. model.refresh();
  92. if (pNextIndex != "") {
  93. model.setFocus(pNextIndex);
  94. }
  95. }
  96. }
  97. function fNotNullCheck(pGrid)
  98. {
  99. var vAcntyy = model.getValue(ipt_acntyy.attribute("ref"));
  100. if(grd_mappingsheet.rows == 1 && vAcntyy.length != 4) { messageBox("회계년도를 입력하세요" ,"I000"); return false; }
  101. var vYMDD = model.getValue(ipt_ymdd.attribute("ref"));
  102. if(grd_mappingsheet.rows == 1 && vYMDD.length != 8) { messageBox("일계기준일을 입력하세요" ,"I000"); return false; }
  103. return true;
  104. }
  105. function fInputExcel(pGrid)
  106. {
  107. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  108. if(fileName != "")
  109. {
  110. pGrid.loadExcel(fileName, 1, true);
  111. pGrid.deleteRow(1);
  112. pGrid.rebuild();
  113. }
  114. for(var i = grd_mappingsheet.fixedRows ; i < grd_mappingsheet.rows ; i++)
  115. {
  116. grd_mappingsheet.rowStatus(i) = 1;
  117. }
  118. }
  119. ]]>
  120. </script>
  121. <submission id="TRRAI00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mappinglist"/>
  122. <submission id="TRRAI00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/migrationlist"/>
  123. <submission id="TXRAI00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/mappinglist" resultref="/root/temp"/>
  124. <submission id="TXRAI00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  125. <submission id="TXRAI00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  126. </model>
  127. </xhtml:head>
  128. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  129. <group id="grp_1" style="left:0px; top:0px; width:1195px; height:13px; ">
  130. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">실적 Migration</caption>
  131. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  132. </group>
  133. <group id="grp_3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  134. <group id="grp_sea" style="left:0px; top:10px; width:1195; height:35px; vertical-align:top; ">
  135. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  136. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1100px; top:8px; width:56px; height:22px; text-align:left; ">
  137. <caption>조회</caption>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. if(swt_1.selectedIndex == 0)
  141. {
  142. submit("TRRAI00202");
  143. }
  144. else
  145. {
  146. submit("TRRAI00201");
  147. if(grd_mappingsheet.rows > 1)
  148. {
  149. model.setValue(ipt_acntyy.attribute("ref"), model.getValue(grd_mappingsheet.nodeset + "[1]/acntyy"));
  150. model.setValue(ipt_ymdd.attribute("ref"), model.getValue(grd_mappingsheet.nodeset + "[1]/ymdd"));
  151. model.setValue(ipt_ym.attribute("ref"), model.getValue(grd_mappingsheet.nodeset + "[1]/ymdd").substr(0, 6));
  152. ipt_acntyy.refresh();
  153. ipt_ymdd.refresh();
  154. ipt_ym.refresh();
  155. }
  156. }
  157. ]]>
  158. </script>
  159. </button>
  160. <caption id="caption7" class="search_name" style="left:6px; top:9px; width:86px; height:17px; ">기 관 :</caption>
  161. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:80px; top:9px; width:215px; height:19px; ">
  162. <choices>
  163. <itemset>
  164. <label/>
  165. <value/>
  166. </itemset>
  167. </choices>
  168. </select1>
  169. <button id="btn_fracnthelp" class="icon_search" style="left:867px; top:10px; width:16px; height:16px; ">
  170. <caption/>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. misfOpenPopUpList("05", ipt_acntcd, "", "acntcd,acntnm");
  174. model.refresh();
  175. ]]>
  176. </script>
  177. </button>
  178. <caption id="caption23" class="search_name" style="left:677px; top:10px; width:103px; height:17px; ">계 정 과 목 :</caption>
  179. <input id="ipt_acntnm" ref="/root/send/acntnm" class="input_s_essential" navindex="7" style="left:885px; top:10px; width:166px; height:19px; ">
  180. <script type="javascript" ev:event="onkeypress">
  181. <![CDATA[
  182. if(event.keyCode == 13)
  183. {
  184. model.setFocus("btn_search");
  185. }
  186. ]]>
  187. </script>
  188. <script type="javascript" ev:event="xforms-value-changed">
  189. <![CDATA[
  190. fValidationCheck("05", "acntcd,acntnm", "", "", "", "");
  191. ]]>
  192. </script>
  193. </input>
  194. <input id="ipt_acntcd" ref="/root/send/acntcd" class="input_s_essential" navindex="6" style="left:788px; top:10px; width:75px; height:19px; ">
  195. <script type="javascript" ev:event="onkeypress">
  196. <![CDATA[
  197. if(event.keyCode == 13)
  198. {
  199. model.setFocus("btn_search");
  200. }
  201. ]]>
  202. </script>
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. fValidationCheck("05", "acntcd,acntnm", "", "", "", "");
  206. ]]>
  207. </script>
  208. </input>
  209. <line id="line1" class="line_4" style="x1:1058px; y1:8px; x2:1058px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  210. <caption id="caption3" class="search_name" style="left:340px; top:10px; width:110px; height:17px; ">회 계 년 도 :</caption>
  211. <input id="ipt_acntyy" ref="/root/send/acntyy" class="input_s_essential" editable="false" format="9999" appearance="input" style="left:445px; top:9px; width:100px; height:19px; "/>
  212. </group>
  213. <case id="case2" selected="true">
  214. <caption id="caption2" style="left:130px; top:95px; width:100px; height:20px; vertical-align:middle; ">caption2</caption>
  215. </case>
  216. <switch id="swt_1" class="sw_box" style="left:0px; top:70px; width:1195px; height:669px; border-style:solid; ">
  217. <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:667px; ">
  218. <caption id="caption21" class="tit_2" style="left:5px; top:10px; width:135px; height:13px; ">nU 계정 기준 조회</caption>
  219. <line id="lin_3" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
  220. <datagrid id="grd_migrationsheet" nodeset="/root/main/migrationlist/migrationsheet" backcoloralternate="#ffffff" caption="계정코드^계정분류구분^계정명^상위계정명^회계년도^MIGRATION일시^구계정코드^구계정명^상대처구분^상대처코드^기재사항1^기재사항2^기재사항3^기재사항4^기재사항5^기재사항6^옵션1^옵션2^상위계정코드1^상위계정코드2^상위계정코드3^상위계정코드4^차변금액^대변금액^비고^계정구분^잔액구분^기표여부^사용여부" colsep="^" colwidth="0, 0, 219, 0, 80, 90, 80, 80, 80, 90, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 80, 0, 0, 0, 50" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="16" rowsep="|" style="left:0px; top:30px; width:1193px; height:632px; font-size:10pt; ">
  221. <col ref="acntcd"/>
  222. <col ref="acntclsflag"/>
  223. <col ref="acntnm"/>
  224. <col ref="supacntnm"/>
  225. <col ref="acntyy"/>
  226. <col ref="ymdd"/>
  227. <col ref="oldacntcd"/>
  228. <col ref="oldacntnm"/>
  229. <col ref="custflag" type="combo">
  230. <choices>
  231. <item>
  232. <label>거래처</label>
  233. <value>1</value>
  234. </item>
  235. <item>
  236. <label>부서</label>
  237. <value>3</value>
  238. </item>
  239. <item>
  240. <label>교직원</label>
  241. <value>4</value>
  242. </item>
  243. <item>
  244. <label>개인</label>
  245. <value>5</value>
  246. </item>
  247. <item>
  248. <label>기타</label>
  249. <value>9</value>
  250. </item>
  251. </choices>
  252. </col>
  253. <col ref="custcd"/>
  254. <col ref="notecd1"/>
  255. <col ref="notecd2"/>
  256. <col ref="notecd3"/>
  257. <col ref="notecd4"/>
  258. <col ref="notecd5"/>
  259. <col ref="notecd6"/>
  260. <col ref="option1"/>
  261. <col ref="option2"/>
  262. <col ref="supacntcd1"/>
  263. <col ref="supacntcd2"/>
  264. <col ref="supacntcd3"/>
  265. <col ref="supacntcd4"/>
  266. <col ref="dramt" format="(-)#,###"/>
  267. <col ref="cramt" format="(-)#,###"/>
  268. <col ref="cmt"/>
  269. <col ref="acntflag"/>
  270. <col ref="balflag"/>
  271. <col ref="slipyn"/>
  272. <col ref="acntuseyn"/>
  273. </datagrid>
  274. <button id="button4" class="btn2_letter4" style="left:1124px; top:4px; width:64px; height:19px; text-align:left; ">
  275. <caption>엑셀출력</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. radfSaveExcel(grd_migrationsheet);
  279. ]]>
  280. </script>
  281. </button>
  282. </case>
  283. <case id="case2">
  284. <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:165px; height:13px; ">계정 Mapping List</caption>
  285. <line id="lin_1" class="line_1" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
  286. <datagrid id="grd_mappingsheet" nodeset="/root/main/mappinglist/mappingsheet" backcoloralternate="#ffffff" caption="기관코드^회계년도^Migration날짜^계정코드^상대처구분^상대처코드^기재사항1^기재사항2^기재사항3^기재사항4^기재사항5^기재사항6^옵션1^옵션2^계정명^상위계정코드1^상위계정코드2^상위계정코드3^상위계정코드4^nU계정코드(대분류)^nU대분류^nU계정코드(관)^nU관^nU계정코드(항)^nU항^nU계정코드(목)^nU목^nU계정코드^nU세목^차변금액^대변금액^비고" colsep="^" colwidth="0, 65, 85, 100, 80, 65, 80, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 100, 100, 80, 80, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:30px; width:1193px; height:632px; ">
  287. <col ref="instcd"/>
  288. <col ref="acntyy"/>
  289. <col ref="ymdd" type="inputdate"/>
  290. <col ref="acntcd" type="input"/>
  291. <col ref="custflag" type="combo">
  292. <choices>
  293. <item>
  294. <label>거래처</label>
  295. <value>1</value>
  296. </item>
  297. <item>
  298. <label>부서</label>
  299. <value>3</value>
  300. </item>
  301. <item>
  302. <label>교직원</label>
  303. <value>4</value>
  304. </item>
  305. <item>
  306. <label>개인</label>
  307. <value>5</value>
  308. </item>
  309. <item>
  310. <label>기타</label>
  311. <value>9</value>
  312. </item>
  313. </choices>
  314. </col>
  315. <col ref="custcd" type="input"/>
  316. <col ref="notecd1" type="input"/>
  317. <col ref="notecd2" type="input"/>
  318. <col ref="notecd3" type="input"/>
  319. <col ref="notecd4" type="input"/>
  320. <col ref="notecd5" type="input"/>
  321. <col ref="notecd6" type="input"/>
  322. <col ref="option1" type="input"/>
  323. <col ref="option2" type="input"/>
  324. <col ref="acntnm" type="input"/>
  325. <col ref="supacntcd1"/>
  326. <col ref="supacntcd2"/>
  327. <col ref="supacntcd3"/>
  328. <col ref="supacntcd4"/>
  329. <col ref="nusupacntcd1"/>
  330. <col ref="nusupacntnm1"/>
  331. <col ref="nusupacntcd2"/>
  332. <col ref="nusupacntnm2"/>
  333. <col ref="nusupacntcd3"/>
  334. <col ref="nusupacntnm3"/>
  335. <col ref="nusupacntcd4"/>
  336. <col ref="nusupacntnm4"/>
  337. <col ref="nuacntcd" type="inputbutton"/>
  338. <col ref="nuacntnm"/>
  339. <col ref="dramt" type="input" format="(-)#,###"/>
  340. <col ref="cramt" type="input" format="(-)#,###"/>
  341. <col ref="cmt" type="input"/>
  342. <script type="javascript" ev:event="onbuttonclick">
  343. <![CDATA[
  344. if(grd_mappingsheet.col == grd_mappingsheet.colRef("nuacntcd"))
  345. {
  346. vAcntclsflag = cmb_acntclsflag.value;
  347. vInstcd = cmb_instcd.value;
  348. vParam = vInstcd + "," + vAcntclsflag;
  349. misfOpenPopUpList("05", grd_mappingsheet, "", "nuacntcd,nuacntnm", vParam, "instcd,acntclsflag");
  350. }
  351. ]]>
  352. </script>
  353. </datagrid>
  354. <button id="btn_2" class="btn2_letter4" style="left:927px; top:4px; width:64px; height:19px; text-align:left; ">
  355. <caption>엑셀출력</caption>
  356. <script type="javascript" ev:event="DOMActivate">
  357. <![CDATA[
  358. radfSaveExcel(grd_mappingsheet);
  359. ]]>
  360. </script>
  361. </button>
  362. <button id="btn_grddel" class="btn2_letter3" style="left:1064px; top:4px; width:53px; height:19px; ">
  363. <caption>행삭제</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. misfGridIUD(grd_mappingsheet, "D");
  367. ]]>
  368. </script>
  369. </button>
  370. <button id="btn_grdadd" class="btn2_letter3" style="left:1009px; top:4px; width:53px; height:19px; ">
  371. <caption>행추가</caption>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. if(!fNotNullCheck()) return false;
  375. misfGridIUD(grd_mappingsheet, "A");
  376. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/instcd", model.getValue(cmb_instcd.attribute("ref")));
  377. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/custflag", "9");
  378. if(grd_mappingsheet.rows == 2)
  379. {
  380. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/ymdd", model.getValue(ipt_ymdd.attribute("ref")));
  381. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/acntyy", model.getValue(ipt_acntyy.attribute("ref")));
  382. }
  383. else
  384. {
  385. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/ymdd", model.getValue(grd_mappingsheet.nodeset + "[1]/ymdd"));
  386. model.setValue(grd_mappingsheet.nodeset + "[" + grd_mappingsheet.row + "]/acntyy", model.getValue(grd_mappingsheet.nodeset + "[1]/acntyy"));
  387. }
  388. grd_mappingsheet.colDisabled(grd_mappingsheet.colRef("ymdd")) = true;
  389. grd_mappingsheet.refresh();
  390. ]]>
  391. </script>
  392. </button>
  393. <button id="button1" class="btn2_letter4" style="left:860px; top:4px; width:64px; height:19px; text-align:left; ">
  394. <caption>엑셀입력</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. model.removeNodeset(grd_mappingsheet.nodeset);
  398. grd_mappingsheet.refresh();
  399. fInputExcel(grd_mappingsheet)
  400. ]]>
  401. </script>
  402. </button>
  403. <input id="ipt_ymdd" ref="/root/send/ymdd" class="input_s_essential" editable="false" format="9999-99-99" appearance="input" style="left:513px; top:4px; width:100px; height:19px; "/>
  404. <button id="btn_delete" class="btn4_letter2" disabled="true" style="left:630px; top:2px; width:56px; height:22px; ">
  405. <caption>삭제</caption>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. DelCheck = messageBox("실적 데이터가 삭제됩니다. 삭제하시겠습니까?","Q999");
  409. if (DelCheck == "6")
  410. {
  411. if(model.getValue(ipt_acntyy.attribute("ref")) == "") return false;
  412. if(model.getValue(ipt_ym.attribute("ref")).length != 6)
  413. {
  414. messageBox("월계기준일을 입력하세요" ,"I000");
  415. }
  416. if(model.getValue(ipt_ymdd.attribute("ref")).length != 8)
  417. {
  418. messageBox("일계기준일을 입력하세요" ,"I000");
  419. }
  420. submit("TXRAI00203");
  421. }
  422. ]]>
  423. </script>
  424. </button>
  425. <line id="lin_5" class="line_4" style="x1:690px; y1:4px; x2:690px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
  426. <caption id="caption1" class="search_name" style="left:197px; top:5px; width:110px; height:17px; ">월계기준일 :</caption>
  427. <caption id="caption2" class="search_name" style="left:413px; top:5px; width:130px; height:17px; ">일계기준일 :</caption>
  428. <input id="ipt_ym" ref="/root/send/ym" class="input_s_essential" editable="false" format="9999-99" appearance="input" style="left:298px; top:4px; width:100px; height:19px; "/>
  429. <button id="btn_exet" class="btn4_letter2" disabled="true" style="left:700px; top:2px; width:56px; height:22px; ">
  430. <caption>실행</caption>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. btn_search.dispatch("DOMActivate");
  434. if(model.getValue(ipt_acntyy.attribute("ref")) == "") return false;
  435. if(model.getValue(ipt_ym.attribute("ref")).length != 6)
  436. {
  437. messageBox("월계기준일을 입력하세요" ,"I000");
  438. }
  439. if(model.getValue(ipt_ymdd.attribute("ref")).length != 8)
  440. {
  441. messageBox("일계기준일을 입력하세요" ,"I000");
  442. }
  443. submit("TXRAI00202");
  444. ]]>
  445. </script>
  446. </button>
  447. <button id="button2" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  448. <caption>저장</caption>
  449. <script type="javascript" ev:event="DOMActivate">
  450. <![CDATA[
  451. if(grd_mappingsheet.getUpdateData() != "")
  452. {
  453. // var vInstcd = model.getValue(cmb_instcd.attribute("ref"));
  454. //
  455. // alert(vInstcd);
  456. // for(var i = grd_mappingsheet.fixedRows ; i > grd_mappingsheet.rows ; i++)
  457. // {
  458. // model.setValue(grd_mappingsheet.nodeset + "[" + i + "]/instcd", vInstcd);
  459. // }
  460. model.setValue("/root/hidden/mappinglist/mappingsheet", grd_mappingsheet.getUpdateData());
  461. submit("TXRAI00201");
  462. btn_search.dispatch("DOMActivate");
  463. }
  464. ]]>
  465. </script>
  466. </button>
  467. </case>
  468. </switch>
  469. <button id="btn_65" class="btn_sw" group="tab" selected="true" style="left:0px; top:50px; width:68px; height:22px; ">
  470. <caption>조 회</caption>
  471. <toggle case="case1" ev:event="onclick"/>
  472. </button>
  473. <button id="btn_1" class="btn_sw" group="tab" selected="true" style="left:68px; top:50px; width:68px; height:22px; ">
  474. <caption>입 력</caption>
  475. <toggle case="case2" ev:event="onclick"/>
  476. </button>
  477. <select1 id="cmb_acntclsflag" ref="/root/hidden/condition/acntflag" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:140px; top:50px; width:27px; height:19px; text-align:center; vertical-align:middle; ">
  478. <choices>
  479. <item>
  480. <label>대분류</label>
  481. <value>4</value>
  482. </item>
  483. <item>
  484. <label>관</label>
  485. <value>3</value>
  486. </item>
  487. <item>
  488. <label>항</label>
  489. <value>2</value>
  490. </item>
  491. <item>
  492. <label>목</label>
  493. <value>1</value>
  494. </item>
  495. <item>
  496. <label>세목</label>
  497. <value>0</value>
  498. </item>
  499. </choices>
  500. </select1>
  501. </group>
  502. <group id="grp_4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  503. <line id="lin_2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  504. <button id="button5" style="left:110px; top:5px; width:100px; height:20px; ">
  505. <caption>button5</caption>
  506. <script type="javascript" ev:event="onclick">
  507. <![CDATA[
  508. alert(getUserId());
  509. ]]>
  510. </script>
  511. </button>
  512. </group>
  513. </xhtml:body>
  514. </xhtml:html>