<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WithdrawPay.aspx.cs" Inherits="JRAPI.Admin.finance.WithdrawPay" %>
<%@ Register src="../Controls/SubPageTop.ascx" tagname="SubPageTop" tagprefix="uc1" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<uc1:SubPageTop ID="SubPageTop1" runat="server" />
<body>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
            <a href='WithdrawApply.aspx'><em>提现申请列表</em></a><span>|</span><a href='javascript:;'  class="on"><em>等待付款列表</em></a><span>|</span><a href='WithdrawList.aspx'><em>已付款列表</em></a>    </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
    <form id="Form1" runat="server">
<div class="pad-lr-10">
<div width="100%" cellspacing="0" class="search-form" >
		<div class="explain-col" style="line-height:30px">
				银行类别:<asp:RadioButtonList 
                    ID="rbtnType" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="0">所有</asp:ListItem>
                    <asp:ListItem Value="1">银行卡</asp:ListItem>
                    <asp:ListItem Value="2">支付宝</asp:ListItem>
                    <asp:ListItem Value="3">财付通</asp:ListItem>
            </asp:RadioButtonList>&nbsp;&nbsp;提现总金额:<font color=red><asp:Literal ID="liMoney" runat="server"></asp:Literal></font>元
            &nbsp;&nbsp;手续费总额:<font color=red><asp:Literal ID="liRate" runat="server"></asp:Literal></font>元
            &nbsp;&nbsp;<asp:Button ID="btnSearch" runat="server" CssClass="button"  Text="检 索" 
                    onclick="btnSearch_Click" />&nbsp;&nbsp;<asp:Button ID="btnOutput" runat="server" Text="导出申请信息" 
                    CssClass="button" onclick="btnOutput_Click"  />
	    </div>
</div>
<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            <th align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('WithdrawID');"></th>
            <th align="center">序号</th>
			<th align="center">提现商户ID</th>
			<th align="center">提现金额</th>
			<th align="center">手续费用</th>
			<th align="center">开户银行</th>
			<th align="center">开户名</th>
			<th align="center">银行账号</th>
			<th align="center">联系电话</th>
            <th align="center">提现时间</th>
			<th align="center">审核时间</th>
			<th align="center">操作</th>
            </tr>
        </thead>
    <tbody>
        <asp:Repeater ID="repList" runat="server">
            <ItemTemplate>
	            <tr>
	            <td align="center"><input class="inputcheckbox " name="WithdrawID" value="<%# Eval("WithdrawID")%>" type="checkbox"></td>
	            <td align="center"><%# Eval("WithdrawID")%></td>
	            <td align="center"><%# Eval("UserID")%></td>
	            <td align="center"><%# Eval("WithdrawMoney")%></td>
	            <td align="center"><%# Eval("WithdrawRate")%></td>
	            <td align="center"><%# Eval("BankName")%></td>
	            <td align="center"><%# Eval("ACCount")%></td>
	            <td align="center"><%# Eval("BankCard")%></td>
	            <td align="center"><%# Eval("RealTel")%></td>
	            <td align="center"><%# Eval("WithdrawAddtime")%></td>
	            <td align="center"><%# Eval("ProcessingTime")%></td>
	            <td align="center"><a href="javascript:confirmurl('?action=ok&WithdrawID=<%# Eval("WithdrawID")%>','确认要标记该条目为已付款吗？')">标记为已付款</a></td>
	            </tr>
            </ItemTemplate>
        </asp:Repeater>

</tbody>
    </table>
        <div class="btn">
<label for="check_box">全选/取消</label> 
<asp:Button ID="btndj" runat="server" Text="批量标记为已付款" 
            OnClientClick="return confirm('您确定要标记所选条目为已付款吗？')" CssClass="button" 
            onclick="btnDJ_Click" />
</div>      </div>
 <webdiyer:AspNetPager ID="pages" runat="server" FirstPageText="首页" LastPageText="尾页"
                                            NextPageText="下一页" PrevPageText="上一页" 
        AlwaysShow="True" PageSize="20" UrlPageIndexName="pageindex" CustomInfoHTML="共有%RecordCount%条数据,每页%PageSize%条,当前第%CurrentPageIndex%页,共%PageCount%页"
                                            ShowCustomInfoSection="Left"  CurrentPageButtonClass="current"   
        CustomInfoClass="pxofy" 
        NavigationClass="pagin-list" onpagechanging="PageList_PageChanging" 
        PageIndexBoxClass="gotoinput" SubmitButtonClass="gotobtn" 
        FirstLastButtonsClass="a1" PagingButtonsClass="" PrevNextButtonsClass="a1">
                                        </webdiyer:AspNetPager>
</form>
</div>
</body>
</html>