<%@ page language="C#" validaterequest="false" masterpagefile="../ShopMasterPage/MyShop.master" enableeventvalidation="false" autoeventwireup="true" inherits="Shop_Manage_Shop_VIPCard, HoWaveVGO" title="ＶＩＰＣ卡管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pageTitle">会员卡设置</div>
    <table class="ShopOrderStyle" style="text-align:left; padding-top:3px;">  
    <caption>非会员</caption> 
        <tr>
           <td colspan="2">
               优惠设置</td>
        </tr>   
        <tr>
            <td class="OrderTitle">凭卡购物折扣：</td>
            <td>
                <asp:TextBox ID="GiveDiscount1" runat="server" Text="100"/>%，0和100表示没有优惠              <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="GiveDiscount1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator8" runat="server" ControlToValidate="GiveDiscount1" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">
                凭卡返还点券：</td>
            <td>
                <asp:TextBox ID="GiveExp1" runat="server" Text="0"/>表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="GiveExp1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator13" runat="server" ControlToValidate="GiveExp1" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还积分：</td>
            <td style="height: 28px">
                <asp:TextBox ID="GivePoint1" runat="server" Text="0"/>0表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="GivePoint1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator9" runat="server" ControlToValidate="GivePoint1" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还现金券：</td>
            <td>
                <asp:TextBox ID="GiveMoney1" runat="server" Text="0"/>0表示不返还现金券<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="GiveMoney1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator15" runat="server" ControlToValidate="GiveMoney1"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
     <tr><th colspan="2" style="border-top:0px;">普通会员卡</th></tr>
         <tr>
           <td colspan="2">
               优惠设置</td>
        </tr>   
        <tr>
            <td class="OrderTitle">凭卡购物折扣：</td>
            <td>
                <asp:TextBox ID="GiveDiscount2" runat="server" Text="100"/>%，0和100表示没有优惠<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="GiveDiscount2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator10" runat="server" ControlToValidate="GiveDiscount2" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">
                凭卡返还点券：</td>
            <td>
                <asp:TextBox ID="GiveExp2" runat="server" Text="0"/>表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="GiveExp2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator16" runat="server" ControlToValidate="GiveExp2" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还积分：</td>
            <td>
                <asp:TextBox ID="GivePoint2" runat="server" Text="0"/>0表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="GivePoint2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator11" runat="server" ControlToValidate="GivePoint2" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还现金券：</td>
            <td style="height: 28px">
                <asp:TextBox ID="GiveMoney2" runat="server" Text="0"/>0表示不返还现金券              <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="GiveMoney2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator14" runat="server" ControlToValidate="GiveMoney2"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
        <tr><th colspan="2" style="border-top:0px;"><b>VIP卡</b></th></tr>
         <tr>
           <td colspan="2">升级设置</td>
        </tr>   
        <tr>
            <td class="OrderTitle">积分：</td>
            <td style="width:300px">
                <asp:TextBox ID="TxtPresentExp1" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Rqv1" runat="server" ControlToValidate="TxtPresentExp1"  ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav1" runat="server" ControlToValidate="TxtPresentExp1" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" />
            </td>
        </tr>
        <tr>
            <td class="OrderTitle">点数</td>
            <td>
                <asp:TextBox ID="TxtPresentPoin1" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Rqv2" runat="server" ControlToValidate="TxtPresentPoin1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav2" runat="server" ControlToValidate="TxtPresentPoin1"  CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0"  Type="Integer"/></td>
        </tr>
        <tr>
            <td class="OrderTitle">交易次数：</td>
            <td>
                <asp:TextBox ID="TxtTransCount1" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Ref3" runat="server" ControlToValidate="TxtTransCount1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav3" runat="server" ControlToValidate="TxtTransCount1"
                    CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0"
                    Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">交易额合计：</td>
            <td>
                <asp:TextBox ID="TxtTransMoney1" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Rqv4" runat="server" ControlToValidate="TxtTransMoney1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav4" runat="server" ControlToValidate="TxtTransMoney1"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
        <tr>
            <td colspan="2">
                优惠设置</td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡购物折扣：</td>
            <td>
                <asp:TextBox ID="GiveDiscount3" runat="server" Text="100"/>%，0和100表示没有优惠<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="GiveDiscount1"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="GiveDiscount1" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">
                凭卡返还点券：</td>
            <td>
                <asp:TextBox ID="GiveExp3" runat="server" Text="0"/>表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="GiveExp3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator17" runat="server" ControlToValidate="GiveExp3" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还积分：</td>
            <td>
                <asp:TextBox ID="GivePoint3" runat="server" Text="0"/>0表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="GivePoint3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="GivePoint3" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还现金券：</td>
            <td>
                <asp:TextBox ID="GiveMoney3" runat="server" Text="0"/>0表示不返还现金券<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="GiveMoney3"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="GiveMoney3"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
            <tr><th colspan="2" style="border-top:0px;" ><b>高级会员卡</b></th></tr>
          <tr>
           <td colspan="2">升级设置</td>
        </tr> 
        <tr>
            <td class="OrderTitle">积分：</td>
            <td style="height: 28px">
                <asp:TextBox ID="TxtPresentExp2" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Rev5" runat="server" ControlToValidate="TxtPresentExp2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav5" runat="server" ControlToValidate="TxtPresentExp2"
                    CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0"
                    Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">点数</td>
            <td>
                <asp:TextBox ID="TxtPresentPoint2" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="Rev6" runat="server" ControlToValidate="TxtPresentPoint2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="Rav6" runat="server" ControlToValidate="TxtPresentPoint2"
                    CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0"
                    Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle"> 交易次数：</td>
            <td>
                <asp:TextBox ID="TxtTransCount2" runat="server" Text="0"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TxtTransCount2"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator7" runat="server" ControlToValidate="TxtTransCount2"
                    CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0"
                    Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">交易额合计：</td>
            <td>
                <asp:TextBox ID="TxtTransMoney2" runat="server" Text="0" />
                <asp:RequiredFieldValidator ID="Rev8" runat="server" ControlToValidate="TxtTransMoney2"
                    ErrorMessage="不能空"/>
               <asp:RangeValidator ID="Rav8" runat="server" ControlToValidate="TxtTransMoney2"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
        <tr>
            <td colspan="2">
                优惠设置</td>
        </tr>
           <tr>
            <td class="OrderTitle">凭卡购物折扣：</td>
            <td>
                <asp:TextBox ID="GiveDiscount4" runat="server" Text="100"/>%，0和100表示没有优惠<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="GiveDiscount4"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator4" runat="server" ControlToValidate="GiveDiscount4" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">
                凭卡返还点券：</td>
            <td>
                <asp:TextBox ID="GiveExp4" runat="server" Text="0"/>表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="GiveExp4"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator12" runat="server" ControlToValidate="GiveExp4" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还积分：</td>
            <td>
                <asp:TextBox ID="GivePoint4" runat="server" Text="0"/>表示不返还有积分<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="GivePoint4"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator5" runat="server" ControlToValidate="GivePoint4" CultureInvariantValues="True" ErrorMessage="整数" MaximumValue="999999999" MinimumValue="0" Type="Integer" /></td>
        </tr>
        <tr>
            <td class="OrderTitle">凭卡返还现金：</td>
            <td>
                <asp:TextBox ID="GiveMoney4" runat="server" Text="0"/>0表示不返还现金券<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="GiveMoney4"
                    ErrorMessage="不能空"/>
                <asp:RangeValidator ID="RangeValidator6" runat="server" ControlToValidate="GiveMoney4"
                    ErrorMessage="数字类型１.００" MaximumValue="999999999" MinimumValue="0" Type="Double" /></td>
        </tr>
        <tr>
            <td colspan="2"><asp:CheckBox ID="CheckIsupgrade" runat="server" Text="已有级别会员只升不降" /></td>
        </tr>
        <tr>
            <td  colspan="2" style="text-align:center;">
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="保存"  Width="200px"/>
            </td>
        </tr>
    </table>
</asp:Content>

