SPRSD00220_거래처코드HELP.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. <reqcustomlist/>
  11. </main>
  12. <target>
  13. <defaultvalue>
  14. <instcd/>
  15. </defaultvalue>
  16. </target>
  17. <init>
  18. <refcond>
  19. <label>거래처명</label>
  20. <value>custnm</value>
  21. <label>거래처코드</label>
  22. <value>custcode</value>
  23. </refcond>
  24. <sortcond>
  25. <label>거래처명</label>
  26. <value>custnm</value>
  27. <label>거래처코드</label>
  28. <value>custcode</value>
  29. </sortcond>
  30. <statcond>
  31. <label>전체</label>
  32. <value/>
  33. <label>거래</label>
  34. <value>1</value>
  35. <label>휴면</label>
  36. <value>2</value>
  37. </statcond>
  38. </init>
  39. <send>
  40. <retrnm/>
  41. <instcd/>
  42. <sortcond/>
  43. <refcond/>
  44. <statcond/>
  45. <basedate/>
  46. </send>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. misfComboComCdList('Z0007', cmb_instcd); //기관코드
  52. if(model.getValue(PURTARGET_NODE + "/instcd") != ""){
  53. cmb_instcd.disabled = true;
  54. model.setValue("/root/send/instcd", model.getValue(PURTARGET_NODE + "/instcd"));
  55. } else {
  56. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  57. }
  58. if(model.getValue(PURTARGET_NODE + "/basedate") != ""){
  59. model.setValue("/root/send/basedate", model.getValue(PURTARGET_NODE + "/basedate"));
  60. cap_basedate.visible = true;
  61. ipt_basedate.visible = true;
  62. }
  63. if(model.getValue(PURTARGET_NODE + "/statcond") != ""){
  64. model.setValue(rdo_statcond.attribute("ref"), model.getValue(PURTARGET_NODE + "/statcond"));
  65. rdo_statcond.disabled = true;
  66. }else{
  67. model.setValue(rdo_statcond.attribute("ref"), "1"); // 거래상태 1:정상 2:중지
  68. rdo_statcond.disabled = false;
  69. }
  70. rbo_sort.select(0);
  71. if(model.getValue(PURTARGET_NODE + "/retrnm") != ""){
  72. model.setValue(ipt_refcond.attribute("ref"), model.getValue(PURTARGET_NODE + "/retrnm"));
  73. btn_search.dispatch("DOMActivate");
  74. }
  75. rdo_refcond.select(0);
  76. model.setFocus("ipt_refcond");
  77. ]]>
  78. </script>
  79. <submission id="TRRSD00221" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  80. </model>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. </xhtml:head>
  86. <xhtml:body pagewidth="720" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  87. <group id="group3" scroll="auto" style="left:8px; top:0px; width:680px; height:525px; ">
  88. <group id="group2" style="left:0px; top:5px; width:680px; height:63px; ">
  89. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:680px; height:63px; "/>
  90. <input id="ipt_refcond" ref="/root/send/retrnm" class="input_s_essential" imemode="hangul" style="left:339px; top:38px; width:125px; height:19px; ">
  91. <script type="javascript" ev:event="onkeyup">
  92. <![CDATA[
  93. inputEnterKey("btn_search", "DOMActivate");
  94. ]]>
  95. </script>
  96. </input>
  97. <button id="btn_search" class="btn1_letter2" style="left:610px; top:7px; width:56px; height:22px; ">
  98. <caption>조회</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. submit("TRRSD00221");
  102. ]]>
  103. </script>
  104. </button>
  105. <line id="line13" class="line_4" style="x1:596px; y1:5px; x2:596px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  106. <caption id="caption2" class="search_name" style="left:250px; top:39px; width:86px; height:17px; ">조회조건 :</caption>
  107. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:92px; top:8px; width:188px; height:19px; ">
  108. <choices>
  109. <itemset nodeset="/root/init/instcd">
  110. <label ref="cdnm"/>
  111. <value ref="cdid"/>
  112. </itemset>
  113. </choices>
  114. <script type="javascript" ev:event="xforms-value-changed">
  115. <![CDATA[
  116. btn_search.dispatch("DOMActivate");
  117. ]]>
  118. </script>
  119. </select1>
  120. <caption id="caption4" class="search_name" style="left:7px; top:9px; width:86px; height:17px; ">기관코드 :</caption>
  121. <caption id="caption3" class="search_name" style="left:7px; top:39px; width:86px; height:17px; ">조회조건 :</caption>
  122. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:92px; top:38px; width:145px; height:20px; border-style:solid; ">
  123. <choices>
  124. <itemset nodeset="/root/init/refcond">
  125. <label ref="label"/>
  126. <value ref="value"/>
  127. </itemset>
  128. </choices>
  129. <script type="javascript" ev:event="xforms-select">
  130. <![CDATA[
  131. model.setFocus("ipt_refcond");
  132. ]]>
  133. </script>
  134. </select1>
  135. <caption id="caption5" class="search_name" style="left:296px; top:9px; width:86px; height:17px; ">정렬순서 :</caption>
  136. <select1 id="rbo_sort" ref="/root/send/sortcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:382px; top:9px; width:147px; height:20px; border-style:solid; ">
  137. <choices>
  138. <itemset nodeset="/root/init/sortcond">
  139. <label ref="label"/>
  140. <value ref="value"/>
  141. </itemset>
  142. </choices>
  143. </select1>
  144. <caption id="caption6" class="search_name" style="left:475px; top:39px; width:62px; height:17px; ">구분 :</caption>
  145. <select1 id="rdo_statcond" ref="/root/send/statcond" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:535px; top:37px; width:130px; height:20px; border-style:solid; ">
  146. <choices>
  147. <itemset nodeset="/root/init/statcond">
  148. <label ref="label"/>
  149. <value ref="value"/>
  150. </itemset>
  151. </choices>
  152. </select1>
  153. </group>
  154. <caption id="caption1" class="tit_2" style="left:5px; top:77px; width:145px; height:13px; ">거래처리스트</caption>
  155. <line id="line1" class="line_1" style="x1:0px; y1:92px; x2:680px; y2:92px; "/>
  156. <datagrid id="grd_agtplcelist" nodeset="/root/main/reqcustomlist" class="grd_agtplcelist" caption="거래처코드^거래처^사업자번호^대표자명^전화번호^주소" colsep="^" colwidth="82, 128, 110, 80, 100, 255" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:97px; width:680px; height:423px; ">
  157. <col ref="custcode"/>
  158. <col ref="custnm"/>
  159. <col ref="entrregno"/>
  160. <col ref="prsdnm"/>
  161. <col ref="cntctel"/>
  162. <col ref="addr"/>
  163. <script type="javascript" ev:event="ondblclick">
  164. <![CDATA[
  165. if( grd_agtplcelist.isCell(event.target) && grd_agtplcelist.row >= grd_agtplcelist.fixedRows )
  166. {
  167. btn_confirm.dispatch("DOMActivate");
  168. }
  169. ]]>
  170. </script>
  171. </datagrid>
  172. <caption id="ipt_basedate" ref="/root/send/basedate" visibility="hidden" format="yyyy-mm-dd" disabled="true" appearance="caption" style="left:610px; top:70px; width:70px; height:19px; "/>
  173. <caption id="cap_basedate" class="search_name" visibility="hidden" style="left:520px; top:71px; width:90px; height:17px; ">기준일자 :</caption>
  174. </group>
  175. <group id="group1" scroll="auto" style="left:8px; top:524px; width:680px; height:27px; ">
  176. <button id="btn_confirm" class="btn4_letter2" style="left:567px; top:5px; width:56px; height:22px; ">
  177. <caption>확인</caption>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. misfPopUpListReturn(grd_agtplcelist);
  181. ]]>
  182. </script>
  183. </button>
  184. <button id="btn_cancel" class="btn4_letter2" style="left:624px; top:5px; width:56px; height:22px; ">
  185. <caption>취소</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. window.close();
  189. ]]>
  190. </script>
  191. </button>
  192. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:680; y2:0px; "/>
  193. </group>
  194. </xhtml:body>
  195. </xhtml:html>