<%@ page language="C#" autoeventwireup="true" inherits="Member_JXC_StockInfoOrderSelect, WebApp_deploy" title="库单的选择" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>库单的选择</title>
    <base target="_self" />
    <link href="../../Skin/Default/Member/Red.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm" runat="server">
    </asp:ScriptManager>
    <div id="MainMenu">
        <div class="TabText">
            <div style="line-height: 2px;">
                &nbsp;</div>
            <div>
                &nbsp;&nbsp;&nbsp;&nbsp;<asp:Literal ID="ltrProType" runat="server">选择库单</asp:Literal></div>
            <asp:UpdatePanel ID="upGv" runat="server">
                <ContentTemplate>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" ForeColor="Black"
                        AllowPaging="True" PageSize="10" DataKeyNames="InfoOrderID" CssClass="tableHead"
                        OnPageIndexChanging="GridView1_PageIndexChanging">
                        <Columns>
                            <asp:TemplateField HeaderText="库单号码">
                                <ItemTemplate>
                                    <a style="cursor: pointer;" onclick='javascript:window.returnValue=<%# Eval("InfoOrderID")%>;window.close();'>
                                        <asp:Label ID="lblInfoNumber" runat="server" Text='<%#Eval("InfoNumber")%>'></asp:Label>
                                    </a>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="类型">
                                <ItemTemplate>
                                    <asp:Literal ID="TradeType" Text='<%# HoWave.Web.Shop.TextFormat.GetProductType(Eval("TradeType").ToString()) %>'
                                        runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="CreateDate" DataFormatString="{0:yy-MM-dd}" HeaderText="时间">
                            </asp:BoundField>
                            <asp:BoundField DataField="MoneyGoods" HeaderText="商品金额">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Deliver_TotalPrice" HeaderText="运费">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Invoice_TotalPrice" HeaderText="发票税额">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MoneyTotal" HeaderText="订单金额">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Fee" HeaderText="手续费"></asp:BoundField>
                            <asp:BoundField DataField="ReceiptMoney" HeaderText="应收金额">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                            <asp:BoundField DataField="AlreadyReceiptMoney" HeaderText="已收金额">
                                <ItemStyle ForeColor="Green" />
                            </asp:BoundField>
                        </Columns>
                        <EmptyDataTemplate>
                            <table class="tableHeader" style="width: 98%">
                                <tr>
                                    <th>
                                        库单编号
                                    </th>
                                    <th>
                                        类型
                                    </th>
                                    <th>
                                        时间
                                    </th>
                                    <th>
                                        商品金额
                                    </th>
                                    <th>
                                        运费
                                    </th>
                                    <th>
                                        发票税额
                                    </th>
                                    <th>
                                        订单金额
                                    </th>
                                    <th>
                                        手续费
                                    </th>
                                    <th>
                                        应收金额
                                    </th>
                                    <th>
                                        已收金额
                                    </th>
                                    <tr>
                                        <td colspan="10">
                                            没有符合查询条件的记录！
                                        </td>
                                    </tr>
                            </table>
                        </EmptyDataTemplate>
                        <PagerStyle CssClass="productPageStyle" />
                    </asp:GridView>
                    <table class="SearchTableStyle" style="text-align: left" class="page">
                        <caption style="float: left; line-height: 30px">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Literal ID="ltrPagePanel" runat="server"></asp:Literal>&nbsp;&nbsp;&nbsp;&nbsp;
                        </caption>
                    </table>
                    <div style="line-height: 2px;">
                        &nbsp;</div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
    </form>
</body>
</html>
