SPRSD00130_대분류코드HELP.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <lrglist/>
  11. </main>
  12. <target>
  13. <defaultvalue>
  14. <goodflag>A</goodflag>
  15. </defaultvalue>
  16. </target>
  17. <init>
  18. <refcond>
  19. <label>대분류코드</label>
  20. <value>lrgcd</value>
  21. <label>대분류명</label>
  22. <value>lrgnm</value>
  23. </refcond>
  24. </init>
  25. <send>
  26. <refcond/>
  27. <lrgnm/>
  28. <lrgcd/>
  29. <goodflag/>
  30. </send>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. misfComboComCdList('R0025', cmb_goodflag); //물품구분
  36. model.setValue("/root/send/goodflag", model.getValue(PURTARGET_NODE + "/goodflag"));
  37. rdo_refcond.select(1);
  38. btn_search.dispatch("DOMActivate");
  39. model.setFocus("ipt_refcond");
  40. ]]>
  41. </script>
  42. <submission id="TRRSD00131" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. </xhtml:head>
  48. <xhtml:body pagewidth="931" pageheight="532" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  49. <group id="group3" scroll="auto" style="left:8px; top:0px; width:900px; height:501px; ">
  50. <group id="group2" style="left:0px; top:5px; width:900px; height:35px; ">
  51. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:900; height:35; "/>
  52. <input id="ipt_refcond" ref="/root/send/lrgnm" class="input_s_essential" style="left:599px; top:8px; width:120px; height:19px; ">
  53. <script type="javascript" ev:event="onkeyup">
  54. <![CDATA[
  55. inputEnterKey("btn_search", "DOMActivate");
  56. ]]>
  57. </script>
  58. </input>
  59. <button id="btn_search" class="btn1_letter2" style="left:829px; top:7; width:56px; height:22px; ">
  60. <caption>조회</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. if(rdo_refcond.value == "lrgnm") {
  64. model.setValue("/root/send/lrgnm",ipt_refcond.label);
  65. }
  66. else {
  67. model.setValue("/root/send/lrgcd",ipt_refcond.label);
  68. }
  69. submit("TRRSD00131");
  70. ]]>
  71. </script>
  72. </button>
  73. <line id="line13" class="line_4" style="x1:814px; y1:7px; x2:814px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  74. <caption id="caption2" class="search_name" style="left:515px; top:9px; width:86px; height:17px; ">조회조건:</caption>
  75. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:342px; top:8px; width:147px; height:20px; border-style:solid; ">
  76. <choices>
  77. <itemset nodeset="/root/init/refcond">
  78. <label ref="label"/>
  79. <value ref="value"/>
  80. </itemset>
  81. </choices>
  82. <script type="javascript" ev:event="xforms-select">
  83. <![CDATA[
  84. if(rdo_refcond.value == "lrgnm") {
  85. ipt_refcond.attribute("imemode") = "hangul";
  86. }
  87. else if (rdo_refcond.value == "lrgcd") {
  88. ipt_refcond.attribute("imemode") = "disabled";
  89. }
  90. else {
  91. ipt_refcond.attribute("imemode") = "disabled";
  92. }
  93. model.setFocus("ipt_refcond");
  94. ]]>
  95. </script>
  96. </select1>
  97. <caption id="caption3" class="search_name" style="left:258px; top:9px; width:86px; height:17px; ">조회구분:</caption>
  98. <caption id="caption4" class="search_name" style="left:15; top:9; width:86px; height:17px; ">물품구분:</caption>
  99. <select1 id="cmb_goodflag" ref="/root/send/goodflag" navindex="1" class="combo_s_essential" appearance="minimal" style="left:100; top:8; width:132px; height:19px; ">
  100. <choices>
  101. <itemset nodeset="/root/init/goodflag">
  102. <label ref="cdnm"/>
  103. <value ref="cdid"/>
  104. </itemset>
  105. </choices>
  106. <script type="javascript" ev:event="xforms-value-changed">
  107. <![CDATA[
  108. btn_search.dispatch("DOMActivate");
  109. ]]>
  110. </script>
  111. </select1>
  112. </group>
  113. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:13px; ">대분류리스트</caption>
  114. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:900; y2:63px; "/>
  115. <datagrid id="grd_lrgllist" nodeset="/root/main/lrglist" caption="대분류코드^대분류명^물품구분^주관리부서코드^주관리부서명^계정코드^비용계정" colwidth="130, 170, 90, 120, 130, 120, 115" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:68px; width:900px; height:428px; ">
  116. <col ref="lrgcd"/>
  117. <col ref="lrgnm"/>
  118. <col ref="goodflag" visibility="hidden"/>
  119. <col ref="mainmngtdeptcd"/>
  120. <col ref="mainmngtdeptnm"/>
  121. <col ref="winacnt"/>
  122. <col ref="amtacnt"/>
  123. <script type="javascript" ev:event="ondblclick">
  124. <![CDATA[
  125. if( grd_lrgllist.isCell( event.target ) && grd_lrgllist.row >= grd_lrgllist.fixedRows ) {
  126. btn_confirm.dispatch("DOMActivate");
  127. }
  128. ]]>
  129. </script>
  130. <script type="javascript" ev:event="onaftersort">
  131. <![CDATA[
  132. grd_lrgllist.gridToInstance();
  133. ]]>
  134. </script>
  135. </datagrid>
  136. </group>
  137. <group id="group1" scroll="auto" style="left:8px; top:500px; width:900px; height:27px; ">
  138. <button id="btn_confirm" class="btn4_letter2" style="left:787px; top:5px; width:56px; height:22px; ">
  139. <caption>확인</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. misfPopUpListReturn(grd_lrgllist);
  143. ]]>
  144. </script>
  145. </button>
  146. <button id="btn_cancel" class="btn4_letter2" style="left:844px; top:5px; width:56px; height:22px; ">
  147. <caption>취소</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. window.close();
  151. ]]>
  152. </script>
  153. </button>
  154. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:900; y2:0px; "/>
  155. </group>
  156. </xhtml:body>
  157. </xhtml:html>