⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customeradd.ascx

📁 CRM管理系统 CRM管理系统
💻 ASCX
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CustomerAdd.ascx.cs" Inherits="CustomerManage_Ctrls_CustomerAdd" %>
<table border="0" width="99%" class="tb1" cellPadding="1" cellSpacing="0" align="center" style=" margin-top:10px; width:90%; text-align:center; border:solid 1px blue;">
	<tr>
		<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" onclick="return GridTable_onclick()">
					<tr>
						<td  align="right" colspan="8" height="8px"></td>
					</tr>

					<tr>
                        <td align="right" class="" style="width: 186px; height: 26px;"><label id="lbl_state" for="state">
                            <span style="color: #ff0000">*</span>有效性: </label></td>
                        <td style="width: 50px; height: 26px;">
                            <asp:DropDownList ID="ddlIsUse" runat="server" Width="80px">
                                <asp:ListItem Value="2">请选择</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">有效</asp:ListItem>
                                <asp:ListItem Value="1">无效</asp:ListItem>
                            </asp:DropDownList></td>
                        <td align="right" class="" colspan="3" style="height: 26px"><label id="lbl_btime">添加日期:<asp:TextBox ID="txtAddTime" runat="server" Enabled="False" ReadOnly="True"
                                Width="130px"></asp:TextBox>&nbsp;&nbsp;</label></td>
					</tr>
					<tr>
						<td align="right" class="" style="width: 186px"><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: 186px;"><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: 152px;"><label id="lbl_ctype" for="ctype">
                            <span style="color: #ff0000">*</span>客户类型: </label></td>
                        <td style="height: 24px; width: 60px;"><asp:DropDownList ID="ddlComType" runat="server" Width="80px"></asp:DropDownList></td>
                        <td align="right" class="" style="height: 24px; width: 164px;"><label id="lbl_cindustry" for="cindustry">所属行业:&nbsp;&nbsp;</label></td>
                        <td style="height: 24px; width: 77px;"><asp:DropDownList ID="ddlWay" runat="server" Width="80px"></asp:DropDownList></td>
                        <td align="right" class="" style="height: 24px; width: 155px;"><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: 186px"><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: 152px"><label id="lbl_cprovince" for="cprovince">省/直辖市:</label></td>
                        <td style="width: 60px"><asp:DropDownList ID="ddlCity" runat="server" Width="80px"></asp:DropDownList></td>
                        <td align="right" class="" style="width: 164px"><label id="lbl_ccomkind" for="ccomkind">
                            客户性质:&nbsp;&nbsp;</label></td>
                        <td style="width: 77px"><asp:DropDownList ID="ddlCompanyType" runat="server" Width="80px"></asp:DropDownList></td>
                        <td align="right" class="" style="width: 155px"><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: 186px"><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: 152px"><label id="lbl_comfax" for="comfax">
                            客户传真:</label></td>
                        <td style="width: 60px"><asp:TextBox ID="txtFax" runat="server" Width="80px"></asp:TextBox></td>
                        <td align="right" class="" style="width: 164px"><label id="lbl_zipcode" for="zipcode">邮政编码:&nbsp;&nbsp;</label></td>
                        <td style="width: 77px"><asp:TextBox ID="txtZip" runat="server" Width="80px"></asp:TextBox></td>
                        <td align="right" class="" style="width: 155px"><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: 186px"><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: 186px; 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: 164px;"><label id="lbl_homepage" for="homepage">
                            客户主页:&nbsp;&nbsp;</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: 186px"><label for=txtFname>备注:&nbsp;&nbsp;</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: 186px">
                            附加文件:&nbsp;&nbsp;</td>
                        <td align="left" colspan="8">
                            <asp:Label ID="lblAcc" runat="server" Text="无附件"></asp:Label>&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 186px">
                        </td>
                        <td align="left" colspan="8">
                            <hr size="1" width="70%" />
                            </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 186px">
                        </td>
                        <td align="left" colspan="8">
                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left">
                                        文件上载的最大字节为<font color="red">10,240K<span style="color: #000000">(支持文件格式:doc / txt /
                                            jpg / gif / ppt / csv / xls / rar / zip / docx)</span></font></td>
                                    <td align="center">
                                        <a href="javascript:AddAUpload();">更多附件上载</a></td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="2">
                                    <div id="dvFiles">
                                        <input name="file" type="file" size="60" /><br />
                                        <input name="file" type="file" size="60" /><br />
                                    </div>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
				</table>
			</FIELDSET>
		</td>
	</tr>  
	<tr>
        <td  align="right" colspan="8">&nbsp;</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">&nbsp;</td>
    </tr>	
   </table>
	<script language="javascript" type="text/javascript">
    function AddAUpload() 
    {
        var strTemp= '';
        strTemp = strTemp + '<input type=file name=file size=60><br>';
        dvFiles.insertAdjacentHTML('beforeEnd',strTemp);
    }
function GridTable_onclick() {

}

    </script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -