<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    CodeBehind="UserGroupUpgradeSetting.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.User.UserGroupUpgradeSetting"
    Title="会员组升级设置" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
    <table width="100%" border="0" cellpadding="2" cellspacing="1" class="border">
        <tr align="center">
            <td colspan="2" class="spacingtitle">
                <b>
                    <asp:Label ID="LblTitle" runat="server" Text="设置会员组升级参数"></asp:Label>
                </b>
            </td>
        </tr>
        <tr class="tdbg">
            <td colspan="2">
                <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                    <tr class="tdbg">
                        <td class="tdbgleft">
                            <strong>会员组名称：</strong>
                        </td>
                        <td>
                            <asp:Label ID="LblGroupName" runat="server" Text="" />
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft">
                            <strong>会员组类型：</strong>
                        </td>
                        <td>
                            <asp:Label ID="LblGropType" runat="server" Text="" />
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft">
                            <strong>会员组说明：</strong>
                        </td>
                        <td>
                            <asp:Label ID="LblDescription" runat="server" Text="" />
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户可升级到的会员组：</strong>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropUpgradeToUserGroup" runat="server" AutoPostBack="true"
                                OnSelectedIndexChanged="DropUpgradeToUserGroup_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>是否允许升级：</strong>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadlAutoUpgrade" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="tdbg">
            <td colspan="2">
                <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup1"
                                runat="server" Text="" />所需的总资金金额：</strong>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtMoney" runat="server"></asp:TextBox>
                            <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TxtMoney"
                                Display="Dynamic" MinimumValue="1" MaximumValue="999999" Type="Double" ErrorMessage="设置的总资金金额须在1至999999之间"></asp:RangeValidator>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup2"
                                runat="server" Text="" />所需的消费资金金额：</strong>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtConsumeMoney" runat="server"></asp:TextBox>
                            <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="TxtConsumeMoney"
                                Display="Dynamic" MinimumValue="1" MaximumValue="999999" Type="Double" ErrorMessage="设置的消费资金金额须在1至999999之间"></asp:RangeValidator>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup3"
                                runat="server" Text="" />所需的总<pe:ShowPointName ID="ShowPointName2" runat="server" />数：</strong>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtPoint" runat="server"></asp:TextBox>
                            <asp:RangeValidator ID="RangePoint" runat="server" ControlToValidate="TxtPoint"
                                Display="Dynamic" MinimumValue="1" MaximumValue="9999" Type="Integer" ErrorMessage="RangeValidator"></asp:RangeValidator>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup4"
                                runat="server" Text="" />所需的累记消费<pe:ShowPointName ID="ShowPointName1" runat="server" />数：</strong>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtConsumePoint" runat="server"></asp:TextBox>
                            <asp:RangeValidator ID="RangCusumePoint" runat="server" ControlToValidate="TxtConsumePoint"
                                Display="Dynamic" MinimumValue="1" MaximumValue="9999" Type="Integer"></asp:RangeValidator>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 330px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup8"
                                runat="server" Text="" />所需的总积分数：</strong>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUserExp" runat="server"></asp:TextBox>
                            <asp:RangeValidator ID="RangeValidator5" runat="server" ControlToValidate="TxtUserExp"
                                Display="Dynamic" MinimumValue="1" MaximumValue="999999" Type="Integer" ErrorMessage="设置的总积分须在1至999999之间"></asp:RangeValidator>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="tdbg">
            <td colspan="3">
                <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 220px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup5"
                                runat="server" Text="" /></strong>
                        </td>
                        <td class="tdbgleft" style="width: 104px">
                            <asp:RadioButtonList ID="RadlUpgradeMoney" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="0">扣除</asp:ListItem>
                                <asp:ListItem Value="1">奖励</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUpgradeNeedMoney" runat="server"></asp:TextBox>元资金
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 220px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup6"
                                runat="server" Text="" /></strong>
                        </td>
                        <td class="tdbgleft" style="width: 104px">
                            <asp:RadioButtonList ID="RadlUpgradePoint" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="0">扣除</asp:ListItem>
                                <asp:ListItem Value="1">奖励</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUpgradeNeedPoint" runat="server"></asp:TextBox><pe:ShowPointName
                                ID="ShowPointName8" runat="server" PointType="PointUnit" /><pe:ShowPointName ID="ShowPointName5"
                                    runat="server" />
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 220px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup7"
                                runat="server" Text="" /></strong>
                        </td>
                        <td class="tdbgleft" style="width: 104px">
                            <asp:RadioButtonList ID="RadlUpgradeValidDate" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="0">扣除</asp:ListItem>
                                <asp:ListItem Value="1">奖励</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUpgradeNeedValidDate" runat="server"></asp:TextBox>天有效期
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft" style="width: 220px">
                            <strong>本会员组的用户升级到<pe:ExtendedLabel HtmlEncode="false" ID="LblUpgradeToUserGroup9"
                                runat="server" Text="" /></strong>
                        </td>
                        <td class="tdbgleft" style="width: 104px">
                            <asp:RadioButtonList ID="RadlUpgradeUserExp" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True" Value="0">扣除</asp:ListItem>
                                <asp:ListItem Value="1">奖励</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtUpgradeNeedUserExp" runat="server"></asp:TextBox>积分
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <br />
    <br />
    <center>
        <br />
        <asp:Button ID="BtnSubmit" runat="server" Text="保存" OnClick="ButtonSubmit_Click" />&nbsp;&nbsp;&nbsp;
        <asp:Button ID="BtnCancel" runat="server" Text="取消" OnClick="ButtonCancel_Click" />
    </center>
    <br />
</asp:Content>
