<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="salestrategy_view.aspx.cs" Inherits="VA.Modules.JDingMember.sale.salestrategy_view" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <!--#include virtual="/include/css/edit.aspx"-->
    <!--#include virtual="/include/js/edit.aspx"-->     
    <script type="text/javascript">

    </script>

    <style type="text/css">
        .layoutTable {
            width:100%;     
            border-collapse:collapse;
            font-size:14px;
        }
        .layoutTable .layoutTableth{
            text-align:center;
            width:106px;
            background-color:#EDF6FA;
            border-right:0px;
        }
        .layoutTable td
        {
            border:solid 1px #B9CAD3;
        }
    </style>
</head>
<body>
<form id="Form1" method="post" runat="server">

<div class="editPageWrapper" style="width:700px;">

<div class="centerFormTitle">
   <h1><asp:Label ID="lblFormTitle" runat="server">设置营销规则</asp:Label></h1>
</div>

<table cellspacing="0" cellpadding="3" class="editTable" style="margin-top:-1px;">
<tr>
<td class="th">优惠类型：</td>
<td>    
    充值优惠
</td>
</tr>
<tr>
<td class="th">策略名称：</td>
<td>    
    <VACTL:TextBox ID="txtRemark" Runat="server"
        EnableViewState="False"
        CssClass="input"
        Width="580px"
        MaxLength="100"
        />        
</td>
</tr>
</table>   
    
<table cellspacing="0" cellpadding="0" class="layoutTable" style="width:100%;margin-top:-1px;">
<tr>
<td class="layoutTableth"><asp:CheckBox ID="ckbDonateGift" runat="server" Text="赠送礼品" /> </td>     
<td style="border:0px;">
    <table id="tbDonateGiftTitle" cellspacing="0" cellpadding="3" class="editTable">
    <tr>
    <td class="th" style="font-weight:bold;text-align:left;font-size:12px;padding:0px;padding-left:5px;">
        规则
    </td>
    </tr>
    </table>
    <table id="tbDonateGiftRuleList" cellspacing="0" class="formEditListTable" style="width:100%;margin-top:-1px;">
    <thead>
    <tr>
    <td style="width:30px;text-align:center;">No.</td>
    <td style="width:70px;text-align:center;">代码</td>
    <td style="width:300px;text-align:center;">品名</td>
    <td style="width:50px;text-align:center;">单位</td>
    <td style="width:50px;text-align:center;">数量</td>
    <td style="text-align:center;">操作</td>
    </tr>    
    </thead>    

    <tbody>
    
    </tbody>
    </table>
    <table id="tbNoDonateGiftRule" cellspacing="0" cellpadding="3" class="editTable">
    <tr>
    <td style="text-align:center;height:100px;border-top:0px;border-bottom:0px;">
        暂无数据
    </td>
    </tr>
    </table>
    <table id="tbDonateGiftRuleAdd" cellspacing="0" cellpadding="3" class="editTable" style="margin-top:-1px;">
    <tr>
    <td style="text-align:right;border-bottom:0px;">
        商品/服务项目：
        <VACTL:TextBox ID="txtItemName" Runat="server"
                    EnableViewState="False"
                    CssClass="input"
                    onfocus="JTongSmartDropDownList_OnfocusHandler(this, '../smartdropdownlist_datasrc/get_chargeitems.aspx',true,true,310,180);"
                    Width="310px"
                    />
        <asp:HiddenField runat="server" id="txtItemName_hiddenValue" />  
    </td>
    </tr>
    </table>

</td>     
</tr>
<tr>
<td class="layoutTableth">
    <asp:CheckBox ID="CheckBox1" runat="server" Text="赠送金额" />   
</td>   
<td style="border:0px;">
    <table id="tbDonateAmountTitle" cellspacing="0" cellpadding="3" class="editTable">
    <tr>
    <td class="th" style="font-weight:bold;text-align:left;font-size:12px;padding:0px;padding-left:5px;">
        规则
    </td>
    </tr>
    </table>
    <table id="tbDonateAmountRuleList" cellspacing="0" class="formEditListTable" style="width:100%;margin-top:-1px;">
    <thead>
    <tr>
    <td style="width:30px;text-align:center;">No.</td>
    <td style="width:70px;text-align:center;">充值金额</td>
    <td style="width:300px;text-align:center;">赠送金额</td>
    <td style="text-align:center;">操作</td>
    </tr>    
    </thead>    

    <tbody>
    
    </tbody>
    </table>
    <table id="tbNoDonateAmountRule" cellspacing="0" cellpadding="3" class="editTable"">
    <tr>
    <td style="text-align:center;height:100px;border-top:0px;border-bottom:0px;">
        暂无数据
    </td>
    </tr>
    </table>
</td>     
</tr>
<tr>
<td class="layoutTableth">
    <asp:CheckBox ID="CheckBox2" runat="server" Text="赠送积分" />   
</td>     
<td style="border:0px;">
    <table id="tbDonatePointTitle" cellspacing="0" cellpadding="3" class="editTable">
    <tr>
    <td class="th" style="font-weight:bold;text-align:left;font-size:12px;padding:0px;padding-left:5px;">
        规则
    </td>        
    </tr>
    </table>
    <table id="tbDonatePointRuleList" cellspacing="0" class="formEditListTable" style="width:100%;margin-top:-1px;">
    <thead>
    <tr>
    <td style="width:30px;text-align:center;">No.</td>
    <td style="width:70px;text-align:center;">代码</td>
    <td style="width:300px;text-align:center;">品名</td>
    <td style="width:50px;text-align:center;">单位</td>
    <td style="width:50px;text-align:center;">数量</td>
    <td style="text-align:center;">操作</td>
    </tr>    
    </thead>    

    <tbody>
    
    </tbody>
    </table>
    <table id="tbNoDonatePointRule" cellspacing="0" cellpadding="3" class="editTable">
    <tr>
    <td style="text-align:center;height:100px;border-top:0px;border-bottom:0px;">
        暂无数据
    </td>
    </tr>
    </table>

</td>     
</tr>
</table>

<table cellspacing="0" cellpadding="3" class="editTable" style="margin-top:-1px;">
<tr>
<td class="footer">

    <input type="button" id="btnSubmit" class="btn" style="width:80px" onclick="charge()" value="保存" />
    <input type="button" id="btnClear" class="btn" style="width:80px" onclick="resetPage()" value="重置" />
    <asp:HiddenField ID="hfKey" runat="server" />
    
    <VACTL:Hint ID="Hint1" runat="server" HintImageUrl="/app_themes/default/images/textbox" />
    <VACTL:ValidationSummary ID="ValidationSummary1" runat="server"
            DisplayMode="List"
            EnableClientScript="true" />
    
    <!--注意：这个文件一定要放到页面底部，以便覆盖asp.net验证脚本中的同名函数-->
    <script type="text/javascript" src="/scripts/utils/aspnet_validator_extend.js"></script>
</td>
</tr>
</table>

<!--每个页面上只能有一个该控件实例-->
<VACTL:SmartDropDownList ID="SmartDropDownList1" runat="server"></VACTL:SmartDropDownList>  

</div><!--editPageWrapper.END-->

</form>
</body>
</html>

