SPRAC01300_거래처DTIEmail관리.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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>거래처DTI E-mail 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <racdcustlist/>
  11. </main>
  12. <send>
  13. <condition>
  14. <instcd/>
  15. <entrregno/>
  16. <custnm/>
  17. </condition>
  18. </send>
  19. <init>
  20. <code>
  21. <codelist/>
  22. </code>
  23. </init>
  24. <temp/>
  25. <target/>
  26. </root>
  27. </instance>
  28. <submission id="TRRAC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/racmcust"/>
  29. </model>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  33. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  34. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  35. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. fInitialize();
  39. ]]>
  40. </script>
  41. <script type="javascript">
  42. <![CDATA[
  43. //========================================================================================
  44. //초기화
  45. //========================================================================================
  46. function fInitialize()
  47. {
  48. model.removeNodeset(grd_racdcustlist.nodeset);
  49. model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
  50. model.setValue(ipt_entrregno.attribute("ref"), model.getValue("/root/target/condition/entrregno"));
  51. model.setValue(ipt_custnm.attribute("ref"), model.getValue("/root/target/condition/custnm"));
  52. misfMsterDetailSet(grd_racdcustlist, null, "TRRAC00602", "Y");
  53. model.refresh();
  54. btn_search.dispatch("DOMActivate");
  55. }
  56. ]]>
  57. </script>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="730" pageheight="480" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  60. <group id="group1" style="left:0px; top:0px; width:710; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">거래처 DTI Email HELP</caption>
  62. </group>
  63. <group id="group2" scroll="auto" style="left:0px; top:12px; width:710px; height:432px; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:7px; width:710px; height:33px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <caption id="caption1" class="tit_2" style="left:10px; top:44px; width:190px; height:13px; ">거래처 DTI Email LIST</caption>
  66. <line id="line2" class="line_1" style="x1:0px; y1:58px; x2:710px; y2:58px; "/>
  67. <line id="line21" class="line_4" style="x1:629px; y1:34px; x2:629px; y2:11px; "/>
  68. <button id="btn_search" class="btn1_letter2" style="left:644px; top:14px; width:56px; height:22px; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. model.removeNodeset(grd_racdcustlist.nodeset);
  73. misfMsterDetailRetrieve();
  74. ]]>
  75. </script>
  76. </button>
  77. <input id="ipt_custnm" ref="/root/send/condition/custnm" disabled="true" navindex="6" imemode="hangul" style="left:250px; top:14px; width:171px; height:19px; ">
  78. <script type="javascript" ev:event="onkeypress">
  79. <![CDATA[
  80. if(event.keyCode == 13)
  81. {
  82. racfCustValidCheck("entrregno,custnm", "name");
  83. }
  84. ]]>
  85. </script>
  86. <script type="javascript" ev:event="xforms-value-changed">
  87. <![CDATA[
  88. racfCustValidCheck("entrregno,custnm", "name");
  89. ]]>
  90. </script>
  91. </input>
  92. <button id="btn_entregnohelp" class="icon_search" disabled="true" style="left:230px; top:16px; width:16px; height:16px; ">
  93. <caption/>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. misfOpenPopUpList("14", ipt_entrregno, "", "entrregno,custnm");
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </button>
  101. <input id="ipt_entrregno" ref="/root/send/condition/entrregno" disabled="true" navindex="5" format="999-99-99999" style="left:116px; top:14px; width:109px; height:19px; text-align:center; ">
  102. <script type="javascript" ev:event="onkeypress">
  103. <![CDATA[
  104. if(event.keyCode == 13)
  105. {
  106. racfCustValidCheck("entrregno,custnm", "code");
  107. }
  108. ]]>
  109. </script>
  110. <script type="javascript" ev:event="xforms-value-changed">
  111. <![CDATA[
  112. racfCustValidCheck("entrregno,custnm", "code");
  113. ]]>
  114. </script>
  115. </input>
  116. <caption id="caption7" class="search_name" style="left:15px; top:15px; width:100px; height:17px; ">거 래 처 :</caption>
  117. <datagrid id="grd_racdcustlist" nodeset="/root/main/racdcustlist" caption="사업자등록번호^종료일자^물품 구분^담당종료^담당자명^담당자 전화번호^담당자 휴대폰^담당자 이메일주소^담당직위^담당업무^담당순번^비고" colsep="^" colwidth="0, 0, 118, 55, 73, 97, 110, 126, 63, 87, 0, 122" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="56" style="left:0px; top:63px; width:708px; height:367px; ">
  118. <col ref="entrregno"/>
  119. <col ref="todd"/>
  120. <col ref="goodflag" type="combo" _key="true" style="left:20px; top:23px; width:118px; height:23px; ">
  121. <choices>
  122. <itemset nodeset="/root/init/R0025list/R0025">
  123. <label ref="cdnm"/>
  124. <value ref="cdid"/>
  125. </itemset>
  126. </choices>
  127. </col>
  128. <col checkvalue="Y,N" disabled="true" ref="chrgtoyn" type="checkbox" visibility="visible"/>
  129. <col ref="chrgnm"/>
  130. <col ref="chrgtel"/>
  131. <col ref="chrgmpphon"/>
  132. <col ref="chrgemailaddr"/>
  133. <col ref="chrgplce"/>
  134. <col ref="chrgbiz"/>
  135. <col ref="chrgseq"/>
  136. <col ref="cmt"/>
  137. <script type="javascript" ev:event="ondblclick">
  138. <![CDATA[
  139. btn_confirm.dispatch("DOMActivate");
  140. ]]>
  141. </script>
  142. </datagrid>
  143. </group>
  144. <group id="grp_btn" scroll="auto" style="left:0px; top:449px; width:710px; height:27px; ">
  145. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
  146. <button id="btn_close" class="btn4_letter2" style="left:644px; top:2px; width:56px; height:22px; ">
  147. <caption>닫기</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. window.close();
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="btn_confirm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
  155. <caption>확인</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. if(grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgtoyn")) == "Y") { messageBox("사용하지 않는 담당자 입니다.", "I000"); return false;};
  159. var receiveref = model.getValue("/root/target/receiveref");
  160. opener.model.setValue(receiveref + "/chrgnm", grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgnm")));
  161. opener.model.setValue(receiveref + "/chrgemailaddr", grd_racdcustlist.valueMatrix(grd_racdcustlist.row, grd_racdcustlist.colRef("chrgemailaddr")));
  162. window.close();
  163. ]]>
  164. </script>
  165. </button>
  166. </group>
  167. </xhtml:body>
  168. </xhtml:html>