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

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
    <script type="text/javascript" src="/css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table  style ="width:100%; "    border = "0"  cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style =" background-color :White " >
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width:100%;  padding :20px 5px 20px 5px  ">
                        <asp:Label ID="lbTitle" runat="server" ></asp:Label></div>
                               <div style =" text-align :left; margin-bottom :10px ">申请单号：<asp:Label ID="lbAppiouid" runat="server"></asp:Label>
                        </div>
                               <div style =" text-align :left; margin-bottom :10px  ">预估金额：<asp:Label ID="lbBudget" runat="server">0</asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  "> 申请人：<asp:Label ID="lbStaffid" runat="server"></asp:Label> &nbsp;<asp:Label ID="lbStaff" runat="server"></asp:Label></div> 
                               <div style =" text-align :left; margin-bottom :10px  ">申请时间：<asp:Label ID="lbApplicationdate" runat="server"></asp:Label></div> 
                               <div style =" text-align :left ; margin-bottom :10px "> 处理状态：<asp:Label ID="lbState" runat="server"></asp:Label></div> 
                             
</td>
                </tr>
                <tr>
                    <td >
                        <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                        <asp:BulletedList ID="BulletedList1" runat="server" ></asp:BulletedList>
                    </td>
                </tr>
   <tr>
                    <td>
                        <div class="row_title">采购清单：</div> 
                        <asp:GridView ID="gvAppList" runat="server" AutoGenerateColumns="False" 
                            BorderWidth="1px" CssClass="gv" Width="100%">
                            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                            <Columns>
                                <asp:BoundField DataField="project" HeaderText="名称及型号" ReadOnly="True" />
                                <asp:TemplateField HeaderText="数量">
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("number") %>'></asp:Label>
                                           <asp:Label ID="Label2" runat="server" Text='<%# Bind("unit") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="price" HeaderText="单价" ReadOnly="True" />
                                <asp:BoundField DataField="total" HeaderText="总价" ReadOnly="True" />
                                <asp:BoundField DataField="user" HeaderText="说明" ReadOnly="True" />
                            </Columns>
                            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="td_block">
                      <div class="row_title">
                        <asp:Label ID="lbCheckTitle" runat="server" Text="审核进度："></asp:Label>
                          <asp:Label ID="lbCheckerCount" runat="server"  Visible ="false" >0</asp:Label>
                        </div> 

                <asp:DataList ID="dlCheck" runat="server" Width="100%" OnItemDataBound="dlCheck_ItemDataBound" >
              <ItemTemplate>
         <div class=" row_pic ">
                    <asp:Image ID="Image1" runat="server" />
                   </div>

                <div>
                    <asp:Label ID="lbShow" runat="server" ></asp:Label>
                    <asp:Label ID="lbcheckername" runat="server" Visible ="false" Text='<%# Bind("checkername") %>'></asp:Label>
                    <asp:Label ID="lbcheckdecided" runat="server" Visible ="false" Text='<%# Bind("checkdecided") %>'></asp:Label> 
                    <asp:Label ID="lbchecknote"  runat="server" Visible ="false" Text='<%# Bind("checknote") %>'></asp:Label>
                    <asp:Label ID="lbchecktime" runat="server" Visible ="false"    Text='<%# Bind("checktime") %>'></asp:Label></div> 
                
                  <asp:Panel ID="plCheckOver" runat="server" Visible ="false" >
                     <div class="row_pic">
                    <asp:Image ID="Image2" runat="server" />
                   </div>
                      <div>审核结束</div>
                  </asp:Panel>
                  </ItemTemplate>
          </asp:DataList>
                            </div>
                         <div style ="text-align :center ;">
             <input id="Button1"   type="button" onclick="this.style.display='none';javascript:window.print();" 
                  value="打印"  /></div>
                    </td>
                </tr>

            </table>
           
        </div>
    </form>
</body>
</html>
