📄 editclient.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="general_ClientManage_EditClient, CrmCommand" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>客户信息</title>
<base target=_self></base>
<script src="../../Javascript/formCheck.js" language=javascript></script>
<script>
function CheckForm()
{
if(!isPostalCode(document.Form1.txtZip.value))
{
alert("邮政编码格式不正确!");
document.Form1.txtZip.focus();
return (false);
}
if( Form1.SelType.options[Form1.SelType.selectedIndex].text == "选择客户行业")
{
alert("请选择客户行业!");
return (false);
}
if(!isTelOK(document.Form1.txtPhone.value))
{
alert("电话号码格式不正确!");
document.Form1.txtPhone.focus();
return (false);
}
if(!isFaxOK(document.Form1.txtFax.value))
{
alert("传真号码格式不正确!");
document.Form1.txtFax.focus();
return (false);
}
if(!isEMail(document.Form1.txtMail.value))
{
alert("E-Mail格式不正确!");
document.Form1.txtMail.focus();
return (false);
}
if(document.Form1.txtUrl.value != "")
{
if(!isUrlOK(document.Form1.txtUrl.value))
{
alert("网址格式不正确!");
document.Form1.txtUrl.focus();
return (false);
}
}
if(document.Form1.txtContent.value == "")
{
alert("客户介绍不能为空!");
document.Form1.txtContent.focus();
return (false);
}
return true;
}
</script>
</head>
<body class="bodycolor" topmargin="5" >
<form id="Form1" runat="server">
<div id="pnlMain">
<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
<TR>
<TD class="Big"><IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3">
客户信息编辑</SPAN>
</TD>
</TR>
</TABLE>
<TABLE class="small" cellSpacing="1" cellPadding="3" width="90%" align="center" bgcolor="black"
border="0" >
<TR>
<TD class="TableData" >客户名称:</TD>
<TD class="TableData" >
<asp:Label ID="LblUserName" CssClass="big3" ForeColor=red runat="server" Text="Label"></asp:Label>
</TD>
</TR>
<TR>
<TD class="TableData" >所在地:</TD>
<TD class="TableData" >
国家:<asp:Label ID="LblCountry" CssClass="big3" ForeColor=red runat="server" Text=""></asp:Label>
省份、州:<asp:Label ID="LblProvince" CssClass="big3" ForeColor=red runat="server" Text=""></asp:Label>
地级市、县:<asp:Label ID="LblCity" CssClass="big3" ForeColor=red runat="server" Text=""></asp:Label>
</TD>
</TR>
<TR>
<TD class="TableData" >详细地址:</TD>
<TD class="TableData" >
<input name="txtAdr" runat=server type="text" size="25" id="txtAdr" class="BigInput" />
</TD>
</TR>
<TR>
<TD class="TableData" >邮政编码:</TD>
<TD class="TableData" >
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 158px">
<input name="txtZip" runat=server type="text" size="25" id="txtZip" class="BigInput" /></td>
<td>(如:430010)</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD class="TableData" >行业:</TD>
<TD class="TableData" >
<select runat=server name="SelType" id="SelType" class="BigSelect" >
<option value="">选择客户行业</option>
<option value="计算机互联网">计算机互联网</option>
<option value="电子/通讯/电器">电子/通讯/电器</option>
<option value="机械/仪器/仪表">机械/仪器/仪表</option>
<option value="房地产/建筑/安装/装璜">房地产/建筑/安装/装璜</option>
<option value="金融/投资/保险/经济">金融/投资/保险/经济</option>
<option value="生产/制造">生产/制造</option>
<option value="造纸/印刷/包装">造纸/印刷/包装</option>
<option value="动力/电力/能源">动力/电力/能源</option>
<option value="五金矿产/金属制品">五金矿产/金属制品</option>
<option value="运输/物流/快递">运输/物流/快递</option>
<option value="广告/策划/设计">广告/策划/设计</option>
<option value="新闻/媒体/出版">新闻/媒体/出版</option>
<option value="信息咨询/事务所/人才交流">信息咨询/事务所/人才交流</option>
<option value="教育/文化/科研/培训">教育/文化/科研/培训</option>
<option value="政府/公共事业">政府/公共事业</option>
<option value="医疗/卫生事业">医疗/卫生事业</option>
<option value="制药/生物工程">制药/生物工程</option>
<option value="旅游/酒店/餐饮服务">旅游/酒店/餐饮服务</option>
<option value="纺织服装">纺织服装</option>
<option value="农林牧渔">农林牧渔</option>
<option value="娱乐/运动/休闲">娱乐/运动/休闲</option>
<option value="日用生活服务/商业服务">日用生活服务/商业服务</option>
<option value="物资供销">物资供销</option>
<option value="轻工">轻工</option>
<option value="其它行业">其它行业</option>
</select>
</TD>
</TR>
<TR>
<TD class="TableData" >电话:</TD>
<TD class="TableData" >
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 157px">
<input name="txtPhone" runat=server type="text" size="25" id="txtPhone" class="BigInput" /></td>
<td>(如:0571-88949230)
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD class="TableData" >传真:</TD>
<TD class="TableData" >
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 157px">
<input name="txtFax" runat=server type="text" size="25" id="txtFax" class="BigInput" /></td>
<td>(如:0571-88949231)</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD class="TableData" >E-Mail:</TD>
<TD class="TableData" >
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 153px">
<input name="txtMail" runat=server type="text" size="25" id="txtMail" class="BigInput" /></td>
<td>(如:yc@vpts.cn)</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD class="TableData" >网址:</TD>
<TD class="TableData" >
<table style="width: 100%" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 158px">
<input name="txtUrl" runat=server type="text" size="25" id="txtUrl" class="BigInput" /></td>
<td>(如:http://www.intcss.com)</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD class="TableData" >客户介绍:</TD>
<TD class="TableData"><textarea runat=server class="dropdown" name="txtContent" id="txtContent" rows="8" cols="60"></textarea>
</TD>
</TR>
<TR>
<TD class="TableData" align="center" colSpan="2">
<asp:Button ID="BtnUpdate" class="BigButton" runat="server" OnClientClick="return CheckForm();" Text="修改" OnClick="BtnUpdate_Click" Width="91px" /> <input
id="btnExit" onclick="javascript:history.go(-1);" class="BigButton" type="button" value="返回" style="width: 91px" />
</TD>
</TR>
<TR>
<TD class="TableControl" align="center" colSpan="2">
注意:如果录入信息中的传真和网址与库中记录雷同,即便客户名称不相同也被视为同一客户.
</TD>
</TR>
</TABLE>
<br>
<input name="Hidden1" runat=server type="hidden" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -