<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_RePayOrder, WebApp_deploy" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="pageTitle">添 加 订 单 退 款 信 息</div>
  <table  class="ShopOrderStyle" >
      <tr>
          <td width="150px" class="OrderTitle">客户姓名：</td>
          <td><asp:Label ID="LabCusName" runat="server" /></td>
      </tr>
      <tr>
          <td class="OrderTitle">支付内容：</td>
          <td>
                <table>
                    <tr >
                        <td>订单编号：</td>
                        <td><asp:Label ID="LabOrderNum" runat="server" /></td>
                    </tr>
                    <tr>
                       <td>订单金额：</td>
                       <td><asp:Label ID="LabTotalMoney" runat="server" />元<span
                                style="color: #0000ff">此笔汇款将直接用于支付此订单的费用。</span></td>
                    </tr>
                    <tr>
                        <td>已 付 款：</td>
                        <td><asp:Label ID="LabPayedMoney" runat="server"/>元</td>
                    </tr>
                </table>
          </td>
      </tr>
      <tr>
          <td class="OrderTitle">退款日期：</td>
          <td><asp:TextBox ID="ReceiptDate" runat="server" /></td>
      </tr>
      <tr>
          <td class="OrderTitle">退款手续费：</td>
          <td>
             <asp:TextBox ID="TxtPoundage" runat="server" Width="116px"  Text="0" AutoPostBack="True" CausesValidation="True" OnTextChanged="TxtPoundage_TextChanged"/>元
             <asp:RangeValidator  ID="Rav2" runat="server" ControlToValidate="TxtPoundage" ErrorMessage="格式不对"
                 MaximumValue="99999" MinimumValue="0" Type="Double"/>
             <asp:RequiredFieldValidator ID="Req3" runat="server" ControlToValidate="TxtPoundage"
                 ErrorMessage="不可以是空值"/></td>
      </tr>
      <tr>
          <td class="OrderTitle">退款金额：</td>
          <td>
               <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"/>             
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
                    <ContentTemplate>
                        <asp:TextBox ID="Money" runat="server" />元 
                        <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="不可以是空值"/>
                    </ContentTemplate>
                    <Triggers>
                       <asp:AsyncPostBackTrigger  ControlID="TxtPoundage" />
                    </Triggers>
                </asp:UpdatePanel>
          </td>
      </tr>
      <tr>
          <td class="OrderTitle">退款方式：</td>
          <td>
                <asp:RadioButtonList ID="RadioButtonList1" runat="server"     RepeatDirection="Vertical">
                    <asp:ListItem Selected="True" Value="1">从我的商城货币中退还给买家</asp:ListItem>
                    <asp:ListItem Value="0">采用其它方式：如银行转帐，现金交付等等</asp:ListItem>
          </asp:RadioButtonList></td>
      </tr>
      <tr>
          <td class="OrderTitle">备注：</td>
          <td><input id="Remark" runat="server" maxlength="200" name="Remark" size="50" /></td>
      </tr>
      <tr>
          <td class="OrderTitle">通知会员：</td>
          <td>
                <asp:CheckBox ID="CheckSendMobileMesToCus" runat="server" Text="同时发送手机短信通知买家已经退款" /><br />
                <asp:CheckBox ID="CheckSendMobileMesToRe" runat="server" Text="同时发送手机短信通知买家已经退款" /><br />
                <asp:CheckBox ID="CheckSendMesMesToCus" runat="server" Checked="True" Text="同时使用站内短信通知买家已经退款" /><br />
                <asp:CheckBox ID="CheckSendEmailMesToCus" runat="server" Text="同时使用Email通知买家已经退款" /><br />
                <asp:CheckBox ID="CheckSendEmailMesToRe" runat="server" Text="同时使用Email通知买家已经退款" />
          </td>
      </tr>
      <tr>
          <td colspan="2" >                   
              <asp:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click" />
              <asp:Button ID="Button2" runat="server" Text="返回" OnClick="Button2_Click" CausesValidation="False" />
          </td>
      </tr>
    </table>
</asp:Content>

