<%@ control language="C#" autoeventwireup="true" inherits="UserControls_shopOrder, WebApp_deploy" %>
<table class="shop_order">
<tr>
<td colspan="4">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%">
    <Columns>
        <asp:HyperLinkField DataNavigateUrlFields="productID" DataNavigateUrlFormatString="../ShowProduct.aspx?ProductID={0}"
            DataTextField="productName" HeaderText="商品名称" >
            <ItemStyle HorizontalAlign="Center" Width="40%" />
        </asp:HyperLinkField>
        <asp:BoundField DataField="productNum" HeaderText="数量" >
            <ItemStyle HorizontalAlign="Center" Width="13%" />
        </asp:BoundField>
        <asp:BoundField DataField="total" HeaderText="金额" >
            <ItemStyle HorizontalAlign="Center" Width="13%" />
        </asp:BoundField>
        <asp:TemplateField HeaderText="是否有发票">
            <ItemStyle HorizontalAlign="Center" Width="13%" />
            <ItemTemplate>
                <asp:CheckBox ID="isNeedInvoice" runat="server" Checked='<%# Eval("NeedInvoice") %>'
                    Enabled="False" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="是否需要发票">
            <ItemStyle HorizontalAlign="Center" Width="13%" />
            <ItemTemplate>
                <asp:CheckBox ID="cb_select" runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox1_CheckedChanged" />
                <asp:HiddenField ID="hd_NeedInvoice" runat="server" Value='<%# Eval("TaxRate") %>' />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
    <asp:HiddenField ID="hd_NeedInvoice" runat="server" Value="0" />
    <asp:HiddenField ID="hd_deliverType" runat="server" />
    <asp:HiddenField ID="hd_NeedInvoiceOrder" runat="server" />
    <asp:HiddenField ID="hd_InvoiceTotalPrice" runat="server" />
</td>
</tr>
<tr>
        <td style="height: 20px">配送方式</td><td style="height: 20px">配送费用</td><td style="height: 20px">商品总价</td><td style="height: 20px">订单总价</td>
        </tr>
        <tr>
        <td>
            <asp:Label ID="Label1" runat="server" Text=""></asp:Label></td>
        <td>
            <asp:Label ID="Label2" runat="server" Text=""></asp:Label></td>
        <td>
            <asp:Label ID="Label3" runat="server" Text=""></asp:Label></td>
        <td>
            <asp:Label ID="Label4" runat="server" Text=""></asp:Label></td>
        </tr>
    <tr>
        <td colspan="2">
            订货人信息</td>
            <td colspan="2">
            收货人信息</td>
    </tr>
    <tr>
        <td colspan="2">
        <ul>
        <li style="float:left;text-align:right;">姓名：</li><li style="float:left">
            <asp:Label ID="Label5" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">电话：</li><li style="float:left">
            <asp:Label ID="Label6" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">地址：</li><li style="float:left">
            <asp:Label ID="Label7" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">邮编：</li><li style="float:left">
            <asp:Label ID="Label8" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">Email：</li><li style="float:left">
            <asp:Label ID="Label9" runat="server"></asp:Label></li>
        </ul>
        </td>
        <td colspan="2">
                <ul>
        <li style="float:left;text-align:right;">姓名：</li><li style="float:left">
            <asp:Label ID="Label10" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">电话：</li><li style="float:left">
            <asp:Label ID="Label11" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">地址：</li><li style="float:left">
            <asp:Label ID="Label12" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">邮编：</li><li style="float:left">
            <asp:Label ID="Label13" runat="server"></asp:Label></li>
        </ul>
        <br />
        <ul>
        <li style="float:left;text-align:right;">Email：</li><li style="float:left">
            <asp:Label ID="Label14" runat="server"></asp:Label></li>
        </ul>
        
        </td>
    </tr>
    <tr>
        <td colspan="4">
            订单费用计算：订单总价＝商品总价＋发票税率＋配送费用</td>
    </tr>
    
    <tr runat="server" id="inverText"><td colspan="4">
        请填写发票头<asp:TextBox ID="TextBox1" runat="server" Height="63px" TextMode="MultiLine" Width="391px"></asp:TextBox></td></tr>
</table>
