<%@ page language="C#" autoeventwireup="true" inherits="general_finance_FinOut_List, 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>
    <script src="../../Javascript/canlendar.js" type="text/javascript"></script>
                   <script src="../../Javascript/Trim.js" type="text/javascript"></script>
                   <script src="../../Javascript/CheckALL.js" type="text/javascript"></script>
                   <script language=javascript type="text/javascript">
                  
 　function RLtrim()
    {
       var t1=document.getElementById("Text1").value;
       var t2=document.getElementById("Text2").value;
       if(Trim(t1) && Trim(t2))
       {
         
         return true;
       }
       else
       {
       alert('日期不能为空');
        return false;
       }
    }
                   </script>
</head>
<body class ="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <table class="small" cellSpacing="0" cellPadding="0"  border="0" bgcolor=#000000 style="width: 100%">
    <tr>
    <TD class="TableData" ><IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3">
								费用支出审核：</SPAN>

    </tr>
    	<tr>
                <td class="TableData" >
                <TABLE class="small" cellSpacing="1" cellPadding="1" align="center" border="0" bgcolor="black" style="width: 760px">
    <tr>
        <td class="TableData" style="width: 726px; height: 15px">
            <table style="width: 100%" cellspacing="0" cellpadding="0">
	<tr>
		<td style="width: 53px">申请人:</td>
		<td style="width: 111px">
		<asp:TextBox ID="TxtName" runat="server" CssClass="BigInput" Width="110px"></asp:TextBox></td>
		<td style="width: 67px">支出日期: </td>
		<td style="width: 91px">
            <input id="Text1" runat="server" style="border: 1px solid #C0C0C0; width: 110px" type="text" readonly /></td>
		<td style="width: 21px">
            <img border="0" onclick='popUpCalendar(document.getElementById("Text1"), document.getElementById("Text1"), "yyyy-mm-dd")'
                src="../../App_Themes/Green/images/Calendar.gif" style="width: 20px; height: 23px" /></td>
                <td width="10px">至</td>
		<td style="width: 93px">
		<input id="Text2" runat="server" style="border: 1px solid #C0C0C0; width: 110px" type="text" readonly /></td>
		<td style="width: 39px">
            <img border="0" onclick='popUpCalendar(document.getElementById("Text2"), document.getElementById("Text2"), "yyyy-mm-dd")'
                src="../../App_Themes/Green/images/Calendar.gif" style="width: 20px; height: 23px" /></td>
		<td>
            <asp:Button ID="Button7" runat="server" CssClass="BigButton" Height="26px" OnClick="Button7_Click"
                 Text="申请查询" Width="81px" /></td>
	</tr>
</table>            </td>
    </tr>
    	<tr>
    	<td class="TableData"  align="center">  <C1WebGrid:C1WebGrid ID="C1WebGrid1" runat="server"  AllowSorting="True"
            AutoGenerateColumns="False" CallbackOptions="Paging,Sorting,Selection" 
            DataKeyField="Expend_Id"   AllowColSizing=true AllowPaging=true
             OnSortingCommand="C1WebGrid1_SortingCommand"
            PageSize="20" SkinID="gridviewSkin"  width="726"  OnItemCreated="C1WebGrid1_ItemCreated" >
            <Columns>

              
                <C1WebGrid:C1BoundColumn DataField="Exp1"   HeaderText="申请人"  SortExpression="Exp1"></C1WebGrid:C1BoundColumn>
                  <C1WebGrid:C1BoundColumn DataField="Exp3" HeaderText="申请日期" DataFormatString="{0:d}" SortExpression="Exp3">
                </C1WebGrid:C1BoundColumn>
                <C1WebGrid:C1BoundColumn DataField="Expend_Type"   HeaderText="费用类型"  SortExpression="Expend_Type"></C1WebGrid:C1BoundColumn>

                  <C1WebGrid:C1BoundColumn DataField="Expend_Money" HeaderText="支出金额" DataFormatString="{0:C}" SortExpression="Expend_Money">
                </C1WebGrid:C1BoundColumn>
                   <C1WebGrid:C1BoundColumn DataField="Apply_time" HeaderText="支出日期" DataFormatString="{0:d}" SortExpression="Apply_time">
                </C1WebGrid:C1BoundColumn>
                <C1WebGrid:C1TemplateColumn HeaderText="审核资金">
                                                    <ItemTemplate>
                                                        <a href="FinOutCheck.aspx?id=<%#Eval("Expend_Id") %>" >
                                                            审核支出
                                                        </a>
                                                    </ItemTemplate>
                                                </C1WebGrid:C1TemplateColumn>
              
               
               
              
                    
            </Columns>
        </C1WebGrid:C1WebGrid></td>
    	</tr>
    	</TABLE>

                </td></tr>  </table>
                 <div id="ShowJs" runat="Server"> </div>
    </form>
</body>
</html>
