<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="DepPlanEdit.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Employee.DepPlanEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>部门工作任务</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="Wsdn_StarCRM_Id" runat="server" Visible="False"></asp:textbox></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="Label1" runat="server">任务描述</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="200px" MaxLength="50"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label2" runat="server">重要性</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Prior" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('重要程度','Wsdn_StarCRM_Prior');" alt="察看该项目" src="../image/mini_post.gif">
</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">发表日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server"></asp:TextBox>
										<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../image/mini_query.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label6" runat="server">相关部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselectdepartment();" alt="选择部门" src="../image/mini_post.gif">&nbsp;&nbsp;&nbsp; 
</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label4" runat="server">任务开始时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_StartTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_StartTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="Imagebutton2" runat="server" ImageUrl="../image/mini_query.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label5" runat="server">任务结束时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_EndTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_EndTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton3" runat="server" ImageUrl="../image/mini_query.gif" AlternateText="计算至今的时间"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">接受任务员工</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_TO" runat="server" Width="200px" MaxLength="50"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">完成程度</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Percent" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('完成比率','Wsdn_StarCRM_Percent');" alt="察看该项目" src="../image/mini_post.gif">
</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" runat="server">相关客户</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" MaxLength="50"></asp:TextBox>&nbsp;<IMG onclick="javascript:selectclient();" alt="选择客户" src="../image/mini_post.gif">&nbsp;
										<asp:ImageButton id="ImageClient" runat="server" ImageUrl="../image/mini_query.gif" ToolTip="察看该客户"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label10" runat="server">相关联系人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Linkman" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:selectlinkman();" alt="选择联系人" src="../image/mini_post.gif">&nbsp;
										<asp:ImageButton id="ImageLinkman" runat="server" ImageUrl="../image/mini_query.gif" ToolTip="察看该联系人"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label12" runat="server">发表人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Author" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="其他部门可见" Checked="True"></asp:CheckBox></TD>
									<TD>
										<asp:CheckBox id="DeleteFlag" runat="server" Text="删除"></asp:CheckBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label11" runat="server">问题及解决方法</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Problem" runat="server" Width="529px" MaxLength="250" Height="72px"
											TextMode="MultiLine"></asp:TextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button5" runat="server" Text="任务内容↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel3" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<FTB:FREETEXTBOX id="Wsdn_StarCRM_Info" runat="server" Width="92%" ToolbarType="Office2000" Height="300px"></FTB:FREETEXTBOX></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Btcopy" runat="server" Text="复制当前记录"></asp:button>&nbsp;
							<asp:button id="Button2" runat="server" Text="返回"></asp:button>
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
						<P><asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button>&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;&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
						<P></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:datagrid id="DGValidate" runat="server" Visible="False" Width="100%" 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>
