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

<!DOCTYPE html>
<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 :31px"  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>
   <div class ="divLinkButtonLeft ">    <asp:RadioButtonList ID="rblApp" runat="server" RepeatDirection="Horizontal" OnSelectedIndexChanged="rblApp_SelectedIndexChanged">
     <asp:ListItem >管理员申请</asp:ListItem>
     <asp:ListItem Selected="True">员工申请</asp:ListItem>
          </asp:RadioButtonList></div>   
 <div class ="divLinkButtonLeft " runat ="server" id ="divStaff" visible ="false" >  
                        申请人编号：<asp:TextBox ID="tbStaffnumber" runat="server" 
    Width="160px"></asp:TextBox>
                        &nbsp;<asp:Button ID="serchStaff" runat="server" Text="查询" 
                            onclick="serchStaff_Click" />
                      <asp:Label ID="lbStaffnumber" runat="server"></asp:Label>
                        &nbsp;<asp:Label ID="lbStaff" runat="server"></asp:Label>
                 </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: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 class ="divLinkButtonLeft ">  
      设备编号：  <asp:TextBox ID="tbDevicenumber" runat="server" Width="160px"></asp:TextBox>  &nbsp;<asp:Button ID="btSerchdevicenumber" runat="server" Text="查询" 
                        onclick="btSerchdevicenumber_Click" />
      </div> 
<table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
            <tr>
                <td  class ="tabletd_center ">
                                        库存编号</td>
                <td class ="tabletd_left ">
                  
                    <asp:Label ID="lbId" runat="server"></asp:Label>
                  
                                            </td>
            </tr>
            <tr>
                <td  class ="tabletd_center " style ="width :80px">
                                        设备编号</td>
                <td class ="tabletd_left ">
                                           <asp:Label ID="lbDevicenumber" runat="server"></asp:Label>
&nbsp;</td>
            </tr>
            <tr>
                <td  class ="tabletd_center ">
                    设备名称</td>
                <td class ="auto-style2">
                    <asp:Label ID="lbDevicename" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td  class ="tabletd_center ">
                                        设备类别</td>
                <td class ="auto-style2">
                                           <asp:Label ID="lbCategories" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_center ">
                    型号</td>
                <td class ="auto-style2">
                   <asp:Label ID="lbType" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td  class ="auto-style2">
                    详细配置</td>
                <td class ="auto-style2">
                    <asp:Label ID="lbConfiguration" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td class ="tabletd_center ">
                    可报损数量</td>
                <td class ="tabletd_left ">
                    <asp:Label ID="lbNumber" runat="server"></asp:Label>
                    <asp:Label ID="lbUnit1" runat="server"></asp:Label></td>
            </tr>
            </table>
         <div class ="divLinkButtonLeft ">     报损原因：   <asp:DropDownList ID="ddlLosscause" runat="server">
                    </asp:DropDownList>
                    &nbsp;报损数量：               <asp:TextBox ID="tbLossnumber" runat="server" Width="50px">1</asp:TextBox>
                    <asp:Label ID="lbUnit" runat="server"></asp:Label>
                        报损说明：<asp:TextBox ID="tbLossnote" runat="server" Width="240px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="tbLossnumber" Display="Dynamic" ErrorMessage="数量不能为空！" 
                            ValidationGroup="tijiao" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" 
                                                ControlToValidate="tbLossnumber" 
                        Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" 
                                                ValidationGroup="tijiao" ForeColor="Red"></asp:RegularExpressionValidator>
                                        </div> 
             <div class ="divLinkButtonLeft "> 
                  管理员审核：
                    <asp:DropDownList ID="ddlManagerdecided" runat="server">
                        <asp:ListItem Selected="True">同意报损</asp:ListItem>
                        <asp:ListItem>不同意报损</asp:ListItem>
                        <asp:ListItem>其它</asp:ListItem>
                    </asp:DropDownList>
                                            &nbsp;审核说明：<asp:TextBox ID="tbManagernote" runat="server" Width="300px"></asp:TextBox>
                                            <asp:CheckBox ID="chbfinal" runat="server" 
                        Text="审核人审批人同意管理员意见" />
                 </div> 
                     <div class ="divLinkButtonLeft "> 
                          <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" />
                         </div> 
                    </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>