<%@ Page language="c#" Codebehind="Storehouse.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarMarket.Storehouse.Storehouse" %>
<%@ Register TagPrefix="igtbl" Namespace="Infragistics.WebUI.UltraWebGrid" Assembly="Infragistics.WebUI.UltraWebGrid.v3" %>
<%@ Register TagPrefix="igtblexp" Namespace="Infragistics.WebUI.UltraWebGrid.ExcelExport" Assembly="Infragistics.WebUI.UltraWebGrid.ExcelExport.v3" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!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 cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1" colSpan="3">
						<P><STRONG>仓库</STRONG>&nbsp;&nbsp;</P>
					</TD>
				</TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD><asp:label id="Label1" runat="server">仓库名:</asp:label><asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="65px"></asp:textbox>&nbsp;&nbsp;
					</TD>
					<TD align="left">&nbsp;
						<asp:dropdownlist id="DropDownList1" runat="server" Width="57px">
							<asp:ListItem Value="可用">可用</asp:ListItem>
							<asp:ListItem Value="回收站">回收站</asp:ListItem>
						</asp:dropdownlist>&nbsp;
						<asp:button id="Button1" runat="server" Text="搜索"></asp:button>&nbsp;<asp:button id="Button2" runat="server" Text="更多条件↓"></asp:button></TD>
					<TD>&nbsp;&nbsp;
						<asp:Button id="ImBtAdd" runat="server" Text="添加记录"></asp:Button>
						&nbsp;<asp:button id="BtnDelete" runat="server" Text="删除"></asp:button>&nbsp;&nbsp;
					</TD>
				<TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD colSpan="3"><asp:panel id="Panel1" runat="server" Visible="False">
<asp:Label id="Label4" runat="server">主要负责人:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server" Width="65px"></asp:TextBox>&nbsp; 
<asp:Label id="Label5" runat="server">仓库类型:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Type" runat="server" Width="65px"></asp:TextBox>&nbsp; 
<asp:Label id="Label6" runat="server">电话:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Phone" runat="server" Width="65px"></asp:TextBox>&nbsp;&nbsp;&nbsp; 
<asp:Label id="Label7" runat="server">传真:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Fax" runat="server" Width="65px"></asp:TextBox>&nbsp;&nbsp;&nbsp; 
<asp:Label id="Label2" runat="server">地址:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Address" runat="server" Width="65px"></asp:TextBox>&nbsp;&nbsp;&nbsp; 
						</asp:panel></TD>
				<TR>
					<TD colSpan="3"><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="选择">
									<ItemTemplate>
										<INPUT type="radio" onclick='selectstore("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>","<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>")' name='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' title='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' value='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>'>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="StoreHouseEdit.aspx?id={0}&amp;mode=edit"
									DataTextField="Wsdn_StarCRM_Name" HeaderText="仓库名称"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="主要负责人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Type" HeaderText="仓库类型"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Phone" HeaderText="电话"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Fax" HeaderText="传真"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Address" HeaderText="地址"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<asp:Label id="Lgrid" runat="server"></asp:Label></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
