<%@ Page language="c#" Codebehind="ProjectEdit.aspx.cs" AutoEventWireup="false" Inherits="WebStarCRM.Crm.ProjectEdit" trace="False" smartNavigation="False" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ProjectEdit</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<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:Label id="LabelCF" runat="server" Visible="False"></asp:Label>
						<asp:TextBox id="Wsdn_StarCRM_Clientid" runat="server" Width="0px" ReadOnly="True"></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="Label2" runat="server">项目名称</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Project" runat="server" Width="272px" MaxLength="50"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
									<TD></TD>
									<TD>
										<asp:TextBox id="ProjectId" runat="server" Visible="False"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 15px">
										<asp:Label id="Label3" runat="server">相关客户</asp:Label></TD>
									<TD style="HEIGHT: 15px">
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:window.open('../include/selcl.aspx?type=5','_blank','location=no, top=100, left=100,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')"
											alt="察看该项目" src="../image/mini_post.gif" width="13" height="14">&nbsp;&nbsp;
									</TD>
									<TD style="HEIGHT: 15px">
										<asp:Label id="Label4" runat="server">相关员工</asp:Label></TD>
									<TD style="HEIGHT: 15px">
										<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif" width="13" height="14">&nbsp;&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label5" runat="server">相关订单</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Order" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label6" runat="server">项目金额</asp:Label></TD>
									<TD>
										<asp:TextBox id="SumCount" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">项目开始日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="StartTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('StartTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0" width="19" height="18"></A>
										<asp:ImageButton id="ImageButton1" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/history.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label8" runat="server">项目结束日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="EndTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('EndTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0" width="19" height="18"></A>
										<asp:ImageButton id="Imagebutton2" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/history.gif"></asp:ImageButton></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; 
<asp:TextBox id="Info" runat="server" Width="600px" TextMode="MultiLine" Height="143px"></asp:TextBox>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtEdit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:Button id="Btcopy" runat="server" Text="复制当前记录"></asp:Button>&nbsp;
							<asp:Button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:Button>&nbsp;<asp:button id="Back" runat="server" Text="返回"></asp:button></P>
						<P>
							<asp:Button id="Button3" runat="server" Text="打印当前信息"></asp:Button>&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;
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo">
						<HR width="90%" SIZE="1">
						<asp:datagrid id="DGValidate" runat="server" Width="100%" Visible="False" Height="68px" ForeColor="Red"
							AutoGenerateColumns="False">
							<AlternatingItemStyle ForeColor="Red"></AlternatingItemStyle>
							<ItemStyle ForeColor="Red"></ItemStyle>
							<HeaderStyle ForeColor="Red" 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>
				<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>
						<br>
						<asp:Label id="Label1" 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>
