<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_loss_check.aspx.cs" Inherits="Web.sb.admin.login_loss_check" %>

<!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/admincss/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">报损管理</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
    
    
    <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                待审核的报损申请</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>     <div style ="text-align :left ">   
            <asp:Label ID="lbMessage" runat="server" ForeColor="Red" ></asp:Label></div> 
            <asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onselectedindexchanging="GridView1_SelectedIndexChanging" 
                onrowcreated="GridView1_RowCreated" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                    <asp:BoundField DataField="devicenumber" HeaderText="设备编号" ReadOnly="True" />
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="devicename" HeaderText="设备名称" ReadOnly="True" />
                    <asp:BoundField DataField="type" HeaderText="型号" ReadOnly="True" />
                    <asp:BoundField DataField="unit" HeaderText="单位" ReadOnly="True" />
                    <asp:BoundField DataField="lossnumber" HeaderText="报损数量" ReadOnly="True" />
                    <asp:BoundField DataField="losscause" HeaderText="报损原因" ReadOnly="True" />
                    <asp:BoundField DataField="applicantkinds" HeaderText="申请类别" ReadOnly="True" />
                    <asp:BoundField DataField="lossapplicantid" HeaderText="申请人编号" ReadOnly="True" />
                    <asp:BoundField DataField="lossapplicant" HeaderText="申请人姓名" ReadOnly="True" />
                    <asp:BoundField DataField="applicanttime" HeaderText="申请时间" ReadOnly="True" />
                    <asp:BoundField DataField="managerdecided" HeaderText="办理意见" ReadOnly="True" />
                    <asp:BoundField DataField="checkdecided" HeaderText="审核意见" ReadOnly="True" />
                    <asp:BoundField DataField="finalcheckdecided" HeaderText="审批意见" ReadOnly="True" />
                    
                    <asp:CommandField HeaderText="操作" SelectText="审核" 
                        ShowHeader="True" ShowSelectButton="True" />
                    
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        
        
        </td>
      </tr>
            <tr>
                        <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
   
        <asp:Panel ID="plLossCheck" runat="server" Visible="False">
        <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                报损审核</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>        
      <div>
<table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                    报损序号</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbId" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " style ="width :80px">
                                        设备编号</td>
                <td class ="tabletd_left">
                                           <asp:Label ID="lbDevicenumber" runat="server"></asp:Label>&nbsp;
                </td>
                <td class ="tabletd_right " >
                    设备名称</td>
                <td class ="tabletd_left">
                    <asp:Label ID="lbDevicename" runat="server"></asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                    型号</td>
                <td class ="tabletd_left ">
                   <asp:Label ID="lbType" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " >
                                        设备类别</td>
                <td class ="tabletd_left">
                                           <asp:Label ID="lbCategories" runat="server"></asp:Label>&nbsp;
                </td>
                <td class ="tabletd_right ">
                    详细配置</td>
                <td class ="tabletd_left">
                    <asp:Label ID="lbConfiguration" runat="server"></asp:Label>&nbsp;
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                    报损数量</td>
                <td class ="tabletd_left ">
                                           <asp:Label ID="lbLossnumber" runat="server"></asp:Label>
                    <asp:Label ID="lbUnit" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " style ="width :80px">
                    报损原因</td>
                <td class ="tabletd_left ">
                                 <asp:Label ID="lbLosscause" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " >
                    报损说明</td>
                <td class ="tabletd_left ">
                       <asp:Label ID="lbLossnote" runat="server"></asp:Label>&nbsp;
                                            </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                                        申请类别</td>
                <td class ="tabletd_left ">
                                           <asp:Label ID="lbApplicantkinds" runat="server"></asp:Label>&nbsp;
                </td>
                <td class ="tabletd_right " style ="width :80px">
                    申请人编号</td>
                <td class ="tabletd_left ">
                                           <asp:Label ID="lbStaffnumber" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " >
                        姓名</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbStaff" runat="server"></asp:Label>&nbsp;
                    </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                    可报损数量</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbsumLossNumbernote" runat="server"></asp:Label>
                    <asp:Label ID="lbsumLossNumber" runat="server"></asp:Label>
                    <asp:Label ID="lbUnit1" runat="server"></asp:Label>
                </td>
                <td class ="tabletd_right ">
                    申请时间</td>
                <td class="tabletd_left ">
                    <asp:Label ID="lbApplicanttime" runat="server"></asp:Label>
                    &nbsp;
                </td>
                <td class="tabletd_left ">
                    &nbsp;</td>
                <td class="tabletd_left ">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                    管理员审核</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlManagerdecided" runat="server">
                        <asp:ListItem Selected="True">同意报损</asp:ListItem>
                        <asp:ListItem>不同意报损</asp:ListItem>
                        <asp:ListItem>其它</asp:ListItem>
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right " style ="width :80px">
                    审核说明</td>
                <td class ="tabletd_left " colspan="3">
                    <asp:TextBox ID="tbManagernote" runat="server" Width="300px"></asp:TextBox>
                                            <asp:CheckBox ID="chbfinal" runat="server" 
                        Text="审核人审批人同意管理员意见" />
                                            </td>
            </tr>
            <tr>
                <td class ="tabletd_center " colspan="6">
                    <asp:Button ID="btTijiao" runat="server" Text="提交审核" onclick="btTijiao_Click" />
                </td>
            </tr>
            </table>
                    </div>
        
        
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
        </asp:Panel>



   
    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
