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

<!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>
<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:DropDownList ID="ddlApplication" runat="server">
                        <asp:ListItem Selected="True">管理员申请</asp:ListItem>
                        <asp:ListItem>员工申请</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Button ID="btSub" runat="server" Text="确认" onclick="btSub_Click" />
                                            </td>
                <td class ="tabletd_left" colspan="4">
                    <asp:Panel ID="plStaff" runat="server" Visible="False">
                        申请人编号：<asp:TextBox ID="tbStaffnumber" runat="server" 
    Width="160px"></asp:TextBox>
                        <asp:Button ID="serchStaff" runat="server" Text="查询" 
                            onclick="serchStaff_Click" />
                        申请人编号：<asp:Label ID="lbStaffnumber" runat="server"></asp:Label>
                        姓名：<asp:Label ID="lbStaff" runat="server"></asp:Label>
                    </asp:Panel>&nbsp;
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                                        设备编号</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbDevicenumber" runat="server" Width="160px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_left" colspan="4">
                    <asp:Button ID="btSerchdevicenumber" runat="server" Text="查询" 
                        onclick="btSerchdevicenumber_Click" />
                    <asp:Label ID="lbNote" runat="server"></asp:Label>
                    <asp:Label ID="lbId" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <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 " style ="width :80px">
                    设备名称</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbDevicename" runat="server"></asp:Label>&nbsp;
                                            </td>
                <td class ="tabletd_right " >
                    型号</td>
                <td class ="tabletd_left ">
                   <asp:Label ID="lbType" runat="server"></asp:Label>&nbsp;
                                            </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :80px">
                                        设备类别</td>
                <td class ="tabletd_left ">
                                           <asp:Label ID="lbCategories" runat="server"></asp:Label>
&nbsp;</td>
                <td class ="tabletd_right " style ="width :80px">
                    可报损数量</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbNubernote" runat="server"></asp:Label>
                    <asp:Label ID="lbNumber" runat="server"></asp:Label>
                    <asp:Label ID="lbUnit1" 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:TextBox ID="tbLossnumber" runat="server" Width="50px">1</asp:TextBox>
                    <asp:Label ID="lbUnit" runat="server"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="tbLossnumber" Display="Dynamic" ErrorMessage="数量不能为空！" 
                            ValidationGroup="tijiao"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" 
                                                ControlToValidate="tbLossnumber" 
                        Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" 
                                                ValidationGroup="tijiao"></asp:RegularExpressionValidator>
                                            </td>
                <td class ="tabletd_right">
                    报损原因</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlLosscause" runat="server">
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right " >
                    报损说明</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbLossnote" runat="server" Width="240px"></asp:TextBox>
                                            </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">
                    审核说明</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" 
                        ValidationGroup="tijiao" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btReset" runat="server" Text="重置" onclick="btReset_Click" />
                </td>
            </tr>
            </table>
                    </div>
        
        
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->


   
    </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>
