<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" AutoEventWireup="true"
    CodeBehind="SMSFinanceEdit.aspx.cs" Inherits="OAWeb.SMSGateway.SMSFinanceEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="form" style="width: 600px; padding: 10px;">
        <table cellpadding="0" cellspacing="0" border="0" class="table_form">
            <tr>
                <td class="right">
                    支付方式：
                </td>
                <td>
                    <asp:DropDownList ID="ddlPayType" runat="server">
                        <asp:ListItem Value="在线支付">在线支付</asp:ListItem>
                        <asp:ListItem Value="公司转帐">公司转帐</asp:ListItem>
                        <asp:ListItem Value="建设银行">建设银行</asp:ListItem>
                        <asp:ListItem Value="工商银行">工商银行</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <span style="color: Red">*</span>充值客户：
                </td>
                <td>
                    <asp:HiddenField ID="hdfCustomerId" runat="server" />
                    <asp:TextBox ID="txtCustomerName" runat="server" CssClass="text width200" ReadOnly="True"></asp:TextBox>&nbsp;<asp:Button
                        ID="btnSelect" runat="server" Text="选择" OnClientClick="OpenRadioDialog('/Dialog/CustomerDialog.aspx','选择客户',CallRadioFun);return false;" />
                </td>
            </tr>
            <tr>
                <td class="right">
                    <span style="color: Red">*</span>金额：
                </td>
                <td>
                    <asp:TextBox ID="txtAmount" runat="server" CssClass="text width80" Text="0"></asp:TextBox> <span class=" tip01">负数为扣款</span>
                </td>
            </tr>
            <tr>
                <td class="right">
                    备注:
                </td>
                <td>
                    <asp:TextBox ID="txtRemark" runat="server" CssClass="text" Width="99%" Height="75px"
                        TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input id="btnSave" type="button" value=" 充 值 " class="btn_77px" />
                    <input id="btnClose" type="button" value=" 返 回 " onclick="art.dialog.close();return false;"
                        class="btn_77px" />
                </td>
            </tr>
        </table>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#btnSave").click(function () { return FormPostAjax("/SMSGateway/SMSFinanceEdit.aspx?op=Save&id=<%=CustomerID %>", "ok", CloseReload); });
        });
        function CallRadioFun(text, value) {
            $("#<%=hdfCustomerId.ClientID %>").val(value);
            $("#<%=txtCustomerName.ClientID %>").val(text);
        }
    </script>
</asp:Content>
