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

<%@ Import Namespace="System.Data"%>

<!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/editlist.aspx"-->
    <!--#include virtual="/include/js/editlist.aspx"--> 
    <script type="text/javascript">   

        //显示汇总信息；
        function afterDataListLoaded() {
            $("#statBar").html($("#divStatInfo").html());
        }

        $(function () {
            initListPage();            
        });
    </script>

</head>
<body>

<form id="Form1" method="post" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

<div id="pageWrapper" class="pageWrapper">   
    
    <div id="toolBar">    
        <a href="javascript:refresh()" class="jtongui-toolbarbutton" icon="icon-reload">刷新</a>
        <asp:LinkButton ID="lbnExportToExcel" runat="server" CssClass="jtongui-toolbarbutton" icon="icon-export" OnClick="lbnExportToExcel_Click">导出</asp:LinkButton>
    </div><!--toolBar.END-->   

    <div id="searchBar">
        <p>计次卡名称：<% = Request.QueryString["pointcardname"] %></p>
    </div>

    <div id="dataBar">

    <!--MainList.Start-->    
    <div class="jtongui-smartlisttable" id="jtongui-smartlisttable">

    <table cellpadding="3" cellspacing="0" class="tableheader" id="tb1_header" >
    <thead>
    <tr>
        <%--<td style="width:30px;text-align:center;"><input type="checkbox" id="ckb_selectAll"/></td>--%>
        <td style="width:30px;text-align:center;">No.</td>            
        <td style="width:80px;text-align:center;">会员ID</td> 
        <td style="width:100px;text-align:center;">会员卡号</td>
        <td style="width:100px;text-align:center;">会员手机号</td>        
        <td style="width:100px;text-align:center;">会员姓名</td>       
        <td style="width:100px;text-align:center;">购卡日期</td>
        <td style="width:100px;text-align:center;">购卡金额</td>
        <td style="width:70px;text-align:center;">总次数</td>
        <td style="width:70px;text-align:center;">剩余次数</td>
        <td style="width:100px;text-align:center;">剩余金额</td>
        <td></td>
    </tr>    
    </thead>
    </table>

    <div id="dataBody">
    <asp:Repeater ID="myRepeater" Runat="server" EnableViewState="False"  >
    <HeaderTemplate>    
    <div class="bodyContainer">
    <% = base.ShowNoRecordInfo() %>
    <table cellpadding="3" cellspacing="0" class="tablebody" tbHeader="tb1_header">
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
        <%-- <td style="text-align:center;"><input type="checkbox" name="ckb_dataItem" value="<%# Eval("RID")%>" /></td>--%>
        <td align="center"><%# (base.currPage - 1)*base.PageSize + Container.ItemIndex + 1%></td>        
        <td align="center"><%# Eval("MemberID")%></td>         
        <td align="center"><%# Eval("CardNo")%></td>         
        <td align="center"><%# Eval("MobileNo")%></td>
        <td align="left"><%# Eval("Member_Name")%></td>
        <td align="center"><%# String.Format("{0:yyyy-MM-dd HH:mm}", Eval("Got_Date"))%></td>        
        <td align="right"><%# Eval("PointCard_Price")%></td>
        <td align="right"><%# Eval("PointCard_SrvCount")%></td>
        <td align="right"><%# Eval("PointCard_RemainingCount")%></td>        
        <td align="right"><%# Eval("PointCard_RemainingAmount")%></td>
        <td></td>
    </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </div><!--bodyContainer.END-->        

    <div id="divPagerInfo" style="display:none">
        <%=base.pageInfo%>
    </div>

    <%--<div id="divStatInfo" style="display:none">
        共 <span style="font-weight:bold;"><%=base.RdCnt%></span> 条记录，余次数量合计 ：<span style="font-weight:bold;"><%= base.TotalCount.ToString("F2")%></span>，余次金额合计 ：<span style="font-weight:bold;"><%= base.TotalAmount.ToString("F2")%></span>&nbsp;&nbsp;
    </div>--%>

    <input type="hidden" id="hidden_pageCnt" value="<% = base.PageCnt%>" />
    <input type="hidden" id="hidden_rdCnt" value="<% = base.RdCnt%>" />
    <input type="hidden" name="chkNum" value="<%=chkNum%>" />

    </FooterTemplate>
    </asp:Repeater>    
    </div><!--dataBody.END-->

    </div><!--jtongui-smartlisttable.END-->        
    <!--MainList.End-->  

    </div><!--dataBar.END-->
    
<%--    <div id="statBar">
       
    </div><!--statBar.END-->--%>

    <div id="pagerBar">
       ……
    </div><!--pageNavBar.END-->
    
    <asp:HiddenField runat="server" ID="hfCurrPage" EnableViewState="true" />
    
</div>

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