<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="allPayList.aspx.cs" Inherits="ZYDN.Web.system.shop.allPayList" %>

<!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 runat="server">
    <title>无标题页</title>
    <link href="../../system/skins/CSS/main.css" rel="stylesheet" type="text/css" />
   <link href="../../system/skins/CSS/Sys.css" rel="stylesheet" type="text/css" />
   <script src="../JS/JFramework.js" language="javascript" type="text/javascript"></script>
   <script src="../JS/Sys.js" language="javascript" type="text/javascript"></script>
    <script src="../../webUser/user.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<%wJs(); %>
    <form id="form1" runat="server">
    <div>
    <asp:Repeater ID="Repeater1" runat="server">
    <HeaderTemplate>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr class="titleRow">
                <td>订单号</td>
                <td>支付状态</td>
                <td>支付描述</td>
                <td>支付银行</td>
                <td>支付金额</td>
                <td>币种</td>
                <td>备注</td>
                <td>用户名</td>
                <td>支付日期</td>
            </tr>
    </HeaderTemplate>
    <AlternatingItemTemplate>
            <tr style="background-color:#F4F9FD">
                <td align="center"><%# Eval("v_oid") %></td>
                <td id="pstats" name="pstats"><%# Eval("v_pstatus") %></td>
                <td><%# Eval("v_pstring") %></td>
                <td><%# Eval("v_pmode") %></td>
                <td><%# Eval("v_amount") %></td>
                <td><%# Eval("v_moneytype") %></td>
                <td><%# Eval("remark1") %></td>
                <td><%# Eval("userName") %></td>
                <td><%# Eval("payDate","{0:d}") %></td>
            </tr>
    </AlternatingItemTemplate>
    <ItemTemplate>
            <tr>
                <td><%# Eval("v_oid") %></td>
                <td id="pstats" name="pstats"><%# Eval("v_pstatus") %></td>
                <td><%# Eval("v_pstring") %></td>
                <td><%# Eval("v_pmode") %></td>
                <td><%# Eval("v_amount") %></td>
                <td><%# Eval("v_moneytype") %></td>
                <td><%# Eval("remark1") %></td>
                <td><%# Eval("userName") %></td>
                <td><%# Eval("payDate","{0:d}") %></td>
            </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
        <asp:Button ID="pageUp" runat="server" Text="上一页" CausesValidation="False" Enabled="False"
            UseSubmitBehavior="False" />
        <asp:Button ID="pageDown" runat="server" Text="下一页" CausesValidation="False" UseSubmitBehavior="False" />
        <asp:Label ID="pageLabel" runat="server" Text=""></asp:Label>
    &nbsp;&nbsp;
        <div>
            <span>
            <asp:TextBox ID="serchOrderID" runat="server" Width="200px" Text="请输入订单编号精确搜索"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" Text="搜索" OnClick="Button1_Click" />
            </span>
            <br />
            <span> 起始时间：</span>
            <asp:TextBox ID="serchStartTime" runat="server" Width="100px" ToolTip="支付订单的时间"></asp:TextBox><input type="button" value="选择" onclick="selectDate(this)"/>       
            <span> 结束时间：</span>
            <asp:TextBox ID="serchEndTime" runat="server" Width="100px" ToolTip="支付订单的时间"></asp:TextBox><input type="button" value="选择" onclick="selectDate(this)"/>   
        </div>
        </div>
    </form>
    <% pstatsShow(); %>
    <script language="javascript" type="text/javascript">
    function selectDate(thisObj){
        var d=openSelectDate(sysPath);
        var obj=thisObj.previousSibling;
        if(d!="" & d!=null)
        obj.value=d; 
    }
</script>
</body>
</html>
