VehicleOnUseing.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="VehicleOnUseing.aspx.cs" Inherits="Vehicles_VehicleOnUseing" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
  13.         <tr>
  14.             <th colspan="3" style="height: 25px">
  15.                 使用中车辆</th>
  16.         </tr>
  17.         <tr>
  18.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  19.                 <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  20.                     <Columns>                   
  21.                         <asp:TemplateField HeaderText="车牌号">
  22.                             <HeaderStyle HorizontalAlign="Center" />
  23.                             <ItemTemplate>
  24.                                 <%#CPH() %>
  25.                             </ItemTemplate>                         
  26.                             <ItemStyle HorizontalAlign="Center" />
  27.                         </asp:TemplateField>                        
  28.                         <asp:BoundField DataField="SQR" HeaderText="申请人" >
  29.                             <ItemStyle HorizontalAlign="Center"  />
  30.                         </asp:BoundField>        
  31.                         <asp:BoundField DataField="YCR" HeaderText="用车人" >
  32.                             <ItemStyle HorizontalAlign="Center"  />
  33.                         </asp:BoundField>
  34.                         <asp:BoundField DataField="KSSJ" HeaderText="开始时间" >
  35.                             <ItemStyle HorizontalAlign="Center"  />
  36.                         </asp:BoundField>
  37.                         <asp:BoundField DataField="JSSJ" HeaderText="结束时间" >
  38.                             <ItemStyle HorizontalAlign="Center"  />
  39.                         </asp:BoundField>
  40.                         <asp:BoundField DataField="SJ" HeaderText="司机" >
  41.                             <ItemStyle HorizontalAlign="Center"  />
  42.                         </asp:BoundField> 
  43.                         <asp:BoundField DataField="SY" HeaderText="事由" >
  44.                             <ItemStyle HorizontalAlign="Center" />
  45.                         </asp:BoundField> 
  46.                         <asp:TemplateField HeaderText="操作">
  47.                             <HeaderStyle />
  48.                             <ItemTemplate>
  49.                                 <%#CaoZuo()%>
  50.                             </ItemTemplate>                         
  51.                             <ItemStyle HorizontalAlign="Center" />
  52.                         </asp:TemplateField>                                                                                             
  53.                     </Columns>
  54.                     <RowStyle CssClass="usertablerow2" />
  55.                     <AlternatingRowStyle CssClass="usertablerow1" />
  56.                 </asp:GridView>
  57.             </td>
  58.         </tr>
  59.         <tr>
  60.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  61.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>         
  62.                 <input type="Button"  Class="ptsbutton" value="申请车辆" OnClick="window.location='ApplyAdd.aspx'" /> &nbsp;  &nbsp;   
  63.                 <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  64.             </td>        
  65.         </tr>
  66.   
  67.     </table>
  68.     <br>
  69.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  70.         border="0">
  71.         <tr>
  72.             <th colspan="2">
  73.                 使用方法</th>
  74.         </tr>
  75.         <tr>
  76.             <td class="usertablerow1" align="right" width="11%">
  77.                 <strong>特殊说明</strong></td>
  78.             <td class="usertablerow1" width="89%">
  79.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  80.         </tr>
  81.     </table>
  82.     </form>
  83.     
  84. </body>
  85. </html>