SPRBC00400_부서별예산코드HELP.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <acntcode>
  11. <acntcodelist>
  12. </acntcodelist>
  13. </acntcode>
  14. <dept/>
  15. </main>
  16. <target/>
  17. <send>
  18. </send>
  19. </root>
  20. </instance>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. finit();
  24. ]]>
  25. </script>
  26. <script type="javascript">
  27. <![CDATA[
  28. function finit()
  29. {
  30. misfMsterDetailSet(grd_acntlist, null, "TRRBC00405", "N");
  31. rbcfBugtDeptComboBind(cmb_deptcd, "Y");
  32. // misfMsterDetailRetrieve();
  33. // fSetReadOnly();
  34. }
  35. //==============================================================
  36. // 읽기전용 컬럼 세팅
  37. //==============================================================
  38. function fSetReadOnly()
  39. {
  40. for(var i = 1; i < grd_acntlist.rows; i++)
  41. {
  42. if(grd_acntlist.valueMatrix(i, grd_acntlist.colRef("bugtyn")) == "N")
  43. {
  44. grd_acntlist.isReadOnly(i, grd_acntlist.colRef("chk")) = true;
  45. }
  46. }
  47. }
  48. //==============================================================
  49. // 계정항목 PopUp
  50. //==============================================================
  51. function fOpenPopupAcntHelp(pObj, sRecv)
  52. {
  53. misfOpenPopUpList("05", pObj, "", sRecv);
  54. model.refresh();
  55. }
  56. ]]>
  57. </script>
  58. <submission id="TRRBC99101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bugtref" resultref="/root/main/acntcode"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/RBC001.js"/>
  65. </xhtml:head>
  66. <xhtml:body pagewidth="600" pageheight="550" guideline="2,-5;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <group id="group3" scroll="auto" style="left:0px; top:0px; width:580px; height:520px; ">
  68. <group id="group2" style="left:0px; top:0px; width:580px; height:5px; "/>
  69. <caption id="caption1" class="tit_2" style="left:5px; top:35px; width:183px; height:13px; ">계정코드별 예산코드 리스트</caption>
  70. <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:580px; y2:50px; "/>
  71. <datagrid id="grd_acntlist" nodeset="/root/main/acntcode/acntcodelist" caption="계정코드^계정과목명^예산코드^예산명^계정코드예산코드^예산존재여부^선택" colsep="^" colwidth="73, 175, 73, 175, 0, 0, 30" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:55px; width:575px; height:465px; ">
  72. <col ref="acntcd"/>
  73. <col ref="acntnm"/>
  74. <col ref="bugtcd"/>
  75. <col ref="bugtnm"/>
  76. <col ref="acntcdbugtcd"/>
  77. <col ref="bugtyn"/>
  78. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  79. <script type="javascript" ev:event="ondblclick">
  80. <![CDATA[
  81. if(grd_acntlist.valueMatrix(grd_acntlist.row, grd_acntlist.colRef("bugtyn")) == "Y")
  82. {
  83. misfPopUpListReturn(grd_acntlist);
  84. }
  85. ]]>
  86. </script>
  87. </datagrid>
  88. <line id="line13" class="line_4" style="x1:515px; y1:0px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  89. <group id="group4" style="left:0px; top:0px; width:580px; height:30px; ">
  90. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:29px; "/>
  91. <caption id="caption7" class="search_name" visibility="visible" style="left:1px; top:5px; width:90px; height:17px; ">부 서 :</caption>
  92. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:521px; top:4px; width:56px; height:22px; text-align:left; ">
  93. <caption>조회</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. misfMsterDetailRetrieve();
  97. fSetReadOnly();
  98. ]]>
  99. </script>
  100. </button>
  101. <select1 id="cmb_deptcd" ref="/root/main/dept" class="combo_essential" navindex="4" appearance="minimal" style="left:90px; top:5px; width:150px; height:19px; ">
  102. <choices>
  103. <itemset nodeset="/root/main/dept">
  104. <label ref="depthngnm"/>
  105. <value ref="deptcd"/>
  106. </itemset>
  107. </choices>
  108. </select1>
  109. </group>
  110. </group>
  111. <group id="group1" scroll="auto" style="left:0px; top:521px; width:580px; height:27px; ">
  112. <button id="btn_confirm" class="btn4_letter2" style="left:461px; top:2px; width:56px; height:22px; ">
  113. <caption>확인</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. if(misfCountCheckedList(grd_acntlist, grd_acntlist.colRef("chk")) == 0)
  117. {
  118. window.close();
  119. }
  120. else
  121. {
  122. misfPopUpCheckedListReturn(grd_acntlist, grd_acntlist.colRef("chk"));
  123. }
  124. ]]>
  125. </script>
  126. </button>
  127. <button id="btn_cancel" class="btn4_letter2" style="left:520px; top:2px; width:56px; height:22px; ">
  128. <caption>취소</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. window.close();
  132. ]]>
  133. </script>
  134. </button>
  135. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  136. </group>
  137. </xhtml:body>
  138. </xhtml:html>