SPAHA00700_자동판정코드선택.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAHA00500.xrw
  4. * 설 명 : 판정코드선택
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2007.05.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>판정선택</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <cdlst>
  20. <item>
  21. <etccd/>
  22. <etcdetlcd/>
  23. <etcdetlnm/>
  24. </item>
  25. </cdlst>
  26. </main>
  27. <send>
  28. <item>
  29. <cdflag/>
  30. <instcd/>
  31. <dgflag/>
  32. </item>
  33. </send>
  34. <init/>
  35. <hidden>
  36. </hidden>
  37. <target>
  38. <srchflag/>
  39. <srchcond/>
  40. <srchcdnm/>
  41. <srchinstcd/>
  42. <openerid/>
  43. <desxpathcd/>
  44. <desxpathnm/>
  45. </target>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. model.makeValue("/root/send/item/cdflag", opener.model.getValue("/root/tmp/cdflag"));
  54. model.makeValue("/root/send/item/instcd", getUserInfo("dutplceinstcd"));
  55. model.makeValue("/root/send/item/dgflag", opener.model.getValue("/root/tmp/dgflag"));
  56. submit("TRAHB02800");
  57. ]]>
  58. </script>
  59. <submission id="TRAHB02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cdlst"/>
  60. </model>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="534" pageheight="543">
  63. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:515px; ">
  64. <datagrid id="grd_cdlst" nodeset="/root/main/cdlst/item" caption="코드^caption1^코드명" colsep="^" colwidth="83, 100, 388" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:49px; width:517px; height:463px; ">
  65. <col ref="etccd"/>
  66. <col ref="etcdetlcd" visibility="hidden"/>
  67. <col ref="etcdetlnm"/>
  68. <script type="javascript" ev:event="ondblclick">
  69. <![CDATA[
  70. if(opener.grd_rsrvlst.col==opener.grd_rsrvlst.colRef("judgflagnm")) {
  71. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgflag", grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etccd")));
  72. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgdetlflag",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlcd")));
  73. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgflagnm",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlnm")));
  74. }else{
  75. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgcd", grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etccd")));
  76. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgdetlcd",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlcd")));
  77. opener.model.makeValue("/root/main/codeinfo/item["+opener.grd_rsrvlst.row+"]/judgnm",grd_cdlst.valueMatrix(grd_cdlst.row,grd_cdlst.colRef("etcdetlnm")));
  78. }
  79. opener.model.refresh();
  80. window.close();
  81. ]]>
  82. </script>
  83. </datagrid>
  84. <group id="group2" style="left:0px; top:0px; width:517px; height:40px; vertical-align:top; ">
  85. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  86. <caption id="caption2" class="search_name" visibility="hidden" style="left:16px; top:12px; width:86px; height:17px; ">검색조건 :</caption>
  87. <button id="btn_search" class="btn1_letter2" style="left:445px; top:12px; width:56px; height:22px; ">
  88. <caption>조회</caption>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. model.makeValue("/root/send/item/cdflag", opener.model.getValue("/root/tmp/cdflag"));
  92. model.makeValue("/root/send/item/instcd", getUserInfo("dutplceinstcd"));
  93. model.makeValue("/root/send/item/dgflag", opener.model.getValue("/root/tmp/dgflag"));
  94. submit("TRAHB02800");
  95. ]]>
  96. </script>
  97. </button>
  98. <line id="line13" style="x1:429px; y1:11px; x2:429px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
  99. <select1 id="cmb_srchcond2" ref="/root/send/srchcond" class="combo_search" visibility="hidden" appearance="minimal" style="left:105px; top:11px; width:80px; height:19px; ">
  100. <choices>
  101. <item>
  102. <label>코드</label>
  103. <value>cd</value>
  104. </item>
  105. <item>
  106. <label>명칭</label>
  107. <value>nm</value>
  108. </item>
  109. </choices>
  110. <script type="javascript" ev:event="xforms-select">
  111. <![CDATA[
  112. model.setFocus("ipt_cdnm");
  113. ]]>
  114. </script>
  115. </select1>
  116. <input id="ipt_cdnm" ref="/root/send/srchcdnm" class="input_search" visibility="hidden" style="left:188px; top:11px; width:227px; height:19px; ">
  117. <script type="javascript" ev:event="onkeyup">
  118. <![CDATA[
  119. inputEnterKey("btn_search", "DOMActivate");
  120. ]]>
  121. </script>
  122. </input>
  123. </group>
  124. <line id="line1" class="line_1" style="x1:0px; y1:46px; x2:517px; y2:46px; "/>
  125. </group>
  126. <group id="group4" scroll="auto" style="left:0px; top:515px; width:517px; height:28px; ">
  127. <button id="button9" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
  128. <caption>취소</caption>
  129. <close ev:event="onclick"/>
  130. </button>
  131. <button id="button4" class="btn4_letter2" style="left:402px; top:3px; width:56px; height:22px; ">
  132. <caption>확인</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. fSetData();
  136. window.close();
  137. ]]>
  138. </script>
  139. </button>
  140. </group>
  141. </xhtml:body>
  142. </xhtml:html>