ClientContact.aspx
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:17k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ClientContact.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.CM.ClientContact" %>
  2. <%@ Register TagPrefix="uc1" TagName="ControlClientContactHistory" Src="../../Inc/ControlClientContactHistory.ascx" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>客户接触</title>
  7. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <script language="JavaScript" src="../../Css/meizzDate.js"></script>
  12. <LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  13. <script language="javascript">
  14. function changein()
  15. {
  16. var removeindexs = new Array();
  17. var j = 0;
  18. for(var i=0;i<document.getElementById("lbx_Staff").options.length;i++)
  19. {
  20. if(document.getElementById("lbx_Staff").options[i].selected)
  21. {
  22. document.getElementById("lbx_Cooperater").options.add(new Option(document.getElementById("lbx_Staff").options[i].text,document.getElementById("lbx_Staff").options[i].value));
  23. removeindexs[j++] = i;
  24. }
  25. }
  26. for(var i=0;i<j;i++)
  27. {
  28. //alert(removeindexs[i].valueOf());
  29. document.getElementById("lbx_Staff").options.remove(removeindexs[i].valueOf());
  30. for(var k=i;k<removeindexs.length;k++)
  31. {
  32. removeindexs[k] = removeindexs[k]-1;
  33. }
  34. }
  35. }
  36. function changeout()
  37. {
  38. var removeindexs = new Array();
  39. var j = 0;
  40. for(var i=0;i<document.getElementById("lbx_Cooperater").options.length;i++)
  41. {
  42. if(document.getElementById("lbx_Cooperater").options[i].selected)
  43. {
  44. document.getElementById("lbx_Staff").options.add(new Option(document.getElementById("lbx_Cooperater").options[i].text,document.getElementById("lbx_Cooperater").options[i].value));
  45. removeindexs[j++] = i;
  46. }
  47. }
  48. for(var i=0;i<j;i++)
  49. {
  50. //alert(removeindexs[i].valueOf());
  51. document.getElementById("lbx_Cooperater").options.remove(removeindexs[i].valueOf());
  52. for(var k=i;k<removeindexs.length;k++)
  53. {
  54. removeindexs[k] = removeindexs[k]-1;
  55. }
  56. }
  57. }
  58. function changelinkmanin()
  59. {
  60. var removeindexs = new Array();
  61. var j = 0;
  62. for(var i=0;i<document.getElementById("lbx_ClientLinkman").options.length;i++)
  63. {
  64. if(document.getElementById("lbx_ClientLinkman").options[i].selected)
  65. {
  66. document.getElementById("lbx_Linkman").options.add(new Option(document.getElementById("lbx_ClientLinkman").options[i].text,document.getElementById("lbx_ClientLinkman").options[i].value));
  67. removeindexs[j++] = i;
  68. }
  69. }
  70. for(var i=0;i<j;i++)
  71. {
  72. //alert(removeindexs[i].valueOf());
  73. document.getElementById("lbx_ClientLinkman").options.remove(removeindexs[i].valueOf());
  74. for(var k=i;k<removeindexs.length;k++)
  75. {
  76. removeindexs[k] = removeindexs[k]-1;
  77. }
  78. }
  79. }
  80. function changelinkmanout()
  81. {
  82. var removeindexs = new Array();
  83. var j = 0;
  84. for(var i=0;i<document.getElementById("lbx_Linkman").options.length;i++)
  85. {
  86. if(document.getElementById("lbx_Linkman").options[i].selected)
  87. {
  88. document.getElementById("lbx_ClientLinkman").options.add(new Option(document.getElementById("lbx_Linkman").options[i].text,document.getElementById("lbx_Linkman").options[i].value));
  89. removeindexs[j++] = i;
  90. }
  91. }
  92. for(var i=0;i<j;i++)
  93. {
  94. //alert(removeindexs[i].valueOf());
  95. document.getElementById("lbx_Linkman").options.remove(removeindexs[i].valueOf());
  96. for(var k=i;k<removeindexs.length;k++)
  97. {
  98. removeindexs[k] = removeindexs[k]-1;
  99. }
  100. }
  101. }
  102. </script>
  103. </HEAD>
  104. <body leftMargin="0" topMargin="0">
  105. <form id="ClientContact" method="post" encType="multipart/form-data" runat="server">
  106. <FONT face="宋体">
  107. <TABLE borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  108. <TR height="30">
  109. <TD class="GbText" width="24" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"><FONT color="#003366" size="3"><IMG height="16" src="../../DataImages/ClientManage.gif" width="16"></FONT></TD>
  110. <TD class="GbText" align="right" width="60" background="../../Images/treetopbg.jpg"
  111. bgColor="#c0d9e6"><font color="#006699">客户跟踪</font></TD>
  112. <TD class="GbText" align="right" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"><FONT face="宋体">&nbsp;
  113. </FONT>&nbsp;</TD>
  114. </TR>
  115. </TABLE>
  116. <TABLE class="gbtext" id="Table4" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  117. cellSpacing="0" cellPadding="0" width="100%" align="center" border="1">
  118. <TR>
  119. <TD width="76" bgColor="#e8f4ff" height="34" style="WIDTH: 76px; HEIGHT: 34px" vAlign="middle"
  120. align="center" colSpan="1" rowSpan="1">客户名称</TD>
  121. <TD colSpan="2" style="HEIGHT: 34px"><asp:literal id="ltl_ClientName" runat="server" Visible="False"></asp:literal><asp:panel id="pnl_clientselect" runat="server">
  122. <asp:DropDownList id="ddl_ClientName" runat="server" AutoPostBack="True"></asp:DropDownList>
  123. <asp:TextBox id="tbx_quicksearch" runat="server" CssClass="inputcss"></asp:TextBox>
  124. <asp:Button id="btn_search" runat="server" CssClass="redbuttoncss" Text="查询"></asp:Button>
  125. </asp:panel></TD>
  126. <td style="HEIGHT: 34px">客户简称&nbsp;&nbsp;<asp:literal id="ltl_ClientShortName" runat="server"></asp:literal></td>
  127. </TR>
  128. <TR>
  129. <TD style="WIDTH: 76px; HEIGHT: 24px" bgColor="#e8f4ff" height="24" align="center">最后填写接触时间</TD>
  130. <TD style="WIDTH: 274px; HEIGHT: 24px" bgColor="#e8f4ff">&nbsp;
  131. <asp:Literal id="ltl_UpdateTime" runat="server"></asp:Literal></TD>
  132. <TD style="HEIGHT: 24px" width="90" bgColor="#e8f4ff" align="center" colSpan="1" rowSpan="1">发现时间</TD>
  133. <TD style="HEIGHT: 24px" bgColor="#e8f4ff">&nbsp;
  134. <asp:Literal id="ltl_Birthday" runat="server"></asp:Literal></TD>
  135. </TR>
  136. <TR>
  137. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center">接洽次数(合计)</TD>
  138. <TD style="WIDTH: 274px" bgColor="#e8f4ff">&nbsp;<asp:literal id="ltl_ContactTimes" runat="server"></asp:literal></TD>
  139. <TD bgColor="#e8f4ff" align="center" colSpan="1" rowSpan="1">销售阶段(最新)</TD>
  140. <TD bgColor="#e8f4ff">&nbsp;
  141. <asp:Literal id="ltl_sellphase" runat="server"></asp:Literal></TD>
  142. </TR>
  143. <TR>
  144. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">成交预估(最新)</TD>
  145. <TD style="WIDTH: 274px" bgColor="#e8f4ff">&nbsp;<asp:label id="lbl_BargainPrognosis" runat="server"></asp:label></TD>
  146. <TD bgColor="#e8f4ff" align="center">发生费用(合计)</TD>
  147. <TD bgColor="#e8f4ff">&nbsp;
  148. <asp:Literal id="ltl_fee" runat="server"></asp:Literal></TD>
  149. </TR>
  150. <TR>
  151. <TD style="WIDTH: 76px" align="center" bgColor="#e8f4ff" height="24">销售人员</TD>
  152. <TD style="WIDTH: 274px" bgColor="#e8f4ff">
  153. <asp:dropdownlist id="ddl_SellMan" runat="server" Visible="False"></asp:dropdownlist>
  154. <asp:literal id="ltl_AddMan" runat="server"></asp:literal></TD>
  155. <TD align="center" bgColor="#e8f4ff"></TD>
  156. <TD bgColor="#e8f4ff"></TD>
  157. </TR>
  158. <TR>
  159. <TD style="WIDTH: 76px; HEIGHT: 20px" align="center" bgColor="#8af2ff" height="20"><FONT style="BACKGROUND-COLOR: #e8f4ff"></FONT></TD>
  160. <TD style="WIDTH: 274px; HEIGHT: 20px" align="center" bgColor="#8af2ff"></TD>
  161. <TD style="HEIGHT: 20px" align="center" bgColor="#8af2ff" colSpan="1" rowSpan="1"></TD>
  162. <TD style="HEIGHT: 20px" align="center" bgColor="#8af2ff" colSpan="1" rowSpan="1"></TD>
  163. </TR>
  164. <TR>
  165. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">本次接触时间</TD>
  166. <TD style="WIDTH: 274px">&nbsp;<asp:textbox id="tbx_contacttime" runat="server" ReadOnly="True" Width="88px"></asp:textbox></TD>
  167. <TD align="center" bgColor="#e8f4ff" colSpan="1" rowSpan="1">预计下次接触时间</TD>
  168. <TD>&nbsp;
  169. <asp:textbox id="tbx_nextcontacttime" runat="server" Width="88px" ReadOnly="True"></asp:textbox></TD>
  170. </TR>
  171. <TR>
  172. <TD bgColor="#e8f4ff" height="65" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">协同人员</TD>
  173. <TD colSpan="3" height="65">
  174. <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="380" border="0">
  175. <TR>
  176. <TD align="center"><asp:listbox id="lbx_Cooperater" runat="server" Width="150px" SelectionMode="Multiple"></asp:listbox></TD>
  177. <TD align="center">
  178. <P align="center"><asp:button id="btn_in" runat="server" CssClass="redbuttoncss" Text="<<<"></asp:button><BR>
  179. <BR>
  180. <asp:button id="btn_out" runat="server" CssClass="redbuttoncss" Text=">>>"></asp:button></P>
  181. </TD>
  182. <TD align="center"><asp:listbox id="lbx_Staff" runat="server" Width="150px" SelectionMode="Multiple"></asp:listbox></TD>
  183. </TR>
  184. </TABLE>
  185. </TD>
  186. </TR>
  187. <TR>
  188. <TD bgColor="#e8f4ff" height="67" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">接触对象<BR>
  189. <BR>
  190. <INPUT class=redbuttoncss id=btn_addlinkman style="WIDTH: 65px; HEIGHT: 20px" onclick="window.open('Linkman.aspx?ClientID=<%=clientid.ToString()%>')" type=button alt=添加联系人 value="添加联系人&#13;&#10;&#13;&#10;&#13;&#10;"></TD>
  191. <TD colSpan="3" height="67">
  192. <TABLE id="Table3" cellSpacing="0" cellPadding="0" width="380" border="0">
  193. <TR>
  194. <TD align="center"><asp:listbox id="lbx_Linkman" runat="server" Width="150px" SelectionMode="Multiple"></asp:listbox></TD>
  195. <TD align="center">
  196. <P align="center"><asp:button id="btn_inlinkman" runat="server" CssClass="redbuttoncss" Text="<<<"></asp:button><BR>
  197. <BR>
  198. <asp:button id="btn_outlinkman" runat="server" CssClass="redbuttoncss" Text=">>>"></asp:button></P>
  199. </TD>
  200. <TD align="center"><asp:listbox id="lbx_ClientLinkman" runat="server" Width="150px" SelectionMode="Multiple"></asp:listbox></TD>
  201. </TR>
  202. </TABLE>
  203. <TABLE id="Table4" cellSpacing="0" cellPadding="0" width="400" border="0">
  204. <TR>
  205. <TD align="center"></TD>
  206. </TR>
  207. </TABLE>
  208. </TD>
  209. </TR>
  210. <TR>
  211. <TD bgColor="#e8f4ff" height="33" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">接触目的</TD>
  212. <TD colSpan="3" height="33">&nbsp;
  213. <asp:textbox id="tbx_contactaim" runat="server" Width="400px" TextMode="MultiLine" Height="36px"></asp:textbox></TD>
  214. </TR>
  215. <TR>
  216. <TD style="WIDTH: 76px" align="center" bgColor="#e8f4ff" colSpan="1" height="24" rowSpan="1">近期标的</TD>
  217. <TD style="WIDTH: 274px" vAlign="middle" colSpan="1" height="24" rowSpan="1">&nbsp;<asp:textbox id="tbx_sellmoney" runat="server" Width="112px">0</asp:textbox>元(RMB)<asp:rangevalidator id="RangeValidator3" runat="server" ControlToValidate="tbx_sellmoney" MaximumValue="9999999999"
  218. MinimumValue="0" ErrorMessage="请输入数字"></asp:rangevalidator><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tbx_sellmoney" ErrorMessage="请输入数字"></asp:requiredfieldvalidator></TD>
  219. <TD bgColor="#e8f4ff" height="24">&nbsp;成交预估</TD>
  220. <TD height="24">&nbsp;<asp:dropdownlist id="ddl_bargainprognosis" runat="server">
  221. <asp:ListItem Value="*">*</asp:ListItem>
  222. <asp:ListItem Value="**">**</asp:ListItem>
  223. <asp:ListItem Value="***">***</asp:ListItem>
  224. <asp:ListItem Value="****">****</asp:ListItem>
  225. <asp:ListItem Value="*****">*****</asp:ListItem>
  226. </asp:dropdownlist>(星级越高,成功可能性越高)</TD>
  227. </TR>
  228. <TR>
  229. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">接触方式</TD>
  230. <TD colSpan="3"><asp:checkbox id="cbx_telephone" runat="server" Text="电话"></asp:checkbox><asp:checkbox id="cbx_fax" runat="server" Text="传真"></asp:checkbox><asp:checkbox id="cbx_email" runat="server" Text="邮件"></asp:checkbox><asp:checkbox id="cbx_mail" runat="server" Text="信函"></asp:checkbox><asp:checkbox id="cbx_meeting" runat="server" Text="会议"></asp:checkbox><asp:checkbox id="cbx_interview" runat="server" Text="走访"></asp:checkbox><asp:checkbox id="cbx_callin" runat="server" Text="来访"></asp:checkbox><asp:checkbox id="cbx_sms" runat="server" Text="短消息"></asp:checkbox></TD>
  231. </TR>
  232. <TR>
  233. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">接触状态</TD>
  234. <TD colSpan="3"><asp:checkbox id="cbx_trace" runat="server" Visible="False" Text="跟踪"></asp:checkbox><asp:checkbox id="cbx_boot" runat="server" Visible="False" Text="启动"></asp:checkbox><asp:checkbox id="cbx_commend" runat="server" Visible="False" Text="产品推荐"></asp:checkbox><asp:checkbox id="cbx_requirement" runat="server" Visible="False" Text="需求定义"></asp:checkbox><asp:checkbox id="cbx_submit" runat="server" Visible="False" Text="方案提交"></asp:checkbox><asp:checkbox id="cbx_negotiate" runat="server" Visible="False" Text="商务谈判"></asp:checkbox><asp:checkbox id="cbx_actualize" runat="server" Visible="False" Text="项目实施"></asp:checkbox><asp:checkbox id="cbx_traceservice" runat="server" Visible="False" Text="跟踪服务"></asp:checkbox><asp:checkbox id="cbx_last" runat="server" Visible="False" Text="收尾款"></asp:checkbox><asp:radiobutton id="rbtn_trace" runat="server" Text="跟踪" Checked="True" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_boot" runat="server" Text="启动" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_commend" runat="server" Text="产品推荐" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_requirement" runat="server" Text="需求定义" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_submit" runat="server" Text="方案提交" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_negotiate" runat="server" Text="商务谈判" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_actualize" runat="server" Text="项目实施" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_traceservice" runat="server" Text="跟踪服务" GroupName="contactstatus"></asp:radiobutton><asp:radiobutton id="rbtn_last" runat="server" Text="收尾款" GroupName="contactstatus"></asp:radiobutton></TD>
  235. </TR>
  236. <TR>
  237. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">本次费用</TD>
  238. <TD style="WIDTH: 278px" vAlign="middle">&nbsp;<asp:textbox id="tbx_thisfee" runat="server" Width="112px">0</asp:textbox>元(RMB)<asp:rangevalidator id="RangeValidator2" runat="server" ControlToValidate="tbx_thisfee" MaximumValue="999999"
  239. MinimumValue="0" ErrorMessage="请输入数字"></asp:rangevalidator><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tbx_thisfee" ErrorMessage="请输入数字"></asp:requiredfieldvalidator></TD>
  240. <TD bgColor="#e8f4ff">&nbsp;费用用途</TD>
  241. <TD vAlign="middle"><asp:checkbox id="cbx_travel" runat="server" Text="差旅"></asp:checkbox><asp:checkbox id="cbx_food" runat="server" Text="餐饮"></asp:checkbox><asp:checkbox id="cbx_gift" runat="server" Text="礼品"></asp:checkbox><asp:checkbox id="cbx_out" runat="server" Text="公关"></asp:checkbox></TD>
  242. </TR>
  243. <TR>
  244. <TD bgColor="#e8f4ff" height="61" style="WIDTH: 76px" align="center" colSpan="1" rowSpan="1">接触内容</TD>
  245. <TD colSpan="3" height="61">&nbsp;<asp:textbox id="tbx_contactcontent" runat="server" Width="632px" TextMode="MultiLine" Height="57px"></asp:textbox></TD>
  246. </TR>
  247. <TR>
  248. <TD bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center">下次接触目的</TD>
  249. <TD style="WIDTH: 278px">&nbsp;<asp:textbox id="tbx_nextcontactaim" runat="server" Width="272px"></asp:textbox></TD>
  250. <TD bgColor="#e8f4ff"></TD>
  251. <TD>&nbsp;</TD>
  252. </TR>
  253. <TR>
  254. <TD vAlign="middle" bgColor="#e8f4ff" height="24" style="WIDTH: 76px" align="center"
  255. colSpan="1" rowSpan="1">附件</TD>
  256. <TD colSpan="3"><INPUT class="inputCss" id="File1" style="WIDTH: 400px; HEIGHT: 19px" type="file" size="81"
  257. name="File1" runat="server">
  258. <BR>
  259. <INPUT class="inputCss" id="File2" style="WIDTH: 400px; HEIGHT: 19px" type="file" size="81"
  260. name="File2" runat="server">
  261. <BR>
  262. <INPUT class="inputCss" id="File3" style="WIDTH: 400px; HEIGHT: 19px" type="file" size="81"
  263. name="File3" runat="server"></TD>
  264. </TR>
  265. <TR>
  266. <TD align="center" colSpan="4" height="36"><asp:button id="btn_OK" runat="server" CssClass="buttoncss" Text=" 确 定 " Width="60px"></asp:button><asp:label id="lbl_Message" runat="server" Width="70px"></asp:label></TD>
  267. </TR>
  268. <TR>
  269. <TD colSpan="4"><uc1:controlclientcontacthistory id="ControlClientContactHistory1" runat="server"></uc1:controlclientcontacthistory></TD>
  270. </TR>
  271. <TR>
  272. <TD align="right" colSpan="4"><A href="javascript:window.close();">关闭窗口</A></TD>
  273. </TR>
  274. </TABLE>
  275. </FONT>
  276. </form>
  277. </body>
  278. </HTML>