SPRSD00180_대리점코드HELP.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <agtplcelist/>
  11. </main>
  12. <target>
  13. <defaultvalue>
  14. <instcd/>
  15. <goodflag/>
  16. <prodcmpycd/>
  17. </defaultvalue>
  18. </target>
  19. <init>
  20. <refcond>
  21. <label>소분류코드</label>
  22. <value>smlcd</value>
  23. <label>소분류명</label>
  24. <value>smlnm</value>
  25. </refcond>
  26. </init>
  27. <send>
  28. <refcond/>
  29. <instcd/>
  30. <goodflag/>
  31. <prodcmpycd/>
  32. <prodcmpynm/>
  33. <agtplcenm/>
  34. </send>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. misfComboComCdList('Z0007', cmb_instcd); //기관코드
  40. misfComboComCdList('R0025', cmd_goodflag); //물품구분
  41. //model.setValue("/root/send/instcd", model.getValue(PURTARGET_NODE + "/instcd"));
  42. if(cmb_instcd.length> 0) cmb_instcd.selectedindex= 0;
  43. model.setValue("/root/send/goodflag", model.getValue(PURTARGET_NODE + "/goodflag"));
  44. model.setValue("/root/send/prodcmpycd", model.getValue(PURTARGET_NODE + "/prodcmpycd"));
  45. model.setValue("/root/send/prodcmpynm", model.getValue(PURTARGET_NODE + "/prodcmpynm"));
  46. btn_search.dispatch("DOMActivate");
  47. model.setFocus("ipt_refcond");
  48. ]]>
  49. </script>
  50. <submission id="TRRSD00181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  54. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="731" pageheight="575" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <group id="group3" scroll="auto" style="left:8px; top:0px; width:700px; height:545px; ">
  59. <group id="group2" style="left:0px; top:5px; width:700px; height:61px; ">
  60. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700px; height:61px; "/>
  61. <input id="ipt_refcond" ref="/root/send/agtplcenm" class="input_s_essential" style="left:431px; top:34px; width:147px; height:19px; ">
  62. <script type="javascript" ev:event="onkeyup">
  63. <![CDATA[
  64. inputEnterKey("btn_search", "DOMActivate");
  65. ]]>
  66. </script>
  67. </input>
  68. <button id="btn_search" class="btn1_letter2" style="left:629px; top:20px; width:56px; height:22px; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. submit("TRRSD00181");
  73. ]]>
  74. </script>
  75. </button>
  76. <line id="line13" class="line_4" style="x1:614px; y1:9px; x2:614px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  77. <caption id="caption2" class="search_name" style="left:345px; top:35px; width:86px; height:17px; ">조회조건 :</caption>
  78. <input id="ipt_prodcmpycd_search" ref="/root/send/prodcmpycd" class="input_search" style="left:100; top:34; width:63px; height:19px; ">
  79. <script type="javascript" ev:event="xforms-value-changed">
  80. <![CDATA[
  81. if(ipt_prodcmpycd_search.value != ""){
  82. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  83. "prodcmpycd," + ipt_prodcmpycd_search.value + ","
  84. ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd_search,"SPRSD00160","","");
  85. }else{
  86. ipt_prodcmpynm_search.value = "";
  87. }
  88. model.refresh();
  89. ]]>
  90. </script>
  91. </input>
  92. <button id="btn_lrgcd_search" class="icon_search" style="left:167px; top:36px; width:16px; height:16px; ">
  93. <caption/>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. rszfOpenPopUpListByWndName(ipt_prodcmpycd_search,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
  97. btn_search.dispatch("DOMActivate");
  98. ]]>
  99. </script>
  100. </button>
  101. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:100px; top:8; width:209px; height:19px; ">
  102. <choices>
  103. <itemset nodeset="/root/init/instcd">
  104. <label ref="cdnm"/>
  105. <value ref="cdid"/>
  106. </itemset>
  107. </choices>
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. btn_search.dispatch("DOMActivate");
  111. ]]>
  112. </script>
  113. </select1>
  114. <caption id="caption4" class="search_name" style="left:15; top:9; width:86px; height:17px; ">기관코드 :</caption>
  115. <caption id="caption5" class="search_name" style="left:15; top:35; width:86px; height:17px; ">제조회사 :</caption>
  116. <input id="ipt_prodcmpynm_search" ref="/root/send/prodcmpynm" class="input_search" style="left:185px; top:34; width:124px; height:19px; ">
  117. <script type="javascript" ev:event="xforms-value-changed">
  118. <![CDATA[
  119. if(ipt_prodcmpynm_search.value !=""){
  120. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  121. "prodcmpynm,," + ipt_prodcmpynm_search.value
  122. ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd_search,"SPRSD00160","","");
  123. }else{
  124. ipt_prodcmpycd_search.value = "";
  125. }
  126. model.refresh();
  127. ]]>
  128. </script>
  129. </input>
  130. <caption id="caption8" class="search_name" style="left:345px; top:9px; width:86px; height:17px; ">물품구분 :</caption>
  131. <select1 id="cmd_goodflag" ref="/root/send/goodflag" class="combo_s_essential" navindex="1" appearance="minimal" style="left:431px; top:8px; width:147px; height:19px; ">
  132. <choices>
  133. <itemset nodeset="/root/init/instcd">
  134. <label ref="cdnm"/>
  135. <value ref="cdid"/>
  136. </itemset>
  137. </choices>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. btn_search.dispatch("DOMActivate");
  141. ]]>
  142. </script>
  143. </select1>
  144. </group>
  145. <caption id="caption1" class="tit_2" style="left:5px; top:75px; width:145px; height:13px; ">대리점리스트</caption>
  146. <line id="line1" class="line_1" style="x1:0px; y1:89px; x2:700; y2:89px; "/>
  147. <datagrid id="grd_agtplcelist" nodeset="/root/main/agtplcelist" class="grd_agtplcelist" caption="순번^대리점명^담당자^전화번호^주소^비고^기관코드^제조회사코드^goodflag" colsep="^" colwidth="40, 216,60,80,180, 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:94px; width:700px; height:446px; ">
  148. <col ref="agtplceseq"/>
  149. <col ref="agtplcenm"/>
  150. <col ref="agtplcechrg"/>
  151. <col ref="agtplcetel"/>
  152. <col ref="agtplceaddr"/>
  153. <col ref="cmt" visibility="hidden"/>
  154. <col ref="instcd" visibility="hidden"/>
  155. <col ref="prodcmpycd" visibility="hidden"/>
  156. <col ref="goodflag" visibility="hidden"/>
  157. <script type="javascript" ev:event="ondblclick">
  158. <![CDATA[
  159. if( grd_agtplcelist.isCell( event.target ) && grd_agtplcelist.row >= grd_agtplcelist.fixedRows ) {
  160. btn_confirm.dispatch("DOMActivate");
  161. }
  162. ]]>
  163. </script>
  164. <script type="javascript" ev:event="onaftersort">
  165. <![CDATA[
  166. grd_agtplcelist.gridToInstance();
  167. ]]>
  168. </script>
  169. </datagrid>
  170. </group>
  171. <group id="group1" scroll="auto" style="left:8px; top:544px; width:700; height:27px; ">
  172. <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
  173. <caption>확인</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. misfPopUpListReturn(grd_agtplcelist);
  177. ]]>
  178. </script>
  179. </button>
  180. <button id="btn_cancel" class="btn4_letter2" style="left:644px; top:5px; width:56px; height:22px; ">
  181. <caption>취소</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. window.close();
  185. ]]>
  186. </script>
  187. </button>
  188. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700; y2:0px; "/>
  189. </group>
  190. </xhtml:body>
  191. </xhtml:html>