SMRPV99100_평가공통코드HELP.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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>SMRPV99100_평가공통코드HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <valucode>
  11. <valucodelist/>
  12. </valucode>
  13. </main>
  14. <target/>
  15. <init>
  16. </init>
  17. <send>
  18. <valucode>
  19. <valuyy/>
  20. <valucdflag>JOBROLEMOVERESN</valucdflag>
  21. <valucdnm/>
  22. </valucode>
  23. </send>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. misfGridInit(grd_valucode);
  29. misfMsterDetailSet(grd_valucode,null, "TRRPV99101" ,"N");
  30. var curdate = getCurrentDate();
  31. model.setValue("root/send/valucode/valucdflag",model.getValue("/root/target/valucdflag"));
  32. model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
  33. try {
  34. model.setValue(ipt_valuyy.attribute("ref"),model.getValue("/root/target/defaultvalue/ipt_valuyy"));
  35. } catch (ex) {
  36. }
  37. model.setFocus("ipt_valucdflag");
  38. model.refresh();
  39. btn_search.dispatch("DOMActivate");
  40. ]]>
  41. </script>
  42. <submission id="TRRPV99101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valucode" resultref="/root/main/valucode"/>
  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. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. </xhtml:head>
  49. <xhtml:body pagewidth="620" pageheight="570" guideline="1,156;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  50. <group id="group3" scroll="auto" style="left:10px; top:0px; width:580px; height:522px; ">
  51. <group id="group2" style="left:0px; top:5px; width:580px; height:35; ">
  52. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35; "/>
  53. <input id="ipt_valucdflag" ref="/root/send/valucode/valucdnm" class="input_s_essential" style="left:100; top:8; width:99px; height:19px; ">
  54. <script type="javascript" ev:event="onkeyup">
  55. <![CDATA[
  56. inputEnterKey("btn_search", "DOMActivate");
  57. ]]>
  58. </script>
  59. </input>
  60. <button id="btn_search" class="btn1_letter2" style="left:509px; top:7px; width:56px; height:22px; ">
  61. <caption>조회</caption>
  62. <script type="javascript" ev:event="DOMActivate">
  63. <![CDATA[
  64. misfMsterDetailRetrieve();
  65. ]]>
  66. </script>
  67. </button>
  68. <caption id="caption2" class="search_name" style="left:15; top:9; width:86px; height:17px; ">조회조건:</caption>
  69. </group>
  70. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:175px; height:13px; ">평가코드 리스트</caption>
  71. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:580px; y2:63px; "/>
  72. <datagrid id="grd_valucode" nodeset="/root/main/valucode/valucodelist" caption="코드^코드군명^" colsep="^" colwidth="77, 443, 19" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:68px; width:580px; height:449px; ">
  73. <col ref="valucd"/>
  74. <col ref="valucdnm"/>
  75. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  76. <script type="javascript" ev:event="ondblclick">
  77. <![CDATA[
  78. if( grd_valucode.isCell(event.target) && grd_valucode.row >= grd_valucode.fixedRows )
  79. {
  80. model.setValue(grd_valucode.nodeset + "[" + (grd_valucode.row - grd_valucode.fixedRows + 1) + "]/check" , "Y");
  81. btn_confirm.dispatch("DOMActivate");
  82. }
  83. ]]>
  84. </script>
  85. </datagrid>
  86. <input id="ipt_valuyy" ref="/root/send/valucode/valuyy" visibility="hidden" style="left:170px; top:45px; width:60px; height:19px; "/>
  87. </group>
  88. <group id="group1" scroll="auto" style="left:10px; top:521px; width:580px; height:27px; ">
  89. <button id="btn_confirm" class="btn4_letter2" style="left:467px; top:2px; width:56px; height:22px; ">
  90. <caption>확인</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. if(grd_valucode.rows - grd_valucode.fixedRows == 0)
  94. {
  95. messageBox("적용할 내역이","I004");
  96. window.close();
  97. return;
  98. }
  99. var iParam = model.getValue(grd_valucode.nodeset);
  100. var nodelist = instance1.selectNodes(grd_valucode.nodeset+ "[check='Y']");
  101. var rCVS = getNodeListCSV(nodelist);
  102. if ( checkOpener() ) {
  103. opener.javascript.setParameter("SMRPV99100_", rCVS);
  104. } else {
  105. var rtn = messageBox("상위화면을 찾을 수", "E001");
  106. }
  107. window.close();
  108. ]]>
  109. </script>
  110. </button>
  111. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:2px; width:56px; height:22px; ">
  112. <caption>취소</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. window.close();
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  120. </group>
  121. </xhtml:body>
  122. </xhtml:html>