<%@ Page language="c#" Codebehind="SaleSearch.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarMarket.Order.SaleSearch" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>BuyCal</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">
		<uc1:css id="Css1" runat="server"></uc1:css>
		<form id="Form1" method="post" runat="server">
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:label id="L1" runat="server" Font-Bold="True"></asp:label>&nbsp;&nbsp;</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:label id="Label1" runat="server">统计时间,从</asp:label>
						<asp:textbox id="T1" runat="server" Width="65px"></asp:textbox>
						<A title="选择时间" href="javascript:OpenCalendar('T1', false)"><IMG src="../image/mini_post.gif" align="absMiddle" border="0" width="13" height="14"></A>
						<asp:label id="Label2" runat="server">到</asp:label>
						<asp:textbox id="T2" runat="server" Width="65px"></asp:textbox>
						<A title="选择时间" href="javascript:OpenCalendar('T2', false)"><IMG src="../image/mini_post.gif" align="absMiddle" border="0" width="13" height="14"></A>
						<asp:Label id="Label3" runat="server">客户</asp:Label>
						<asp:textbox id="Wsdn_StarCRM_Client" runat="server" Width="65px"></asp:textbox><IMG onclick="javascript:selectclient();" alt="选择客户" src="../image/mini_post.gif" width="13" height="14"><FONT face="宋体">&nbsp;</FONT>
						<asp:Label id="Label4" runat="server">业务员</asp:Label>
						<asp:textbox id="Wsdn_StarCRM_Employee" runat="server" Width="65px"></asp:textbox><IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif" width="13" height="14">
						<asp:button id="Button1" runat="server" Text=" 搜索 "></asp:button>
						<asp:TextBox id="Wsdn_StarCRM_Clientid" runat="server" Width="0px" ReadOnly="True"></asp:TextBox>
					</TD>
				</TR>
				<TR>
					<TD><asp:datagrid id="Datagrid2" runat="server" Width="100%" AutoGenerateColumns="False" PageSize="15"
							ShowFooter="True">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="录入时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Id" HeaderText="单号"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Client" HeaderText="客户"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Product" HeaderText="产品名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Unit" HeaderText="单位"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Spec" HeaderText="规格"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Num" HeaderText="数量"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Price" HeaderText="销售单价"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Amount" HeaderText="总价"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_PayAmount" HeaderText="已收金额"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Info" HeaderText="销售备注"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_SInfo" HeaderText="出货备注"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_SInfo" HeaderText="收款备注"></asp:BoundColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid><asp:label id="Lgrid" runat="server"></asp:label></TD>
				</TR>
				<TR>
					<TD align="right" style="HEIGHT: 16px">
						<asp:Button id="Button2" runat="server" Text=" 输出 "></asp:Button></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
