<%@ page language="C#" autoeventwireup="true" inherits="general_Contract_PayRecord, CrmCommand" %>
<%@ Register TagPrefix="C1WebGrid" Namespace="C1.Web.C1WebGrid" Assembly="C1.Web.C1WebGrid.2" %>

<!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 id="head1" runat="server">
    <title>无标题页</title>
</head>
<body class ="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
        <div id="DIV1" runat="server" style="width: 776px; height: 2px">
        合同总金额:<asp:Label ID="LblTotal" runat="server" ForeColor="Red" Text="Label"></asp:Label>
        &nbsp;合同已收金额:
        <asp:Label ID="LblysPrice" runat="server" ForeColor="Red" Text="Label"></asp:Label>&nbsp;
        合同剩余金额:<asp:Label ID="lblsyprice" runat="server" ForeColor="Red" Text="Label"></asp:Label>
        </div>
        <C1WebGrid:C1WebGrid ID="C1WebGrid1" runat="server"  AllowSorting="True"
            AutoGenerateColumns="False" CallbackOptions="Sorting,Selection"
            DataKeyField="Pay_Id" HScrollBarStyle="Automatic" VScrollBarStyle=Always 
        AllowColSizing=true OnSortingCommand="C1WebGrid1_SortingCommand"
             SkinID="gridviewSkin"  width="777px" height=250px >
            <Columns>
                <C1WebGrid:C1BoundColumn DataField="Contract_Num" Fixed=True  HeaderText="合同编号" SortExpression="Contract_Num">
                </C1WebGrid:C1BoundColumn>
                <C1WebGrid:C1TemplateColumn SortExpression="Pay_Money" HeaderText="付款金额"><ItemTemplate><%#string.Format("{0:C}",Eval("Pay_Money"))%></ItemTemplate></C1WebGrid:C1TemplateColumn>
                <C1WebGrid:C1TemplateColumn HeaderText="付款流水号"  SortExpression="Pay_StreameNum" ><ItemTemplate><%#Eval("Pay_StreameNum")%></ItemTemplate>
                   </C1WebGrid:C1TemplateColumn>
                    <C1WebGrid:C1TemplateColumn HeaderText="付款方式"  SortExpression="Pay_Method" ><ItemTemplate><%#Eval("Pay_Method")%></ItemTemplate>
                    </C1WebGrid:C1TemplateColumn>
                    <C1WebGrid:C1TemplateColumn HeaderText="付款联系人"  SortExpression="Pay_ContactName" ><ItemTemplate><%#Eval("Pay_ContactName")%></ItemTemplate>
                    </C1WebGrid:C1TemplateColumn>  
                    <C1WebGrid:C1TemplateColumn HeaderText="付款日期"  SortExpression="Pay_Date" ><ItemTemplate><%#string.Format("{0:d}",Eval("Pay_Date"))%></ItemTemplate>
                    </C1WebGrid:C1TemplateColumn>
                     <C1WebGrid:C1TemplateColumn HeaderText="审核状态"  SortExpression="CheckState" ><ItemTemplate><%#State(Eval("CheckState").ToString())%></ItemTemplate>
                    </C1WebGrid:C1TemplateColumn>   
                    <C1WebGrid:C1BoundColumn DataField="Check_UserName"   HeaderText="审核人" SortExpression="Check_UserName">
                </C1WebGrid:C1BoundColumn>    
            </Columns>
        </C1WebGrid:C1WebGrid>
       
     <div id="ShowJs" runat="Server"> </div>
    </form>
</body>
</html>
