<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="DepartmentEdit.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Employee.DepartmentEdit" trace="False"%>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>DepartmentEdit</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="基本资料↓"></asp:button>
						<asp:TextBox id="DepartmentCode" runat="server" BorderStyle="Dotted" Width="40px" Visible="False"></asp:TextBox>
						<asp:Label id="Label9" runat="server" Visible="False"></asp:Label></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<asp:Label id="Label2" runat="server">部门名称</asp:Label></TD>
									<TD>
										<asp:TextBox id="Name" runat="server" Width="200px" MaxLength="50"></asp:TextBox></TD>
									<TD></TD>
									<TD></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">部门经理</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif">
										<asp:ImageButton id="ImageEmployee" runat="server" ToolTip="察看该员工" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label4" runat="server">成立时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Btime" runat="server"></asp:TextBox>&nbsp;<A href="javascript:OpenCalendar('Btime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../image/mini_query.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label5" runat="server">电话</asp:Label></TD>
									<TD>
										<asp:TextBox id="Phone" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label6" runat="server">传真</asp:Label></TD>
									<TD>
										<asp:TextBox id="Fax" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">地址</asp:Label></TD>
									<TD>
										<asp:TextBox id="Address" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">邮政编码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Postnum" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD></TD>
									<TD></TD>
									<TD>
										<asp:CheckBox id="DeleteFlag" runat="server" Text="是否不可用" Visible="False"></asp:CheckBox></TD>
									<TD></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button2" runat="server" Text="备注↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel2" runat="server">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<asp:TextBox id="Info" runat="server" Width="623px" TextMode="MultiLine" Height="143px"></asp:TextBox>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" style="HEIGHT: 61px" align="center"><P><asp:button id="Edit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:Button id="Btcopy" runat="server" Text="复制当前记录"></asp:Button>&nbsp;<asp:button id="Back" runat="server" Text="返回"></asp:button>&nbsp;</P>
						<P>
							<asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp;
								<asp:DropDownList id="PrintList" runat="server">
									<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
									<asp:ListItem Value="输出为Word" Selected>输出为Word</asp:ListItem>
								</asp:DropDownList>&nbsp;&nbsp;
								<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
						</FONT>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo">
						<HR width="90%" SIZE="1">
						<asp:datagrid id="DGValidate" runat="server" Width="100%" Visible="False" Height="68px" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
