<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" AutoEventWireup="true"
    CodeBehind="OrderSelectDialog.aspx.cs" Inherits="OAWeb.Dialog.OrderSelectDialog" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width: 700px; height: 470px; padding: 10px">
        <table class="data_title" cellspacing="3">
            <tr>
                <td class="data_field">
                    订单号：<asp:TextBox ID="txtOrderSN" runat="server" CssClass="text_box"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="搜 索" CssClass="btn_77px" />
                </td>
            </tr>
        </table>
        <div class="list">
            <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                OnRowDataBound="gvData_RowDataBound">
                <RowStyle HorizontalAlign="Left" />
                <Columns>
                    <asp:TemplateField >
                        <ItemTemplate>
                            <input id="rdoItem" name="rdoItem" type="radio" value="<%#Eval("Id") %>" text="<%#Eval("OrderSN") %>" />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="White"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="10px"></ItemStyle>
                    </asp:TemplateField>
                    <asp:BoundField DataField="OrderSN" HeaderText="订单号"></asp:BoundField>
                    <asp:BoundField DataField="OrderDate" HeaderText="下单时间"></asp:BoundField>
                    <asp:BoundField DataField="CustomerName" HeaderText="客户名称"></asp:BoundField>
                    <asp:BoundField DataField="OrderTotal" HeaderText="订单金额" DataFormatString="￥{0:f2}">
                    </asp:BoundField>
                    <asp:BoundField HeaderText="交易状态" />
                    <asp:BoundField DataField="TrackUserName" HeaderText="业务员"></asp:BoundField>
                </Columns>
            </asp:GridView>
            <div class="pager-bar">
                <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                    PageSize="10" NextPageText="下一页" LastPageText="页 尾" FirstPageText="第一页" PrevPageText="上一页"
                    ShowBoxThreshold="10" SubmitButtonText="跳 转" UrlPaging="True">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
