<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Member_Shop_PayOrder, mallz" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

  <div class="pageTitle">订 单 支 付</div>
  <table class="ShopOrderStyle" >
        <tr >
            <td class="OrderTitle">订单编号：</td>
            <td><asp:Label ID="LabOrderNum" runat="server" /></td>
        </tr>
        <tr>
           <td class="OrderTitle">订单金额：</td>
           <td><asp:Label ID="LabTotalMoney" runat="server" /> 元
           </td>
        </tr>
        <tr>
            <td class="OrderTitle">已 付 款：</td>
            <td><asp:Label ID="LabPayedMoney" runat="server"/> 元</td>
        </tr>
      <tr runat="server" id="BalanceTr">
        <td class="OrderTitle">帐户余额：</td>
        <td><asp:Literal ID="LitBalance" runat="server" /> <a href="Shop_Account.aspx" target="_blank">充值</a></td>
      </tr>
      <tr>
          <td class="OrderTitle">付款方式：</td>
          <td>
                <asp:RadioButtonList ID="PayTypeList" runat="server" RepeatDirection="Vertical" RepeatLayout="Flow" DataTextField="TypeName" DataValueField="TypeID" AppendDataBoundItems="true" AutoPostBack="true">
                    <asp:ListItem Selected="True" Value="0">商城帐户支付</asp:ListItem>
                </asp:RadioButtonList>
          </td>
      </tr>
      <tr>
          <td class="OrderTitle">收款日期：</td>
          <td><asp:TextBox ID="ReceiptDate" Enabled="false" runat="server" /></td>
      </tr>
      <tr id="PoundageTr" runat="server">
          <td class="OrderTitle">手续费：</td>
          <td>
             <asp:TextBox ID="TxtPoundage" runat="server" Width="40px" Text="0" Enabled="false"/> %
             </td>
      </tr>
      <tr>
          <td class="OrderTitle">付款金额：</td>
          <td>
                <asp:TextBox ID="Money" runat="server" EnableViewState="true" />元 
                <asp:RangeValidator ID="Rav1" runat="server" ControlToValidate="Money"  ErrorMessage="格式不对" MaximumValue="9999999999" MinimumValue="0.0001" Type="Double"/>
                <asp:RequiredFieldValidator ID="Req1" runat="server" ControlToValidate="Money"  ErrorMessage="不可以是空值"/>
          </td>
      </tr>
      <tr>
          <td class="OrderTitle">备注：</td>
          <td><asp:TextBox ID="Remark" Text="支付订单" runat="server" MaxLength="300" Width="300px" Height="50px" TextMode="MultiLine"/>
          </td>
      </tr>
      <tr>
          <td class="OrderTitle">通知会员：</td>
          <td>
                <asp:CheckBox ID="CheckSendMobileMesToCus" runat="server" Text="同时发送手机短信通知" /><br />
                <asp:CheckBox ID="CheckSendMesMesToCus" runat="server" Checked="True" Text="同时使用站内短信通知" /><br />
                <asp:CheckBox ID="CheckSendEmailMesToCus" runat="server" Text="同时使用Email通知" /><br />
          </td>
      </tr>
      <tr>
          <td colspan="2" align="center" style="text-align:center;">                   
              <asp:Button ID="butSubmit" runat="server" Text=" 确认提交 " OnClick="Button1_Click" OnClientClick="return confirm('确认无误并支付吗？')" />
              <asp:Button ID="Button2" runat="server" Text=" 取消返回 " OnClientClick="history.back();return false;" CausesValidation="False" />
          </td>
      </tr>
    </table>
</asp:Content>

