ClientContact_thisWeek.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:17k
源码类别:

C#编程

开发平台:

C#

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