SMRIM00100_연구비 세목관리.xrw 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="D:/KNUProject/application/webapps/com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>연구비 세목관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <resrchdept>
  10. <acntlist>
  11. <deptlist>
  12. <acntnm/>
  13. <acntcd/>
  14. </deptlist>
  15. </acntlist>
  16. <deptdetl>
  17. <deptlist>
  18. <acntnm/>
  19. <acnttitle/>
  20. <acntdetail/>
  21. </deptlist>
  22. </deptdetl>
  23. </resrchdept>
  24. <hidden>
  25. <rtnlist>
  26. <deptlist/>
  27. </rtnlist>
  28. </hidden>
  29. <send>
  30. </send>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. model.removenode("root/send");
  36. model.makeValue("root/send/acntcd", "ALL");
  37. model.removenode("/root/hidden/rtnlist");
  38. submit("TRRIM00110");
  39. model.copyNode("/root/resrchdept/acntlist", "/root/hidden/rtnlist");
  40. grd_acntlist.refresh();
  41. ]]>
  42. </script>
  43. <submission id="TRRIM00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acntcd" resultref="/root/hidden/rtnlist"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. </xhtml:head>
  50. <xhtml:body>
  51. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">연구비 세목관리</caption>
  52. <caption id="caption_cdgrup_list" class="tit_2" style="left:0px; top:35px; width:118px; height:14px; ">계정과목</caption>
  53. <caption id="caption1" class="tit_2" style="left:330px; top:35px; width:118px; height:13px; ">계정과목별 세목</caption>
  54. <datagrid id="grd_acntlist" nodeset="/root/resrchdept/acntlist/deptlist" visibility="visible" caption="계정과목^acntcd" colsep="^" colwidth="255, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:55px; width:305px; height:705px; ">
  55. <col ref="acntnm"/>
  56. <col ref="acntcd" visibility="hidden"/>
  57. <script type="javascript" ev:event="ondblclick">
  58. <![CDATA[
  59. var cRow = grd_acntlist.row;
  60. model.removenode("root/send");
  61. model.makeValue("root/send/acntcd",model.getValue("/root/resrchdept/acntlist/deptlist["+ cRow +"]/acntcd") );
  62. model.removenode("/root/hidden/rtnlist");
  63. submit("TRRIM00110");
  64. model.copyNode("/root/resrchdept/deptdetl", "/root/hidden/rtnlist");
  65. grd_detl.refresh();
  66. ]]>
  67. </script>
  68. </datagrid>
  69. <datagrid id="grd_detl" nodeset="/root/resrchdept/deptdetl/deptlist" caption="계정과목^목^세목" colsep="^" colwidth="255, 100, 189" mergecells="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:330px; top:55px; width:870px; height:545px; ">
  70. <col ref="acntnm" style="text-align:center; "/>
  71. <col ref="acnttitle"/>
  72. <col ref="acntdetail"/>
  73. </datagrid>
  74. <line id="line4" class="line_1" style="x1:0px; y1:50px; x2:305px; y2:50px; "/>
  75. <line id="line1" class="line_1" style="x1:330px; y1:50px; x2:900px; y2:50px; "/>
  76. </xhtml:body>
  77. </xhtml:html>