SPAEB00301_제조회사HELP.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <prodcmpylist/>
  11. </main>
  12. <target/>
  13. <init>
  14. <refcond>
  15. <label>제조회사</label>
  16. <value>prodcmpycd</value>
  17. <label>제조회사명</label>
  18. <value>prodcmpynm</value>
  19. </refcond>
  20. </init>
  21. <send>
  22. <refcond/>
  23. <prodcmpynm/>
  24. <prodcmpycd/>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. rdo_refcond.select(1);
  31. btn_search.dispatch("DOMActivate");
  32. model.setFocus("ipt_refcond");
  33. ]]>
  34. </script>
  35. <submission id="TRAEB00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. </xhtml:head>
  41. <xhtml:body pagewidth="731" pageheight="555" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  42. <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:550px; ">
  43. <group id="group2" style="left:0px; top:5px; width:700px; height:35px; ">
  44. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700; height:35; "/>
  45. <input id="ipt_refcond" ref="/root/send/prodcmpynm" class="input_s_essential" style="left:296px; top:8; width:135px; height:19px; ">
  46. <script type="javascript" ev:event="onkeyup">
  47. <![CDATA[
  48. inputEnterKey("btn_search", "DOMActivate");
  49. ]]>
  50. </script>
  51. </input>
  52. <button id="btn_search" class="btn1_letter2" style="left:629px; top:4px; width:56px; height:22px; ">
  53. <caption>조회</caption>
  54. <script type="javascript" ev:event="DOMActivate">
  55. <![CDATA[
  56. if(rdo_refcond.value == "prodcmpynm") {
  57. model.setValue("/root/send/prodcmpynm",ipt_refcond.label);
  58. }
  59. else {
  60. model.setValue("/root/send/prodcmpycd",ipt_refcond.label);
  61. }
  62. submit("TRAEB00303");
  63. ]]>
  64. </script>
  65. </button>
  66. <line id="line13" class="line_4" style="x1:614px; y1:0px; x2:614px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  67. <caption id="caption2" class="search_name" style="left:211px; top:9; width:86px; height:17px; ">조회조건 :</caption>
  68. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:15px; top:9px; width:145px; height:20px; border-style:solid; ">
  69. <choices>
  70. <itemset nodeset="/root/init/refcond">
  71. <label ref="label"/>
  72. <value ref="value"/>
  73. </itemset>
  74. </choices>
  75. <script type="javascript" ev:event="xforms-select">
  76. <![CDATA[
  77. if(rdo_refcond.value == "prodcmpynm") {
  78. ipt_refcond.attribute("imemode") = "hangul";
  79. }
  80. else if (rdo_refcond.value == "prodcmpycd") {
  81. ipt_refcond.attribute("imemode") = "disabled";
  82. }
  83. else {
  84. ipt_refcond.attribute("imemode") = "disabled";
  85. }
  86. model.setFocus("ipt_refcond");
  87. ]]>
  88. </script>
  89. </select1>
  90. </group>
  91. <caption id="caption1" class="tit_2" style="left:0px; top:49px; width:145px; height:13px; ">제조회사리스트</caption>
  92. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:700; y2:63px; "/>
  93. <datagrid id="grd_prodcmpylist" nodeset="/root/main/prodcmpylist" class="grd_prodcmpylist" caption="제조회사코드^제조회사명^제조회사 전화번호^제조회사 주소" colsep="^" colwidth="120,120,120, 120, 216, 130,110" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:68px; width:700px; height:450px; ">
  94. <col ref="prodcmpycd"/>
  95. <col ref="prodcmpynm"/>
  96. <col ref="prodcmpytel"/>
  97. <col ref="prodcmpyaddr"/>
  98. <script type="javascript" ev:event="ondblclick">
  99. <![CDATA[
  100. if( grd_prodcmpylist.isCell( event.target ) && grd_prodcmpylist.row >= grd_prodcmpylist.fixedRows ) {
  101. btn_confirm.dispatch("DOMActivate");
  102. }
  103. ]]>
  104. </script>
  105. <script type="javascript" ev:event="onaftersort">
  106. <![CDATA[
  107. grd_prodcmpylist.gridToInstance();
  108. ]]>
  109. </script>
  110. </datagrid>
  111. <group id="group1" scroll="auto" style="left:0px; top:523px; width:700; height:27px; ">
  112. <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
  113. <caption>확인</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. misfPopUpListReturn(grd_prodcmpylist);
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_cancel" class="btn4_letter2" style="left:644px; 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:700; y2:0px; "/>
  129. </group>
  130. </group>
  131. </xhtml:body>
  132. </xhtml:html>