SMRPV99500_평가분류세부코드HELP.xrw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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>평가분류세부코드HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <valuclsdetlcd>
  11. <valuclsdetlcdlist/>
  12. </valuclsdetlcd>
  13. </main>
  14. <target/>
  15. <init>
  16. <refcond>
  17. <label>코드</label>
  18. <value>cdid</value>
  19. <label>코드명</label>
  20. <value>cdnm</value>
  21. </refcond>
  22. </init>
  23. <send>
  24. <valuclsdetlcdref>
  25. <cdid/>
  26. <cdnm/>
  27. <refcond/>
  28. <valuclscd/>
  29. <valumdlcd/>
  30. </valuclsdetlcdref>
  31. </send>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. misfGridInit(grd_valuclsdetlcdlist);
  37. misfMsterDetailSet(grd_valuclsdetlcdlist,null,"TRRPV99501","Y");
  38. model.setValue("/root/send/valuclsdetlcdref/valuclscd",model.getValue("/root/target/defaultvalue/valuclscd"));
  39. model.setValue("/root/send/valuclsdetlcdref/valumdlcd",model.getValue("/root/target/defaultvalue/valumdlcd"));
  40. rdo_refcond.select(1);
  41. model.setFocus("ipt_refcond");
  42. ]]>
  43. </script>
  44. <submission id="TRRPV99501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valuclsdetlcdref" resultref="/root/main/valuclsdetlcd"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="600" 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:10px; width:580px; height:35px; ">
  54. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35px; "/>
  55. <input id="ipt_refcond" ref="/root/send/valuclsdetlcdref/cdnm" class="input_s_essential" style="left:231px; top:8px; width:99px; height:19px; ">
  56. <script type="javascript" ev:event="onkeyup">
  57. <![CDATA[
  58. inputEnterKey("btn_search", "DOMActivate");
  59. ]]>
  60. </script>
  61. </input>
  62. <button id="btn_search" class="btn1_letter2" style="left:509px; top:7px; width:56px; height:22px; ">
  63. <caption>조회</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. if(rdo_refcond.value == "cdnm") {
  67. model.setValue("/root/send/valuclsdetlcdref/cdnm",ipt_refcond.label);
  68. }
  69. else {
  70. model.setValue("/root/send/valuclsdetlcdref/cdid",ipt_refcond.label);
  71. }
  72. submit("TRRPV99501");
  73. ]]>
  74. </script>
  75. </button>
  76. <line id="line13" class="line_4" style="x1:494px; y1:6px; x2:494px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  77. <caption id="caption2" class="search_name" style="left:144px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  78. <select1 id="rdo_refcond" ref="/root/send/valuclsdetlcdref/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15px; top:8px; width:125px; height:20px; border-style:solid; ">
  79. <choices>
  80. <itemset nodeset="/root/init/refcond">
  81. <label ref="label"/>
  82. <value ref="value"/>
  83. </itemset>
  84. </choices>
  85. <script type="javascript" ev:event="xforms-select">
  86. <![CDATA[
  87. if(rdo_refcond.value == "cdnm") {
  88. ipt_refcond.attribute("imemode") = "hangul";
  89. }
  90. else if (rdo_refcond.value == "cdid") {
  91. ipt_refcond.attribute("imemode") = "disabled";
  92. }
  93. else {
  94. ipt_refcond.attribute("imemode") = "disabled";
  95. }
  96. model.setFocus("ipt_refcond");
  97. ]]>
  98. </script>
  99. </select1>
  100. </group>
  101. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:118px; height:13px; ">평가분류 세부코드</caption>
  102. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:580px; y2:69px; "/>
  103. <datagrid id="grd_valuclsdetlcdlist" nodeset="/root/main/valuclsdetlcd/valuclsdetlcdlist" caption="코드^코드명" colsep="^" colwidth="128, 409" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:74px; width:580px; height:436px; ">
  104. <col ref="cdid"/>
  105. <col ref="cdnm"/>
  106. <script type="javascript" ev:event="ondblclick">
  107. <![CDATA[
  108. if( grd_valuclsdetlcdlist.isCell(event.target) && grd_valuclsdetlcdlist.row >= grd_valuclsdetlcdlist.fixedRows )
  109. {
  110. btn_confirm.dispatch("DOMActivate");
  111. }
  112. ]]>
  113. </script>
  114. </datagrid>
  115. </group>
  116. <group id="group1" scroll="auto" style="left:8px; top:519px; width:580px; height:27px; ">
  117. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  118. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:3px; width:56px; height:22px; ">
  119. <caption>취소</caption>
  120. <close ev:event="DOMActivate"/>
  121. </button>
  122. <button id="btn_confirm" class="btn4_letter2" style="left:467px; top:3px; width:56px; height:22px; ">
  123. <caption>확인</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. rpvfPopUpListReturn(grd_valuclsdetlcdlist);
  127. ]]>
  128. </script>
  129. </button>
  130. </group>
  131. </xhtml:body>
  132. </xhtml:html>