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

<!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">    
    function save() {

        var requestType = "POST";
        var url = pageName + "?act=save";  //pageName在BasePage中注册到的客户端；
        var dataType = "html";
        var data = $("form").eq(0).serialize();
        var successFN = function (data, textStatus) {
            if (data == "ok") {
                showActResult("保存成功！设置已生效！", true, doAfterAdd);
            } else if (data.indexOf("01|") != -1) {
                showActResult(data.substring(3), false, doAfterAdd);
            }
            else {
                showActResult(data, false, doAfterAdd);
            }
        };
        ajaxRequest(requestType,
            url,
            dataType,
            data,
            successFN,
            errorFN
            );
    }

    function doAfterAdd(actResult) {
        if (actResult) {
            try {
                if (window.parent != window.self) {
                    window.parent.reload();
                }
            } catch (e) { }
            resetPage();
        }
    }

    $(function () {
        $("#txtPointXS").focus();
    });

    </script>
    <style type="text/css">
        .editTable .th {
            width:180px;
        }
    </style>
</head>
<body>
<form id="Form1" method="post" runat="server">

<div id="noteBar">                          
    <p>注：如果模板内容留空，则相关业务发生后系统不发送短信通知。</p>
</div><!--toolBar.END--> 

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

<%
    if (VA.Modules.JDingMember.Core.SystemInfo.SoftInfo.SoftLevel == VA.Modules.JDingMember.Core.Enums.SoftLevel.Free ||
        VA.Modules.JDingMember.Core.SystemInfo.SoftInfo.SoftLevel == VA.Modules.JDingMember.Core.Enums.SoftLevel.Basic ||
        VA.Modules.JDingMember.Core.SystemInfo.SoftInfo.SoftLevel == VA.Modules.JDingMember.Core.Enums.SoftLevel.Standard)
    {
        base.ShowSoftFunctionLimitNote(VA.Modules.JDingMember.Core.SystemInfo.SoftInfo.SoftLevelName);
    }
%>

<div class="centerFormTitle">
   <h1>短信通知模板</h1>
</div>

<table cellspacing="0" cellpadding="3" class="editTable">
<tr>
<td class="th">会员补卡通知短信：</td>
<td>              
    <VACTL:TextBox ID="txt_MEMBER_CHANGECARD_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">会员级别变通通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_MEMBER_CHANGELEVEL_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">会员卡挂失通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_MEMBER_FREEZE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">会员卡取消挂失通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_MEMBER_UNFREEZE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">会员充值通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_WALLETCHARGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">会员提现通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_WALLETWITHDRAW_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">普通消费通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_CONSUMECHARGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">计次卡划次消费通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_CONSUME_POINTCARD_CHARGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">普通划次消费通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_CONSUME_POINT_CHARGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">快速消费/收银通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_CONSUME_SIMPLE_CHARGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">赠送商品/服务项目通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_DONATE_CHARGEITEM_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">赠送礼品通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_DONATE_GIFT_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">赠送积分通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_DONATE_POINT_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">赠送代金券通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_DONATE_VOUCHER_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td class="th">礼品兑换通知短信：</td>
<td>
    <VACTL:TextBox ID="txt_GIFTEXCHANGE_NOTIFICATION_MSG" Runat="server"
            EnableViewState="False"
            CssClass="input"
            Width="560px"
            MaxLength="300"
            TextMode="MultiLine"
            Height="60px"
            />        
</td>
</tr>
<tr>
<td colspan="2" class="footer">

    <input type="button" id="btnSubmit" class="btn" style="width:100px" onclick="save()" value="保存" />
    
</td>
</tr>
</table>
</div><!--editPageWrapper.END-->

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

