SPRSD00170_비용계정HELP.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <acntlist/>
  11. </main>
  12. <target/>
  13. <init>
  14. <refcond>
  15. <label>계정코드</label>
  16. <value>acntcd</value>
  17. <label>계정명</label>
  18. <value>acntnm</value>
  19. </refcond>
  20. </init>
  21. <send>
  22. <refcond/>
  23. <acntnm/>
  24. <acntcd/>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. rdo_refcond.select(1);
  31. model.setFocus("ipt_refcond");
  32. ]]>
  33. </script>
  34. <submission id="TRRSD00171" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. </xhtml:head>
  40. <xhtml:body pagewidth="631" pageheight="555" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  41. <group id="group3" scroll="auto" style="left:8px; top:0px; width:600px; height:525px; ">
  42. <group id="group2" style="left:0px; top:5px; width:600px; height:35px; ">
  43. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:600; height:35; "/>
  44. <input id="ipt_refcond" ref="/root/send/acntnm" class="input_s_essential" style="left:296px; top:8px; width:135px; height:19px; ">
  45. <script type="javascript" ev:event="onkeyup">
  46. <![CDATA[
  47. inputEnterKey("btn_search", "DOMActivate");
  48. ]]>
  49. </script>
  50. </input>
  51. <button id="btn_search" class="btn1_letter2" style="left:529px; top:7px; width:56px; height:22px; ">
  52. <caption>조회</caption>
  53. <script type="javascript" ev:event="DOMActivate">
  54. <![CDATA[
  55. if(rdo_refcond.value == "acntnm") {
  56. model.setValue("/root/send/acntnm",ipt_refcond.label);
  57. }
  58. else {
  59. model.setValue("/root/send/acntcd",ipt_refcond.label);
  60. }
  61. submit("TRRSD00171");
  62. ]]>
  63. </script>
  64. </button>
  65. <line id="line13" class="line_4" style="x1:514px; y1:7px; x2:514px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  66. <caption id="caption2" class="search_name" style="left:210px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  67. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15px; top:8px; width:145px; height:20px; border-style:solid; ">
  68. <choices>
  69. <itemset nodeset="/root/init/refcond">
  70. <label ref="label"/>
  71. <value ref="value"/>
  72. </itemset>
  73. </choices>
  74. <script type="javascript" ev:event="xforms-select">
  75. <![CDATA[
  76. if(rdo_refcond.value == "acntnm") {
  77. ipt_refcond.attribute("imemode") = "hangul";
  78. }
  79. else if (rdo_refcond.value == "acntcd") {
  80. ipt_refcond.attribute("imemode") = "disabled";
  81. }
  82. else {
  83. ipt_refcond.attribute("imemode") = "disabled";
  84. }
  85. model.setFocus("ipt_refcond");
  86. ]]>
  87. </script>
  88. </select1>
  89. </group>
  90. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:13px; ">비용계정리스트</caption>
  91. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:600; y2:63px; "/>
  92. <datagrid id="grd_acntlist" nodeset="/root/main/acntlist" class="grd_acntlist" caption="기관코드^계정코드^계정명^인쇄용계정명" colwidth="120,130,226,123" 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:600px; height:452px; ">
  93. <col ref="instcd" visibility="hidden"/>
  94. <col ref="acntcd"/>
  95. <col ref="acntnm"/>
  96. <col ref="prntuseacntnm"/>
  97. <script type="javascript" ev:event="ondblclick">
  98. <![CDATA[
  99. if( grd_acntlist.isCell( event.target ) && grd_acntlist.row >= grd_acntlist.fixedRows ) {
  100. btn_confirm.dispatch("DOMActivate");
  101. }
  102. ]]>
  103. </script>
  104. <script type="javascript" ev:event="onaftersort">
  105. <![CDATA[
  106. grd_acntlist.gridToInstance();
  107. ]]>
  108. </script>
  109. </datagrid>
  110. </group>
  111. <group id="group1" scroll="auto" style="left:8px; top:524px; width:600px; height:27px; ">
  112. <button id="btn_confirm" class="btn4_letter2" style="left:487px; top:5px; width:56px; height:22px; ">
  113. <caption>확인</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. misfPopUpListReturn(grd_acntlist);
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_cancel" class="btn4_letter2" style="left:544px; 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:600; y2:0px; "/>
  129. </group>
  130. </xhtml:body>
  131. </xhtml:html>