<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="ThingsEdit.aspx.cs" AutoEventWireup="false" validateRequest=false  Inherits="WsdnStarOA.Office.ThingsEdit" %>
<!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:Label id="LabelCF" runat="server"></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 style="HEIGHT: 17px">
										<asp:Label id="Label2" runat="server">物品名</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="200px"></asp:TextBox>
										<asp:TextBox id="Wsdn_StarCRM_Id" runat="server" Width="1px"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">序列号</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Ser" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label5" runat="server">物品类型</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Type" runat="server"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('物品类型','Wsdn_StarCRM_Type');" alt="察看该项目" src="../image/mini_post.gif">
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label10" runat="server">保管负责人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server"></asp:TextBox><IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif"></TD>
									<TD>
										<asp:Label id="Label11" runat="server">所属部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_DepartMent" runat="server"></asp:TextBox>&nbsp;</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" runat="server">现有数量</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Num" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">单价</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Price" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label16" runat="server">录入时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server"></asp:TextBox></TD>
									<TD></TD>
									<TD>&nbsp;
										<asp:checkbox id="DeleteFlag" runat="server" Text="删除"></asp:checkbox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1" style="HEIGHT: 27px"><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%" SupportFolder="~/FreeTextBox/"
											ToolbarBackgroundImage="False" DesignModeCss="WsdnOrgInfo" HtmlModeCss="WsdnOrgInfo" DropDownListCssClass="WsdnOrgInfo"
											Height="280px" 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="Button2" runat="server" Text="返回办公物品列表"></asp:button></P>
						<P><asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button><asp:dropdownlist id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Word" Selected>输出为Word</asp:ListItem>
							</asp:dropdownlist><FONT face="宋体">&nbsp;</FONT>
							<asp:button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:button></P>
						<P><asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
						<P>
							<HR width="100%" SIZE="1">
							<asp:datagrid id="DGValidate" runat="server" Width="100%" Height="68px" ForeColor="Red" AutoGenerateColumns="False"
								Visible="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 class="WsdnOrgInfo">
						<P><FONT face="宋体"></FONT>&nbsp;</P>
					</TD>
				</TR>
				<TR>
					<TD colSpan="4">
						<P>
							<asp:datagrid id="Datagrid2" runat="server" Width="100%" AutoGenerateColumns="False" PageSize="15"
								AllowPaging="True">
								<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
								<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
								<FooterStyle HorizontalAlign="Right"></FooterStyle>
								<Columns>
									<asp:BoundColumn DataField="Wsdn_StarCRM_id" HeaderText="ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="使用人"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_DepartMent" HeaderText="所属部门"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Num" HeaderText="使用数量"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_StartTime" HeaderText="开始使用时间"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_EndTime" HeaderText="结束使用时间"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="录入时间"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_State" HeaderText="物品状态"></asp:BoundColumn>
									<asp:BoundColumn DataField="Wsdn_StarCRM_Rate" HeaderText="折旧程度"></asp:BoundColumn>
									<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
								</Columns>
								<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
							</asp:datagrid></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1" style="HEIGHT: 27px"><asp:button id="Button3" runat="server" Text="添加物品使用流动记录↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel2" runat="server" Visible="False">
							<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_EmployeeLog" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label4" runat="server">所属部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_DepartMentLog" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label6" runat="server">使用数量</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_NumLog" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label7" runat="server">开始使用时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_StartTime" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_StartTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label12" runat="server">结束使用时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_EndTime" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_EndTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A></TD>
									<TD>
										<asp:Label id="Label13" runat="server">录入时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_TimeLog" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_TimeLog', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label14" runat="server">物品状态</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_State" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label15" runat="server">折旧程度</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Rate" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label17" runat="server">备注</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_InfoLog" runat="server" Width="431px" Rows="3" TextMode="MultiLine"></asp:TextBox></TD>
								</TR>
							</TABLE>
							<asp:Button id="Button4" runat="server" Text=" 添加 "></asp:Button>
						</asp:panel>
						<P>
							<asp:Label id="Label40" runat="server">相关文件：</asp:Label></P>
						<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>
