<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="OutSideEdit.aspx.cs" AutoEventWireup="false" validateRequest=false  Inherits="WebOCRM.Office.OutSideEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>外出申请登记表</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 width="100%" border="0" cellpadding="0" cellspacing="1">
				<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_Title" runat="server" MaxLength="50" Width="200px"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label2" runat="server">申请人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Author" runat="server"></asp:TextBox></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" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label6" runat="server">相关部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server"></asp:TextBox></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" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></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" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">批准时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_OKTime" runat="server"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_OKTime', false)"><IMG src="../image/ftb/insertdate.gif" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton4" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/mini_query.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label8" runat="server">批准人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_OKMan" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsChecked" runat="server" Text="是否批准"></asp:CheckBox></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="其他部门可见" Checked="True"></asp:CheckBox></TD>
									<TD>
										<P>
											<asp:CheckBox id="DeleteFlag" runat="server" Text="删除"></asp:CheckBox></P>
									</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="300px" ToolbarType="Office2000"></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>&nbsp;&nbsp;
							<asp:DropDownList id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Word" Selected>输出为Word</asp:ListItem>
							</asp:DropDownList>&nbsp;
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
						<P></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo">
						<asp:datagrid id="DGValidate" runat="server" AutoGenerateColumns="False" Visible="False" Height="68px"
							Width="100%">
							<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>
