<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="paycheck.aspx.cs" Inherits="Web.cg.show.paycheck" %>

<!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>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
              <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    付款管理
                      	</td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
  <asp:Panel ID="plZong" runat="server" Visible="true">   
<!--栏目开始 -->
        <div class ="lanmubiaoti ">待审核的付款</div>  
          
            <!--这里添加内容 -->
                        <asp:Label ID="lbMessage" runat="server" ForeColor="Red" ></asp:Label>
		<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" onrowdatabound="GridView1_RowDataBound" 
                            
          onselectedindexchanging="GridView1_SelectedIndexChanging" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                 <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox2" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox2_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox1" runat="server" /></ItemTemplate>               
               </asp:TemplateField>
                                <asp:BoundField DataField="payid" HeaderText="付款编号" ReadOnly="True" />
                    <asp:TemplateField HeaderText="标题" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("conname") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                             <asp:BoundField DataField="conid" HeaderText="合同号" ReadOnly="True" />
                             <asp:BoundField DataField="palnpaydate" HeaderText="计划支付日期" ReadOnly="True" />
                             <asp:BoundField DataField="money" HeaderText="金额" ReadOnly="True" />
                             <asp:BoundField DataField="managername" HeaderText="管理人" ReadOnly="True" />
                             <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
         <table border="0" cellpadding="4" cellspacing="1"  style ="width :100% ; text-align :right ">
        <tr><td  id ="allowpage" runat ="server" 
                style ="text-align :right ;  padding-right  :5px" colspan="2">&nbsp;</td></tr>
        <tr>                        <td style ="text-align :left;  padding-left  :5px; ">
    
                   <table border = "0" cellpadding ="0" runat ="server" id= "tb_checdedmore" visible ="false"  cellspacing ="0" style ="width :320px"  >
                            <tr>

                            <td  style ="width :160px"> 
                                <asp:RadioButtonList ID="rblAudited_more" runat="server" 
                                    RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">审核通过</asp:ListItem>
                                <asp:ListItem>审核未通过</asp:ListItem>
                            </asp:RadioButtonList>
                                        </td>
                            <td  style ="width :160px">
                            <asp:Button ID="btCheck" runat="server" Text="批量审核" onclick="btChecked_Click" />

                                        </td>
                            </tr>
                            </table></td>
            <td>
                &nbsp;</td>
             </tr>
        </table> 
<asp:Panel ID="Panel1" runat="server" Visible="False">
         <div class ="lanmubiaoti ">申请详情</div>  
          
<table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0" id="table_NoticeView" runat ="server"  visible ="false"  >
      <tr>
        <td   style ="text-align :left ">

            <table  style =" width :700px "    border = "0"  cellpadding ="" cellspacing ="0">
                <tr>
                    <td style =" background-color :White " >
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width :700px;  padding :20px 5px 5px 5px  " id = "viewbiaoti" runat ="server" ></div>
                               <div style =" text-align :left ">      
                               付款编号： <asp:Label ID="lbPayid" runat="server"></asp:Label>&nbsp;合同编号：<asp:Label ID="lbConid" runat="server"></asp:Label>&nbsp;
                           金额：<asp:Label ID="lbMoney" runat="server"></asp:Label>&nbsp; 
                               
                     </div> 
                    <div id ="viewneirong" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
</td>
                </tr>
                <tr>
                    <td  style =" padding :20px 5px 5px 5px" >
                        <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="LinkButton"  onclick="BulletedList1_Click"></asp:BulletedList>
                    </td>
                </tr>
   
                <tr>
                    <td style=" text-align :center; padding:20px 20px 20px 20px ">
                        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                <asp:BoundField DataField="checker" HeaderText="审核人编号" ReadOnly="True" />
                                <asp:BoundField DataField="checkername" HeaderText="审核人姓名" ReadOnly="True" />
                                <asp:BoundField DataField="rank" HeaderText="审核顺序" ReadOnly="True" />
                                <asp:BoundField DataField="checkdecided" HeaderText="审核结论" ReadOnly="True" />
                                <asp:BoundField DataField="checknote" HeaderText="审核附言" ReadOnly="True" />
                                <asp:BoundField DataField="checktime" HeaderText="审核时间" ReadOnly="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
                   
                        <table border = "0" cellpadding ="0" cellspacing ="0" >
                            <tr>
                            <td style ="width :100px">审核结果</td>
                            <td  style ="width :200px">
                                <asp:RadioButtonList ID="rblAudited" runat="server" 
                                    RepeatDirection="Horizontal">
                                <asp:ListItem Selected="True">审核通过</asp:ListItem>
                                <asp:ListItem>审核未通过</asp:ListItem>
                            </asp:RadioButtonList>
                                        </td>
                            </tr>
                                                   <tr>
                                                       <td style="width :100px">
                                                           审核附言</td>
                                                       <td style="width :160px">
                                                           <asp:TextBox ID="tbChecknote" runat="server" Width="389px"></asp:TextBox>
                                                       </td>
                                                   </tr>
                                                   <tr>
                                                       <td style="width :100px">
                                                           &nbsp;</td>
                                                       <td style="width :160px">
                                                           <asp:Button ID="btTijiao" runat="server" onclick="btTijiao_Click" Text="提交" />
                                                       </td>
                                                   </tr>
                            </table>
                    </td>
                </tr>
                <tr>
                    <td style=" text-align :center; padding:20px 20px 20px 20px ">
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
</td>
      </tr>
    </table>





                        
 
                         </asp:Panel> 
<!--栏目结束 -->
</asp:Panel> 
            </div>
            </div> 
        </form>
    </body>
</html>


