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

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width: 700px; padding: 10px">
        <table class="data_title" cellspacing="3">
            <tr>
                <td class="data_field">
                    序列号：<asp:TextBox ID="txtProductSN" runat="server" CssClass="text_box width120"></asp:TextBox>
                    客户：<asp:TextBox ID="txtCustomerName" runat="server" CssClass="text_box width120"></asp:TextBox>
                    交付状态：<asp:DropDownList ID="ddlAuditState" runat="server">
                        <asp:ListItem Value="">所有</asp:ListItem>
                        <asp:ListItem Value="1">已交付</asp:ListItem>
                        <asp:ListItem Value="0">未交付</asp:ListItem>
                    </asp:DropDownList>
                    <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="SNId"
                GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                OnRowDataBound="gvData_RowDataBound">
                <RowStyle HorizontalAlign="Left" />
                <Columns>
                    <asp:TemplateField HeaderText="">
                        <ItemTemplate>
                            <input id='rdoItem' name='rdoItem' type='radio' value='<%#Eval("AuditState") %>'
                                text='<%#Eval("ProductSN") %>' />
                        </ItemTemplate>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="White"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" Width="10px"></ItemStyle>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ProductSN" HeaderText="序列号"></asp:BoundField>
                    <asp:BoundField DataField="CustomerCompanyName" HeaderText="所属客户"></asp:BoundField>
                    <asp:BoundField DataField="AuditDate" HeaderText="交付日期"></asp:BoundField>
                    <asp:TemplateField HeaderText="交付状态">
                        <ItemTemplate>
                            <%# Eval("AuditStateText") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="UseStateText" 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="20" SubmitButtonText="跳 转" UrlPaging="True">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
</asp:Content>
