<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Page language="c#" Codebehind="LogsEdit.aspx.cs" validateRequest=false  AutoEventWireup="false" Inherits="WebOCRM.Employee.LogsEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>BargainEdit</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><asp:Label id="LabelCF" runat="server"></asp:Label>
						<asp:TextBox id="Wsdn_StarCRM_Clientid" runat="server" ReadOnly="True" Width="0px"></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">员工ID</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="157px" ReadOnly="True" MaxLength="50"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
									<TD>
										<asp:Label id="Label2" runat="server">填写日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">配合人员</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_CoName" runat="server" Width="157px"></asp:TextBox>&nbsp;
									</TD>
									<TD></TD>
									<TD></TD>
								</TR>
								<TR>
									<TD colSpan="1">
										<asp:Label id="Label6" runat="server">做了什么</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Result" runat="server" Width="418px"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
								</TR>
								<TR>
									<TD colSpan="1">
										<asp:Label id="Label4" runat="server">问题与方法</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Way" runat="server" Width="418px"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">开始时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_FromTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_FromTime', 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><FONT face="宋体" color="#ff0000">*</FONT></TD>
									<TD>
										<asp:Label id="Label10" runat="server">结束时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ToTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_ToTime', 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><FONT face="宋体" color="#ff0000">*</FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label5" runat="server">出发地点</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_From" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">到达地点</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_To" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" 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"></TD>
									<TD>
										<asp:Label id="Label13" runat="server">费用</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Money" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label11" runat="server">涉及客户</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server"></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="Label12" 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" Visible="False" ImageUrl="../image/mini_query.gif"
											ToolTip="察看该联系人"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD></TD>
									<TD></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>
							</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%" Height="280px" SupportFolder="~/FreeTextBox/"
											ToolbarBackgroundImage="False" DesignModeCss="WsdnOrgInfo" HtmlModeCss="WsdnOrgInfo" DropDownListCssClass="WsdnOrgInfo"
											BackColor="224, 224, 224" GutterBackColor="224, 224, 224"></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="Button3" runat="server" Text="日历方式察看"></asp:button>&nbsp;
							<asp:Button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:Button>
							<asp:button id="Button2" runat="server" Text="返回"></asp:button></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="输出为Excel" Selected="True">输出为Excel</asp:ListItem>
							</asp:DropDownList>&nbsp;&nbsp;&nbsp;
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
							<asp:datagrid id="DGValidate" runat="server" Visible="False" Width="615px" ForeColor="Red" Height="68px"
								AutoGenerateColumns="False" DESIGNTIMEDRAGDROP="925">
								<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>
				<TR>
					<TD class="WsdnOrgInfo"></TD>
				</TR>
				<TR>
					<TD colspan="4">
						<asp:Label id="Label38" runat="server">发表留讯：</asp:Label>
						<asp:TextBox id="TextBox1" runat="server" Width="450px"></asp:TextBox>
						<asp:Button id="Button6" runat="server" Text="提交留讯"></asp:Button>
					</TD>
				</TR>
				<TR>
					<TD colspan="4">
						<asp:DataGrid id="DataGridNote" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="内容"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Status" HeaderText="状态"></asp:BoundColumn>
							</Columns>
						</asp:DataGrid>
						<asp:Label id="Label14" runat="server">相关文件：</asp:Label>
						<asp:DataGrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
									HeaderText="下载"></asp:HyperLinkColumn>
							</Columns>
						</asp:DataGrid>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
