SPRBC00200_예산관리부서HELP.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. <bugtdept>
  11. <bugtdeptlist>
  12. <deptcd/>
  13. <depthngnm/>
  14. <todd/>
  15. <deptcdtodd/>
  16. </bugtdeptlist>
  17. </bugtdept>
  18. </main>
  19. <target/>
  20. <init>
  21. </init>
  22. <send>
  23. <dept>
  24. <deptcd/>
  25. <depthngnm/>
  26. </dept>
  27. </send>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. misfMsterDetailSet(grd_deptlist, null, "TRRBC99201", "N");
  33. // model.removenode("/root/main/bugtdept");
  34. if(instance1.selectNodes("/root/target/validation/bugtdeptlist").length == 0)
  35. {
  36. misfMsterDetailRetrieve();
  37. }
  38. else
  39. {
  40. model.copyNode("/root/main/bugtdept", "/root/target/validation");
  41. }
  42. model.refresh();
  43. ]]>
  44. </script>
  45. <submission id="TRRBC99201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dept/deptcd" resultref="/root/main/bugtdept"/>
  46. </model>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="620" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <group id="group3" scroll="auto" style="left:8px; top:0px; width:580px; height:520px; ">
  53. <group id="group2" style="left:0px; top:0px; width:580px; height:5px; "/>
  54. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:183px; height:13px; ">예산관리부서코드 리스트</caption>
  55. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:580px; y2:64px; "/>
  56. <datagrid id="grd_deptlist" nodeset="/root/main/bugtdept/bugtdeptlist" caption="부서코드^부서명^종료일자^부서코드종료일자^선택" colsep="^" colwidth="127, 275, 150, 0, 50" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:69px; width:580px; height:446px; ">
  57. <col class="text_center" ref="deptcd"/>
  58. <col ref="depthngnm"/>
  59. <col class="text_center" ref="todd" format="yyyy-mm-dd"/>
  60. <col ref="deptcdtodd" visibility="hidden"/>
  61. <col checkvalue="Y,N" ref="chk" type="checkbox" visibility="hidden"/>
  62. <script type="javascript" ev:event="ondblclick">
  63. <![CDATA[
  64. if( grd_deptlist.isCell(event.target) && grd_deptlist.row >= grd_deptlist.fixedRows )
  65. {
  66. btn_confirm.dispatch("DOMActivate");
  67. }
  68. ]]>
  69. </script>
  70. </datagrid>
  71. <group id="group4" style="left:0px; top:5px; width:580px; height:35px; ">
  72. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35; "/>
  73. <input id="ipt_deptcd" ref="/root/send/dept/deptcd" class="input_s_essential" navindex="2" visibility="visible" style="left:90px; top:8px; width:265px; height:19px; ">
  74. <script type="javascript" ev:event="onkeypress">
  75. <![CDATA[
  76. if(event.keyCode == 13)
  77. {
  78. ipt_deptcd.value = ipt_deptcd.currentText;
  79. misfMsterDetailRetrieve();
  80. }
  81. ]]>
  82. </script>
  83. </input>
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. misfMsterDetailRetrieve();
  87. ]]>
  88. </script>
  89. <caption id="caption7" class="search_name" visibility="visible" style="left:15; top:9; width:86px; height:17px; ">조 건 :</caption>
  90. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:509px; top:7px; width:56px; height:22px; text-align:left; ">
  91. <caption>조회</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. misfMsterDetailRetrieve();
  95. ]]>
  96. </script>
  97. </button>
  98. <line id="line13" class="line_4" style="x1:494px; y1:4px; x2:494px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  99. </group>
  100. </group>
  101. <group id="group1" scroll="auto" style="left:8px; top:521px; width:580px; height:27px; ">
  102. <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
  103. <caption>확인</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. /*
  107. if(misfCountCheckedList(grd_deptlist, grd_deptlist.colRef("chk")) == 0)
  108. {
  109. window.close();
  110. }
  111. else
  112. {
  113. misfPopUpCheckedListReturn(grd_deptlist, grd_deptlist.colRef("chk"));
  114. }
  115. */
  116. misfPopUpListReturn(grd_deptlist);
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  121. <caption>취소</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. window.close();
  125. ]]>
  126. </script>
  127. </button>
  128. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  129. </group>
  130. </xhtml:body>
  131. </xhtml:html>