Client.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:14k
源码类别:

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

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="Client.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.CM.Client" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>客户表单</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="JavaScript" src="../../../Css/meizzDate.js"></script>
  12. <script>
  13. function displaypenal()
  14. {
  15. if(document.Client.cbx_customer.checked)
  16. penal.style.display="";
  17. else
  18. penal.style.display="none";
  19. }
  20. </script>
  21. </HEAD>
  22. <body leftMargin="0" topMargin="0">
  23. <form id="Client" method="post" encType="multipart/form-data" runat="server">
  24. <FONT face="宋体">
  25. <TABLE borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  26. <TR height="30">
  27. <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>
  28. <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6" width="60"
  29. align="right"><font color="#006699">客户表单</font></TD>
  30. <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6" align="right"><FONT face="宋体">&nbsp;
  31. </FONT>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
  35. <TR>
  36. <TD align="right">
  37. <TABLE class="gbtext" id="Table2" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  38. cellSpacing="0" cellPadding="0" width="100%" align="center" border="1">
  39. <TR>
  40. <TD width="90" bgColor="#e8f4ff" height="28">&nbsp;客户编号</TD>
  41. <TD height="28">&nbsp;<asp:literal id="ltl_ID" runat="server"></asp:literal></TD>
  42. <TD width="90" bgColor="#e8f4ff" height="28">&nbsp;添加日期</TD>
  43. <TD height="28">&nbsp;<asp:textbox id="tbx_Birthday" runat="server" CssClass="inputcss" Width="250px" ReadOnly="True"></asp:textbox></TD>
  44. </TR>
  45. <TR>
  46. <TD bgColor="#e8f4ff" height="28">&nbsp;客户名称</TD>
  47. <TD height="28">&nbsp;<asp:textbox id="tbx_Name" runat="server" CssClass="inputcss" Width="250px"></asp:textbox><asp:customvalidator id="CustomValidator1" runat="server" ControlToValidate="tbx_Name" ErrorMessage="客户名称重复"
  48. EnableClientScript="False"></asp:customvalidator>
  49. <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="tbx_Name" ErrorMessage="客户名称不能为空"
  50. Display="Dynamic"></asp:requiredfieldvalidator></TD>
  51. <TD bgColor="#e8f4ff" height="28">&nbsp;客户简称</TD>
  52. <TD height="28">&nbsp;<asp:textbox id="tbx_ShortName" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  53. </TR>
  54. <TR>
  55. <TD bgColor="#e8f4ff" height="28">&nbsp;客户分类</TD>
  56. <TD height="28"><asp:checkbox id="cbx_zhongduan" runat="server" Text="终端客户"></asp:checkbox><asp:checkbox id="cbx_qudao" runat="server" Text="渠道商"></asp:checkbox><asp:checkbox id="cbx_shehui" runat="server" Text="社会关系"></asp:checkbox><asp:checkbox id="cbx_meiti" runat="server" Text="媒体公关"></asp:checkbox></TD>
  57. <TD bgColor="#e8f4ff" height="28">&nbsp;更新时间</TD>
  58. <TD height="28">&nbsp;<asp:textbox id="tbx_UpdateTime" runat="server" CssClass="inputcss" Width="250px" ReadOnly="True"></asp:textbox></TD>
  59. </TR>
  60. <TR>
  61. <TD bgColor="#e8f4ff" height="28">&nbsp;主要联系人</TD>
  62. <TD height="28" style="WIDTH: 400px">&nbsp;
  63. <asp:HyperLink id="hlk_Chiefman" runat="server"></asp:HyperLink>&nbsp; <INPUT class=redbuttoncss onclick='<%="window.open("+""ClientLinkmanList.aspx?ClientID="+clientid.ToString()+"");"%>' type=button value=查看全部></TD>
  64. <TD bgColor="#e8f4ff" height="28">&nbsp;职务</TD>
  65. <TD height="28">&nbsp;<asp:label id="lbl_position" runat="server"></asp:label></TD>
  66. </TR>
  67. <TR>
  68. <TD bgColor="#e8f4ff" height="28">&nbsp;联系电话</TD>
  69. <TD height="28">&nbsp;<asp:label id="lbl_chieftel" runat="server"></asp:label></TD>
  70. <TD bgColor="#e8f4ff" height="28">&nbsp;隶属区域</TD>
  71. <TD height="28">&nbsp;<asp:textbox id="tbx_affiliatedarea" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  72. </TR>
  73. <TR>
  74. <TD bgColor="#e8f4ff" height="28">&nbsp;添加人员</TD>
  75. <TD height="28">&nbsp;<asp:literal id="ltl_AddManName" runat="server"></asp:literal>
  76. <asp:panel id="pnl_Leader" runat="server" Width="273px">
  77. <asp:DropDownList id="ddl_AddMan" runat="server"></asp:DropDownList>
  78. <asp:Button id="btn_LookTel" runat="server" CssClass="redbuttoncss" Text="查看联系电话"></asp:Button>
  79. <asp:Button id="btn_ChangeAddMan" runat="server" CssClass="redbuttoncss" Text="修改"></asp:Button>
  80. </asp:panel></TD>
  81. <TD bgColor="#e8f4ff" height="28">&nbsp;联系电话</TD>
  82. <TD height="28">&nbsp;<asp:literal id="ltl_addmantel" runat="server"></asp:literal></TD>
  83. </TR>
  84. <TR>
  85. <TD bgColor="#e8f4ff" height="28">&nbsp;企业网址</TD>
  86. <TD height="28">&nbsp;<asp:textbox id="tbx_URL" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  87. <TD bgColor="#e8f4ff" height="28">&nbsp;邮政编码</TD>
  88. <TD height="28">&nbsp;<asp:textbox id="tbx_zip" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  89. </TR>
  90. <TR>
  91. <TD bgColor="#e8f4ff" height="28">&nbsp;企业地址</TD>
  92. <TD colSpan="3" height="28">&nbsp;<asp:textbox id="tbx_address" runat="server" CssClass="inputcss" Width="645px"></asp:textbox></TD>
  93. </TR>
  94. <TR>
  95. <TD bgColor="#e8f4ff" height="28">&nbsp;企业性质</TD>
  96. <TD height="28"><asp:checkbox id="cbx_government" runat="server" Text="政府"></asp:checkbox><asp:checkbox id="cbx_stateowned" runat="server" Text="国营"></asp:checkbox><asp:checkbox id="cbx_private" runat="server" Text="民营"></asp:checkbox><asp:checkbox id="cbx_foreign" runat="server" Text="外资"></asp:checkbox><asp:checkbox id="cbx_market" runat="server" Text="上市"></asp:checkbox></TD>
  97. <TD bgColor="#e8f4ff" height="28">&nbsp;注册资本</TD>
  98. <TD height="28">&nbsp;<asp:textbox id="tbx_money" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  99. </TR>
  100. <TR>
  101. <TD bgColor="#e8f4ff" height="46">&nbsp;所处行业</TD>
  102. <TD colSpan="3" height="46"><asp:checkbox id="cbx_realestate" runat="server" Text="房地产"></asp:checkbox><asp:checkbox id="cbx_IT" runat="server" Text="IT"></asp:checkbox><asp:checkbox id="cbx_business" runat="server" Text="商业贸易"></asp:checkbox><asp:checkbox id="cbx_telecom" runat="server" Text="电信"></asp:checkbox><asp:checkbox id="cbx_post" runat="server" Text="邮政通讯"></asp:checkbox><asp:checkbox id="cbx_consultation" runat="server" Text="咨询服务"></asp:checkbox><asp:checkbox id="cbx_travel" runat="server" Text="旅游业"></asp:checkbox><asp:checkbox id="cbx_bus" runat="server" Text="交通运输"></asp:checkbox><br>
  103. <asp:checkbox id="cbx_stock" runat="server" Text="金融证券"></asp:checkbox><asp:checkbox id="cbx_insurance" runat="server" Text="保险业"></asp:checkbox><asp:checkbox id="cbx_tax" runat="server" Text="税务"></asp:checkbox><asp:checkbox id="cbx_make" runat="server" Text="制造业"></asp:checkbox><asp:checkbox id="cbx_electric" runat="server" Text="家电"></asp:checkbox><asp:checkbox id="cbx_clothe" runat="server" Text="服装"></asp:checkbox><asp:checkbox id="cbx_food" runat="server" Text="食品"></asp:checkbox><asp:checkbox id="cbx_medicine" runat="server" Text="医药"></asp:checkbox><asp:checkbox id="cbx_mechanism" runat="server" Text="机械"></asp:checkbox><asp:checkbox id="cbx_auto" runat="server" Text="汽车制造"></asp:checkbox></TD>
  104. </TR>
  105. <TR>
  106. <TD bgColor="#e8f4ff" height="28">&nbsp;公司规模</TD>
  107. <TD height="28">&nbsp;<asp:textbox id="tbx_staffnumber" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  108. <TD bgColor="#e8f4ff" height="28">&nbsp;主营业务</TD>
  109. <TD height="28">&nbsp;<asp:textbox id="tbx_operation" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  110. </TR>
  111. <TR>
  112. <TD vAlign="top" bgColor="#e8f4ff">&nbsp;企业简介</TD>
  113. <TD colSpan="3">&nbsp;<asp:textbox id="tbx_introduce" runat="server" Width="645px" TextMode="MultiLine"></asp:textbox><BR>
  114. &nbsp;附件: <INPUT class="inputcss" id="File1" style="WIDTH: 600px; HEIGHT: 19px" type="file" size="58"
  115. name="File1" runat="server"><BR>
  116. <asp:repeater id="rpt_Attachment" runat="server">
  117. <ItemTemplate>
  118. <a href='<%# Request.Path.Substring(0,Request.Path.LastIndexOf("/"))+"\Attachment\"+DataBinder.Eval(Container.DataItem,"ID")+DataBinder.Eval(Container.DataItem,"Extension") %>' target=_blank>
  119. <%# DataBinder.Eval(Container.DataItem,"Path")+"," %>
  120. </a>
  121. </ItemTemplate>
  122. </asp:repeater></TD>
  123. </TR>
  124. <TR>
  125. <TD vAlign="top" bgColor="#e8f4ff" height="40">&nbsp;信息化程度</TD>
  126. <TD colSpan="3" height="40">&nbsp;<asp:textbox id="tbx_IT" runat="server" Width="645px" TextMode="MultiLine"></asp:textbox></TD>
  127. </TR>
  128. <TR>
  129. <TD bgColor="#e8f4ff" height="28">&nbsp;电脑数量</TD>
  130. <TD height="28">&nbsp;<asp:textbox id="tbx_pcnumber" runat="server" CssClass="inputcss" Width="250px"></asp:textbox>台<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tbx_pcnumber" ErrorMessage="请输入数字"
  131. Display="Dynamic"></asp:requiredfieldvalidator>
  132. <asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ControlToValidate="tbx_pcnumber"
  133. ValidationExpression="d*">请输入数字</asp:regularexpressionvalidator></TD>
  134. <TD bgColor="#e8f4ff" height="28">&nbsp;网络状况</TD>
  135. <TD height="28"><asp:checkbox id="cbx_internet" runat="server" Text="互联网"></asp:checkbox><asp:checkbox id="cbx_WAN" runat="server" Text="WAN"></asp:checkbox><asp:checkbox id="cbx_LAN" runat="server" Text="LAN"></asp:checkbox></TD>
  136. </TR>
  137. <TR>
  138. <TD bgColor="#e8f4ff" height="28">&nbsp;专业IT人员</TD>
  139. <TD height="28">&nbsp;<asp:textbox id="tbx_ITStaffs" runat="server" CssClass="inputcss" Width="250px"></asp:textbox>人<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tbx_ITStaffs" ErrorMessage="请输入数字"
  140. Display="Dynamic"></asp:requiredfieldvalidator>
  141. <asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ControlToValidate="tbx_ITStaffs"
  142. ValidationExpression="d*">请输入数字</asp:regularexpressionvalidator></TD>
  143. <TD height="28"></TD>
  144. <TD height="28"></TD>
  145. </TR>
  146. <TR>
  147. <TD bgColor="#e8f4ff" height="28">&nbsp;IT部门名称</TD>
  148. <TD height="28">&nbsp;<asp:textbox id="tbx_ITdepartment" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  149. <TD bgColor="#e8f4ff" height="28">&nbsp;负责人</TD>
  150. <TD height="28"><asp:textbox id="tbx_principal" runat="server" CssClass="inputcss" Width="250px"></asp:textbox></TD>
  151. </TR>
  152. <TR>
  153. <TD vAlign="top" bgColor="#e8f4ff" height="28">&nbsp;目前系统</TD>
  154. <TD colSpan="3" height="28">&nbsp;<asp:textbox id="tbx_system" runat="server" Width="645px" TextMode="MultiLine"></asp:textbox></TD>
  155. </TR>
  156. <TR>
  157. <TD bgColor="#e8f4ff" height="28">&nbsp;客户来源</TD>
  158. <TD colSpan="3" height="28"><asp:checkbox id="cbx_sellman" runat="server" Text="销售主动联系"></asp:checkbox><asp:checkbox id="cbx_just" runat="server" Text="以前认识"></asp:checkbox><asp:checkbox id="cbx_introduce" runat="server" Text="熟人介绍"></asp:checkbox><asp:checkbox id="cbx_customer" runat="server" Text="客户主动联系" AutoPostBack="True"></asp:checkbox></TD>
  159. </TR>
  160. <TR>
  161. <TD bgColor="#e8f4ff" height="28">&nbsp;客户主动</TD>
  162. <TD colSpan="3" height="28"><asp:panel id="penal" runat="server" CssClass="inputcss" Width="563px" Visible="False">
  163. <asp:checkbox id="cbx_Email" runat="server" Text="电子邮件"></asp:checkbox>
  164. <asp:checkbox id="cbx_media" runat="server" Text="媒体宣传"></asp:checkbox>
  165. <asp:checkbox id="cbx_Web" runat="server" Text="查询网站"></asp:checkbox>
  166. <asp:checkbox id="cbx_proseminar" runat="server" Text="研讨会"></asp:checkbox>
  167. <asp:checkbox id="cbx_exhibition" runat="server" Text="展览会"></asp:checkbox>
  168. <asp:checkbox id="cbx_EMS" runat="server" Text="直邮"></asp:checkbox>
  169. </asp:panel></TD>
  170. </TR>
  171. <TR>
  172. <TD align="center" colSpan="4" height="28">&nbsp;
  173. <asp:panel id="pnl_MyCustom" runat="server" Width="260px">
  174. <asp:button id="btn_OK" runat="server" Width="70px" CssClass="buttoncss" Text=" 确 定 "></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  175. <asp:Button id="btn_AddContact" runat="server" CssClass="buttoncss" Text="添加接触"></asp:Button></asp:panel><asp:panel id="pnl_Leader1" runat="server" Width="175px" Visible="False">
  176. <asp:Button id="btn_LookContact" runat="server" CssClass="buttoncss" Text="查看接触"></asp:Button>
  177. </asp:panel></TD>
  178. </TR>
  179. </TABLE>
  180. <asp:label id="lbl_Message" runat="server" Width="92px" Visible="False"></asp:label><A href="javascript:window.close();">关闭窗口</A></TD>
  181. </TR>
  182. </TABLE>
  183. </FONT>
  184. </form>
  185. </body>
  186. </HTML>