<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_system.aspx.cs" Inherits="Web.sb.admin.login_system" %>
<!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" />
<script type="text/javascript" src="../../css/popcalendar.js"></script>
</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>
<asp:GridView ID="gvCategories" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
        onrowcancelingedit="gvCategories_RowCancelingEdit" 
        onrowdatabound="gv_RowDataBound" onrowdeleting="gvCategories_RowDeleting" 
        onrowediting="gvCategories_RowEditing" 
        onrowupdating="gvCategories_RowUpdating" 
        onrowcreated="gvCategories_RowCreated" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                    
                    <asp:TemplateField HeaderText="类别名称">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("categories") %>'></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                                ControlToValidate="TextBox1" ErrorMessage="类别不能为空" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                                   <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBox1_2" runat="server" 
                    ControlToValidate="TextBox1" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBox1_3" runat="server" 
                    ControlToValidate="TextBox1" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$"                                                     
                    ForeColor="Red"></asp:RegularExpressionValidator>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("categories") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="类别编码">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("number") %>'></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                                ControlToValidate="TextBox2" ErrorMessage="类别编码不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBox2_2" runat="server" 
                    ControlToValidate="TextBox2" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ForeColor="Red"></asp:RegularExpressionValidator>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("number") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />

                    


                    
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        类别名称：<asp:TextBox ID="tbAddCategories" runat="server" Width ="200px"></asp:TextBox>

                &nbsp;类别编码：<asp:TextBox ID="tbCategoriesnumber" runat="server"></asp:TextBox>

                <asp:Button ID="btAddCategories" runat="server" Text="添加" 
                    ValidationGroup="AddCategories" onclick="btAddCategories_Click" />
                      <asp:Label ID="lbMessageCategories" runat="server" ForeColor="Red"></asp:Label>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="tbAddCategories" Display="Dynamic" 
                    ErrorMessage="名称不能为空。" ValidationGroup="AddCategories" 
        ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ControlToValidate="tbAddCategories" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ValidationGroup="AddCategories" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                    ControlToValidate="tbAddCategories" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$" 
                                                    
        ValidationGroup="AddCategories" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                    ControlToValidate="tbCategoriesnumber" Display="Dynamic" 
                    ErrorMessage="类别编码不能为空。" ValidationGroup="AddCategories" 
        ForeColor="Red"></asp:RequiredFieldValidator>
                                            &nbsp;<asp:RegularExpressionValidator 
        ID="RegularExpressionValidator15" runat="server" 
                    ControlToValidate="tbCategoriesnumber" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ValidationGroup="AddCategories" ForeColor="Red"></asp:RegularExpressionValidator>
        </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
   
   <!--  一组内容模块开始   --> 
    <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 :100px">
                    添加计量单位</td>
                <td class ="tabletd_left ">
                <asp:TextBox ID="tbAddUnit" runat="server" Width ="200px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_center " style="width :60px">

                <asp:Button ID="btAddUnit" runat="server" Text="添加" 
                    ValidationGroup="AddUnit" onclick="btAddUnit_Click" />
                    </td>
                <td rowspan="3" class ="tabletd_left " style =" width :40%; vertical-align :top ">
               <div style ="padding :3px">
                   <asp:Label ID="lbUnit" runat="server"></asp:Label>
                    </div>         
                  <div style ="padding :3px">
                      <asp:Label ID="lbMessageUnit" runat="server" ForeColor="Red"></asp:Label>
                    </div>
                  <div style ="padding :3px"> 
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="tbAddUnit" Display="Dynamic" 
                    ErrorMessage="名称不能为空。" ValidationGroup="AddUnit" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" 
                    ControlToValidate="tbAddUnit" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ValidationGroup="AddUnit" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server" 
                    ControlToValidate="tbAddUnit" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$" 
                                                    ValidationGroup="AddUnit" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="tbEditUnit" Display="Dynamic" ErrorMessage="名称不能为空。" 
                                                    ValidationGroup="EditUnit" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator11" runat="server" 
                    ControlToValidate="tbEditUnit" Display="Dynamic" 
                    ErrorMessage="请输入少于15个合法字符。" ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                                                    ValidationGroup="EditUnit" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator12" runat="server" 
                    ControlToValidate="tbEditUnit" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$" 
                                                    ValidationGroup="EditUnit" ForeColor="Red"></asp:RegularExpressionValidator>
                         </div>                    </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px">
                    删除计量单位</td>
                <td class ="tabletd_left ">
                <asp:DropDownList ID="ddlDelUnit" runat="server">
                </asp:DropDownList>
                </td>
                <td class ="tabletd_center " style="width :60px">
                <asp:Button ID="btDelUnit" runat="server" Text="删除" 
                    CausesValidation="False" onclick="btDelUnit_Click" />
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px">
                                                修改计量单位</td>
                <td class ="tabletd_left ">

                                                <asp:DropDownList ID="ddlEditUnit" runat="server">
                                                </asp:DropDownList>
                                                修改为：<asp:TextBox ID="tbEditUnit" runat="server" Width ="150px"></asp:TextBox>
                          </td>
                <td class ="tabletd_center " style="width :60px">
                                                <asp:Button ID="btEditUnit" runat="server" Text="修改" 
                                                    ValidationGroup="EditUnit" onclick="btEditUnit_Click" />
                                            </td>
            </tr>
        </table>
                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

   <!--  一组内容模块开始   --> 
    <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 :100px">
                    添加报损原因</td>
                <td class ="tabletd_left ">
                <asp:TextBox ID="tbAddLosscause" runat="server" Width ="200px"></asp:TextBox>
                                            </td>
                <td class ="tabletd_center " style="width :60px">

                <asp:Button ID="btAddLosscause" runat="server" Text="添加" 
                    ValidationGroup="AddLosscause" onclick="btAddLosscause_Click" />
                    </td>
                <td rowspan="3" class ="tabletd_left " style =" width :40%; vertical-align :top ">
               <div style ="padding :3px">
                   <asp:Label ID="lbLosscause" runat="server"></asp:Label>
                    </div>         
                  <div style ="padding :3px">
                      <asp:Label ID="lbMessageLosscause" runat="server" ForeColor="Red"></asp:Label>
                    </div>
                  <div style ="padding :3px"> 
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="tbAddLosscause" Display="Dynamic" 
                    ErrorMessage="名称不能为空。" ValidationGroup="AddLosscause" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="tbAddLosscause" Display="Dynamic" 
                    ErrorMessage="请输入少于15个字符。" 
                    ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                    ValidationGroup="AddLosscause" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="tbAddLosscause" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$" 
                                                    ValidationGroup="AddLosscause" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="tbEditLosscause" Display="Dynamic" ErrorMessage="名称不能为空。" 
                                                    ValidationGroup="EditLosscause" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                    ControlToValidate="tbEditLosscause" Display="Dynamic" 
                    ErrorMessage="请输入少于15个合法字符。" ValidationExpression="^[^%&gt;&lt;&amp;=\s]{1,15}$" 
                                                    ValidationGroup="EditLosscause" ForeColor="Red"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                    ControlToValidate="tbEditLosscause" Display="Dynamic" 
                    ErrorMessage="请用汉字或字母开头。" ValidationExpression="^(?!\d)[a-zA-Z0-9\u4e00-\u9fa5]+$" 
                                                    ValidationGroup="EditLosscause" ForeColor="Red"></asp:RegularExpressionValidator>
                         </div>                    </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px">
                    删除报损原因</td>
                <td class ="tabletd_left ">
                <asp:DropDownList ID="ddlDelLosscause" runat="server">
                </asp:DropDownList>
                </td>
                <td class ="tabletd_center " style="width :60px">
                <asp:Button ID="btDelLosscause" runat="server" Text="删除" 
                    CausesValidation="False" onclick="btDelLosscause_Click" style="height: 26px" />
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px">
                                                修改报损原因</td>
                <td class ="tabletd_left ">

                                                <asp:DropDownList ID="ddlEditLosscause" runat="server">
                                                </asp:DropDownList>
                                                修改为：<asp:TextBox ID="tbEditLosscause" runat="server" Width ="150px"></asp:TextBox>
                          </td>
                <td class ="tabletd_center " style="width :60px">
                                                <asp:Button ID="btEditLosscause" runat="server" Text="修改" 
                                                    ValidationGroup="EditLosscause" onclick="btEditLosscause_Click" />
                                            </td>
            </tr>
        </table>
                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->




   <!--  一组内容模块开始   --> 
    <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>
                      <asp:Label ID="lbMessageManager" runat="server" ForeColor="Red"></asp:Label>
                    </div>
<div>
<asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" onrowediting="GridView1_RowEditing" 
                AutoGenerateColumns="False" onrowupdating="GridView1_RowUpdating" 
                onrowcancelingedit="GridView1_RowCancelingEdit" 
                onrowdeleting="GridView1_RowDeleting" 
        onrowdatabound="gv_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="staffnumber" HeaderText="人员编号" ReadOnly="True" />
                    <asp:BoundField DataField="staffname" HeaderText="员工姓名" ReadOnly="True" />
                    <asp:TemplateField HeaderText="管理级别">
                        <EditItemTemplate>
                    <asp:DropDownList ID="ddlCheckergrade" runat="server">
                        <asp:ListItem>审核人</asp:ListItem>
                        <asp:ListItem>审批人</asp:ListItem>
                    </asp:DropDownList>

                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("checkergrade") %>'></asp:Label>
                            &nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />

                    
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
         人员编号：                <asp:TextBox ID="tbStaffnumber" runat="server" Width ="160px"></asp:TextBox> 
                  <asp:Button ID="btsearchStaff" runat="server" Text="查询" onclick="btsearchStaff_Click" />

                 &nbsp;&nbsp;管理级别：
                                     <asp:DropDownList ID="ddlCheckergrade" runat="server">
                        <asp:ListItem>审核人</asp:ListItem>
                        <asp:ListItem>审批人</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Button ID="btCheckergrade" runat="server" Text="添加" 
                        onclick="btCheckergrade_Click" />
                                            &nbsp;<asp:Label ID="lbStaffnumbernote" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffnumber" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffnamenote" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffname" runat="server"></asp:Label>
                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->


   <!--  一组内容模块开始   --> 
    <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>
                      <asp:Label ID="lbMessageOther" runat="server" ForeColor="Red"></asp:Label>
                    </div>
<div>
<table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style ="width :100%">
<tr>
<td class ="tabletd_right ">设备代码位数</td>
<td class ="tabletd_left ">
    <asp:TextBox ID="tbDevicecharnumber" runat="server" Width="40px" 
                        ValidationGroup="devicecharnumber"></asp:TextBox>
                                            </td>
<td class ="tabletd_center ">

                <asp:Button ID="btDevicecharnumber" runat="server" Text="设置" 
                        onclick="btDevicecharnumber_Click" 
        ValidationGroup="devicecharnumber" />
                                            </td>
<td class ="tabletd_left ">
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator16" runat="server" 
                                                ControlToValidate="tbDevicecharnumber" 
                        Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                
        ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="devicecharnumber" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" 
                                                ControlToValidate="tbDevicecharnumber" 
                Display="Dynamic" ErrorMessage="设备代码位数不能为空。" 
                                                ValidationGroup="devicecharnumber" ForeColor="Red"></asp:RequiredFieldValidator>
                                            </td>
</tr>
<tr>
<td class ="tabletd_right ">预借预领期</td>
<td class ="tabletd_left ">
                <asp:TextBox ID="tbSetPreLendTime" runat="server" Width ="40px"></asp:TextBox>
                                            天</td>
<td class ="tabletd_center ">

                <asp:Button ID="btSetPreLendTime" runat="server" Text="设置" 
                        onclick="btSetPreLendTime_Click" ValidationGroup="preLendTime" />
                    </td>
<td class ="tabletd_left ">
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" 
                                                ControlToValidate="tbSetPreLendTime" 
                        Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="preLendTime" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                ControlToValidate="tbSetPreLendTime" 
                Display="Dynamic" ErrorMessage="预借期不能为空。" 
                                                ValidationGroup="preLendTime" ForeColor="Red"></asp:RequiredFieldValidator>
                                            &nbsp;</td>
</tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px" rowspan="2">
                    缺省借出期限</td>
                <td class ="tabletd_left ">
                    缺省借出天数：<asp:TextBox ID="tbDefaultLenddays" runat="server" Width="40px" 
                        ValidationGroup="Lenddays"></asp:TextBox>
                                            </td>
                <td class ="tabletd_center " style="width :60px">

                <asp:Button ID="btSetDefaultLendDays" runat="server" Text="设置" 
                        onclick="btSetDefaultLendDays_Click" ValidationGroup="Lenddays" />
                    </td>
                <td class ="tabletd_left " style =" width :40%; vertical-align :top " 
                    rowspan="2">
                   <asp:Label ID="lbLendTime" runat="server"></asp:Label>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator14" runat="server" 
                                                ControlToValidate="tbDefaultLenddays" 
                        Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="Lenddays" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                                ControlToValidate="tbDefaultLenddays" 
                Display="Dynamic" ErrorMessage="缺省借出天数不能为空。" 
                                                ValidationGroup="Lenddays" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                                ControlToValidate="tbDefaultReturnDate" 
                Display="Dynamic" ErrorMessage="缺省归还日期不能为空。" 
                                                ValidationGroup="ReturnDate" ForeColor="Red"></asp:RequiredFieldValidator>
                                            &nbsp;</td>
            </tr>
            <tr>
                <td class ="tabletd_left ">
                    缺省最后归还日期：<asp:TextBox ID="tbDefaultReturnDate" runat="server" Width ="100px" onclick="popUpCalendar(this,this,'yyyy-mm-dd')"></asp:TextBox>
      </td>
                <td class ="tabletd_center " style="width :60px">

                <asp:Button ID="btSetDefaultReturnDate" runat="server" Text="设置" 
                        onclick="btSetDefaultReturnDate_Click" ValidationGroup="ReturnDate" />
                    </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>