📄 customeredit.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomerEdit.ascx.cs" Inherits="CustomerManage_Ctrls_CustomerEdit" %>
<table border="0" width="98%" class="tb1" cellPadding="1" cellSpacing="0" align="center" style=" margin-top:10px; width:90%; text-align:center; border:solid 1px blue;">
<tr class=tdtitle>
<td colspan="4" height="20px" style="background-color: #94bae7; text-align:left; font-weight:bold;">>> 数据编辑 (<font color=red>*</font>必填)
</td>
</tr>
<tr>
<td align="right" colspan="3" height="10px"></td>
</tr>
<tr>
<td width="1%" height="8px"></td>
<td >
<FIELDSET style="WIDTH: 95%; border:solid 1px blue;"><legend><b>基本信息</b></legend>
<table id="GridTable" cellSpacing="1" cellPadding="1" width="100%" border="0">
<tr>
<td align="right" colspan="8" height="8px"></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px; height: 26px;"><label id="lbl_custcd" for="custcd">客户编号:</label></td>
<td style="width: 80px; height: 26px;">
<asp:TextBox ID="txtComId" runat="server" BackColor="Window" Enabled="False" Width="80px" ReadOnly="True"></asp:TextBox>
</td>
<td align="right" class="" style="width: 112px; height: 26px;"><label id="lbl_state" for="state">
<span style="color: #ff0000">*</span>有效性: </label></td>
<td style="width: 76px; height: 26px;">
<asp:DropDownList ID="ddlIsUse" runat="server" Width="80px">
<asp:ListItem Value="2">请选择</asp:ListItem>
<asp:ListItem Value="0">有效</asp:ListItem>
<asp:ListItem Value="1">无效</asp:ListItem>
</asp:DropDownList></td>
<td align="right" class="" colspan="1" style="width: 123px; height: 26px;" ><label id="lbl_btime"></label></td>
<td style="width: 83px; height: 26px;">
<asp:TextBox ID="txtAddTime" runat="server" Width="57px" ReadOnly="True" Visible="False"></asp:TextBox></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px"><label id="lbl_custname" for="custname">
<span style="color: #ff0000">*</span>客户名称: </label></td>
<td colspan="7"><asp:TextBox ID="txtComName" runat="server" Width="100%" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td align="right" class="" style="height: 24px; width: 119px;"><label id="lbl_crelation" for="crelation">
<span style="color: #ff0000">*</span>关系程度: </label></td>
<td style="height: 24px; width: 99px;"><asp:DropDownList ID="ddlRelation" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="height: 24px; width: 112px;"><label id="lbl_ctype" for="ctype">
<span style="color: #ff0000">*</span>客户类型: </label></td>
<td style="height: 24px; width: 76px;"><asp:DropDownList ID="ddlComType" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="height: 24px; width: 123px;"><label id="lbl_cindustry" for="cindustry">所属行业: </label></td>
<td style="height: 24px; width: 83px;"><asp:DropDownList ID="ddlWay" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="height: 24px; width: 124px;"><label id="lbl_cgettype" for="cgettype">客户来源:</label></td>
<td style="height: 24px"><asp:DropDownList ID="ddlComResource" runat="server" Width="80px"></asp:DropDownList></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px"><label id="lbl_ccountry" for="ccountry">国家/区域:</label></td>
<td style="width: 99px"><asp:DropDownList ID="ddlnation" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="width: 112px"><label id="lbl_cprovince" for="cprovince">省/直辖市:</label></td>
<td style="width: 76px"><asp:DropDownList ID="ddlCity" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="width: 123px" ><label id="lbl_ccomkind" for="ccomkind">
客户性质: </label></td>
<td style="width: 83px"><asp:DropDownList ID="ddlCompanyType" runat="server" Width="80px"></asp:DropDownList></td>
<td align="right" class="" style="width: 124px"><label id="lbl_cmembercount" for="cmembercount">
客户规模:</label></td>
<td><asp:DropDownList ID="ddlCompanySize" runat="server" Width="80px"></asp:DropDownList></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px"><label id="lbl_comphone" for="comphone">
客户电话:</label></td>
<td style="width: 99px"><asp:TextBox ID="txtCompanyTel" runat="server" Width="80px"></asp:TextBox></td>
<td align="right" class="" style="width: 112px"><label id="lbl_comfax" for="comfax">
客户传真:</label></td>
<td style="width: 76px"><asp:TextBox ID="txtFax" runat="server" Width="80px"></asp:TextBox></td>
<td align="right" class="" style="width: 123px"><label id="lbl_zipcode" for="zipcode">邮政编码: </label></td>
<td style="width: 83px"><asp:TextBox ID="txtZip" runat="server" Width="80px"></asp:TextBox></td>
<td align="right" class="" style="width: 124px"><label id="lbl_ctraceuser" for="ctraceuser">
<span style="color: #ff0000">*</span>销售人员: </label></td>
<td>
<asp:DropDownList ID="ddlTrack" runat="server" Width="80px">
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px"><label id="lbl_address" for="address">详细地址:</label></td>
<td colspan="7"><asp:TextBox ID="txtAdress" runat="server" Width="100%" MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td align="right" class="" style="width: 119px; height: 26px;"><label id="lbl_custemail" for="custemail">邮件地址:</label></td>
<td colspan="3" align="left"><asp:TextBox ID="txtEmail" runat="server" Width="90%"></asp:TextBox></td>
<td align="right" class="" style="height: 26px; width: 123px;"><label id="lbl_homepage" for="homepage">
客户主页: </label></td>
<td colspan="3" align="left"><asp:TextBox ID="txtHomePage" runat="server" Width="90%"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 119px"><label for=txtFname>备注: </label></td>
<td colspan="7" style="height: 80px"><asp:TextBox ID="txtRemark" runat="server" Width="100%" Height="80px" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 119px" valign="top">
附加文件: </td>
<td align="left" colspan="8">
<asp:Label ID="lblAcc" runat="server" Text="无附件" Visible="False"></asp:Label>
<asp:DataList ID="dtlAccList" runat="server" CellPadding="1" ForeColor="#333333" ShowFooter="False"
ShowHeader="False" Width="85%" OnItemCommand="dtlAccList_ItemCommand" OnItemDataBound="dtlAccList_ItemDataBound">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<AlternatingItemStyle BackColor="White" />
<ItemStyle BackColor="#E3EAEB" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<ItemTemplate>
<table width="99%" align="center" border="0" cellpadding="1" cellspacing="0">
<tr>
<td style="width: 30%" align="left">
<asp:Label ID="lblDocumentName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"documentName") %>'></asp:Label></td>
<td style="width: 50%" align="left">
<asp:Label ID="lblDocumentPath" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"documentPath") %>'></asp:Label></td>
<td align="left">
<asp:LinkButton ID="lbtnDelete" runat="server" CommandName="lbtnDelete">删除</asp:LinkButton></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
</tr>
<tr>
<td align="right" style="width: 119px">
</td>
<td align="left" colspan="3">
<hr size="1" width="70%" />
</td>
</tr>
<tr>
<td align="right" style="width: 119px">
</td>
<td align="left" colspan="8">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
文件上载的最大字节为<font color="red">10,240K</font>(支持文件格式:doc / txt / jpg / gif / ppt /
csv / xls / rar / zip / docx)</td>
<td align="center">
<a style="cursor:hand; text-decoration:underline;" onclick="javascript:AddAUpload();">更多附件上载</a></td>
</tr>
<tr>
<td align="left" colspan="2">
<div id="dvFiles">
<input name="Files" type="file" size="50" /><br />
<input name="Files" type="file" size="50" /><br />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</FIELDSET>
</td>
</tr>
<tr>
<td align="right" colspan="8" style="height: 21px"> </td>
</tr>
<tr>
<td align="center" colspan="8">
<asp:Button ID="btnSubmit" runat="server" Text="提 交" OnClick="btnSubmit_Click" />
<asp:Button ID="btnCancel" runat="server" Text="取 消" OnClick="btnCancel_Click" />
</td>
</tr>
<tr>
<td align="right" colspan="8"> </td>
</tr>
</table>
<script language="javascript" type="text/javascript">
function AddAUpload()
{
var strTemp= '';
strTemp = strTemp + '<input type=file name=file size=60><input id="Button1" type="button" value="删除" style="width: 66px"/><br>';
dvFiles.insertAdjacentHTML('beforeEnd',strTemp);
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -