<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_TeamSum, WebApp_deploy" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="pageTitle"><asp:Literal runat="server" ID="LabProductName" /></div>
    <br />
    <table class="SearchTableStyle">
        <tr runat="server" id="TeamName1Tr">
            <td style="width:10%; text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName1" /></td>
            <td>
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#(Eval("Status").ToString() == "1") ? "团购成功" : ""%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr runat="server" id="TeamName2Tr" visible="false">
            <td style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName2" /></td>
            <td>
                <asp:Repeater ID="Repeater2" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#(Eval("Status").ToString() == "1") ? "团购成功" : ""%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr runat="server" id="TeamName3Tr" visible="false">
            <td style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName3" /></td>
            <td>
                <asp:Repeater ID="Repeater3" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#(Eval("Status").ToString() == "1") ? "团购成功" : ""%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr runat="server" id="TeamName4Tr" visible="false">
            <td style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName4" /></td>
            <td>
                <asp:Repeater ID="Repeater4" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#(Eval("Status").ToString() == "1") ? "团购成功" : ""%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr runat="server" id="TeamName5Tr" visible="false">
            <td style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName5" /></td>
            <td>
                <asp:Repeater ID="Repeater5" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#(Eval("Status").ToString() == "1") ? "团购成功" : ""%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
    </table>
</asp:Content>

