Files
g.hnyhua.cn/Mtxfw.VipSite/Admin_Member_PFQSGL.aspx
2026-02-07 15:48:27 +08:00

231 lines
11 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_PFQSGL.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_PFQSGL" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/Scripts/bootstrap.min.js"></script>
<script src="/Scripts/common.js" type="text/javascript"></script>
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<!-- Basic Styles -->
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
<![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
<!-- FAVICONS -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
<script src="Scripts/setdate.js" type="text/javascript"></script>
<script type="text/javascript">
var ifcj = 0;
var search2 = function () {
var SJ = document.getElementById('text_SJ');
var SJ2 = document.getElementById('text_SJ2');
location.href = 'Admin_Member_FHGL.aspx?SJ=' + SJ.value + '&SJ2=' + SJ2.value;
};
function onFHJS() {
$("#btn-continue").attr("disabled", true);
$("#btn-continue").text("请稍候...");
$.post("/Ajax.ashx", { action: "onFHJS", time: $("#txttime").val(), ifcj: ifcj }, function (data) {
switch (data) {
case "0":
alert("操作成功!");
$("#btn-continue").removeAttr("disabled");
$("#btn-continue").text("确认");
location.href = location.href.toString();
break;
default:
if (data == "今日已释放过") {
if (confirm("今日已释放过,是否还要释放一次?")) {
ifcj = 1;
onFHJS();
} else {
$("#btn-continue").removeAttr("disabled");
$("#btn-continue").text("确认");
}
} else {
alert(data);
$("#btn-continue").removeAttr("disabled");
$("#btn-continue").text("确认");
}
}
});
}
function onSaveFHJS(t) {
if (t == 3) {
$("#abtn3").attr("disabled", true);
$("#abtn3").val("请稍候...");
} else {
$("#abtn2").attr("disabled", true);
$("#abtn2").val("请稍候...");
}
$.post("/Ajax.ashx", { action: "onSaveFHJS", FHMoney: (t==3?$("#FHMoney0").val():$("#FHMoney").val()),t }, function (data) {
switch (data) {
case "0":
alert("保存成功!");
if (t == 1) {
$("#abtn3").removeAttr("disabled");
$("#abtn3").val("保存");
} else {
$("#abtn2").removeAttr("disabled");
$("#abtn2").val("保存");
}
location.href = location.href.toString();
break;
default: alert(data);
if (t == 1) {
$("#abtn3").removeAttr("disabled");
$("#abtn3").val("保存");
} else {
$("#abtn2").removeAttr("disabled");
$("#abtn2").val("保存");
}
}
});
}
function onshowFHJS() {
$('#successModal').modal('show');
}
</script>
</head>
<body>
<form runat="server">
<!-- RIBBON -->
<div id="ribbon">
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="&lt;i class='text-warning fa fa-warning'&gt;&lt;/i&gt; 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
<!-- breadcrumb -->
<ol class="breadcrumb">
<li><a href="/" target="_top">主页</a></li>
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
<li>其它管理</li>
</ol>
<!-- end breadcrumb -->
</div>
<!-- END RIBBON -->
<!-- MAIN CONTENT -->
<div style="opacity: 1;" id="content">
<div class="frontMain">
<h1 class="title01"><span class="semi-bold">批发期数管理</span></h1>
<div class="MainContent">
<table width="100%" border="0" class="data_table" cellspacing="0" cellpadding="0">
<tr>
<td>日期从
<input id="text_SJ" type="text" value='<%=Request.QueryString["SJ"]%>' onfocus="ca_show('text_SJ', this, '-');"/>到<input id="text_SJ2" type="text" value='<%=Request.QueryString["SJ2"]%>' onfocus="ca_show('text_SJ2', this, '-');"/>
<input id="Member_search" type="button" value="查询" onclick="search2()" class="abtn" />
</td>
</tr>
</table>
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
<tr bgcolor="#f7f7f7">
<th><strong>选择</strong></th>
<td><strong>期数</strong></td>
<td><strong>总额度</strong></td>
<td><strong>已代售</strong></td>
<td><strong>预约开始时间</strong></td>
<td><strong>预约结束时间</strong></td>
<td><strong>状态</strong></td>
</tr>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
<td><asp:checkbox ID="checka" runat="server" CssClass='<%#Eval("id") %>'></asp:checkbox></td>
<td>第<%#Eval("addweek")%>期</td>
<td><asp:TextBox id="txtcount1" runat="server" Text='<%#Convert.ToDouble(Eval("count1")).ToString()%>' Width="80"></asp:TextBox></td>
<td><%#Convert.ToDouble(Eval("count2")).ToString()%></td>
<td><asp:TextBox id="addweektime" runat="server" Text='<%#Eval("addweektime1")%>'></asp:TextBox></td>
<td><%#config.webMoney70=="hour"?Convert.ToDateTime(Eval("addweektime1")).AddHours(Convert.ToInt32(config.webMoney29)):Convert.ToDateTime(Eval("addweektime1")).AddMinutes(Convert.ToInt32(config.webMoney29))%></td>
<td><%#(Convert.ToInt32(Eval("addmonth"))==4?"停用":(Convert.ToInt32(Eval("addmonth"))==3?"失败":(Convert.ToInt32(Eval("addmonth"))==2?"成功":(Convert.ToInt32(Eval("addmonth"))==1?"启动中":"未开始"))))%></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<td colspan="8" style="text-align:left">
操作:<span style=" cursor:pointer; color:Blue;" onclick="seclectall(0)">全选</span>&nbsp;<span style=" cursor:pointer; color:Blue;" onclick="seclectall(1)">取消所选</span>
将所选项
<asp:DropDownList ID="seclect_Drop" runat="server">
<asp:ListItem Value="5">修改</asp:ListItem>
<asp:ListItem Value="4">停用</asp:ListItem>
<asp:ListItem Value="1">启动中</asp:ListItem>
<asp:ListItem Value="0">未开始</asp:ListItem>
<asp:ListItem Value="3">失败(退款+补助)</asp:ListItem>
</asp:DropDownList> <asp:Button ID="Btn_Run" OnClick="Run_Click" runat="server" Text="执行" CssClass="abtn"></asp:Button>
</td>
</tr>
</table>
<div style="text-align:center; height:40px; margin:10px 0;">
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
CustomInfoHTML="共 &lt;font color=&quot;red&quot;&gt;%RecordCount%&lt;/font&gt; 条记录 当前 &lt;font color=&quot;red&quot;&gt;%CurrentPageIndex%/%PageCount%&lt;/font&gt; 页"
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
TextBeforePageIndexBox="转到" UrlPaging="True">
</webdiyer:AspNetPager>
</div>
</div>
</div>
</div>
<!-- 确认释放框Modal -->
<div class="modal fade" id="successModal" tabindex="-1" role="dialog" aria-labelledby="successLab" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><span id="modal-title">确认释放</span><span class="close" onclick="$('#successModal').modal('hide');">x</span></h5>
</div>
<div class="modal-body00" style="height:140px;">
您确认要开始释放吗?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default text-right" onclick="$('#successModal').modal('hide');" id="Button1">取消</button>
<button type="button" class="btn btn-success" id="btn-continue" onclick="onFHJS()">确认</button>
</div>
</div><!-- /.modal-content -->
</div>
</div>
</form>
</body></html>