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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AgreeSupply.aspx.cs" Inherits="Vehicles_AgreeSupply" %>
  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.     <script type="text/javascript">
  8.         function SupplyNo()
  9.         {
  10.             if(confirm("确定要不同意该申请吗dddd?"))
  11.             {
  12.                 return false;
  13.             }
  14.             else
  15.             {
  16.                 return true;
  17.             }
  18.         }
  19.     </script>
  20. </head>
  21.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  22. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  23. <form runat="server" id="fm1">
  24.     <br>
  25.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
  26.         <tr>
  27.             <th colspan="3" style="height: 25px">
  28.                 车辆审批</th>
  29.         </tr>
  30.         <tr>
  31.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  32.                 <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  33.                     <Columns>                   
  34.                         <asp:TemplateField>
  35.                             <ItemTemplate>
  36.                                 <asp:CheckBox ID="CheckBoxItem" runat="server" />
  37.                             </ItemTemplate>
  38.                         </asp:TemplateField>
  39.                         <asp:BoundField DataField="ID" HeaderText="ID" >
  40.                             <ItemStyle HorizontalAlign="Center" />
  41.                         </asp:BoundField> 
  42.                         <asp:TemplateField HeaderText="车牌号">
  43.                             <HeaderStyle HorizontalAlign="Center" />
  44.                             <ItemTemplate>
  45.                                 <%#CPH() %>
  46.                             </ItemTemplate>                         
  47.                             <ItemStyle HorizontalAlign="Center"  />
  48.                         </asp:TemplateField>                        
  49.                         <asp:BoundField DataField="SQR" HeaderText="申请人" >
  50.                             <ItemStyle HorizontalAlign="Center"  />
  51.                         </asp:BoundField>        
  52.                         <asp:BoundField DataField="YCR" HeaderText="用车人" >
  53.                             <ItemStyle HorizontalAlign="Center"  />
  54.                         </asp:BoundField>
  55.                         <asp:BoundField DataField="KSSJ" HeaderText="开始时间" >
  56.                             <ItemStyle HorizontalAlign="Center"  />
  57.                         </asp:BoundField>
  58.                         <asp:BoundField DataField="JSSJ" HeaderText="结束时间" >
  59.                             <ItemStyle HorizontalAlign="Center"  />
  60.                         </asp:BoundField>
  61.                         <asp:BoundField DataField="SJ" HeaderText="司机" >
  62.                             <ItemStyle HorizontalAlign="Center"  />
  63.                         </asp:BoundField> 
  64.                         <asp:BoundField DataField="SY" HeaderText="事由" >
  65.                             <ItemStyle HorizontalAlign="Center" />
  66.                         </asp:BoundField> 
  67.                         <asp:TemplateField HeaderText="操作">
  68.                             <HeaderStyle />
  69.                             <ItemTemplate>
  70.                                 <%#CaoZuo()%>
  71.                             </ItemTemplate>                         
  72.                             <ItemStyle HorizontalAlign="Center" />
  73.                         </asp:TemplateField>                                                                                             
  74.                     </Columns>
  75.                     <RowStyle CssClass="usertablerow2" />
  76.                     <AlternatingRowStyle CssClass="usertablerow1" />
  77.                 </asp:GridView>
  78.             </td>
  79.         </tr>
  80.         <tr>
  81.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  82.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>        
  83.                 <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />&nbsp;
  84.                 <asp:Button ID="DelButton1" runat="server" Text="同意申请" OnClientClick="javascript:return confirm('确定要同意该申请吗?')" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;  
  85.                 <asp:Button ID="DelButton2" runat="server" Text="不同意申请" OnClientClick="javascript:return confirm('确定不同意该申请吗?')" OnClick="DelButton2_Click" />  &nbsp;  &nbsp;
  86.                 原因:<asp:TextBox ID="KeyValue_SY" runat="server"></asp:TextBox>
  87.                 &nbsp;
  88.                    <input type="Button"  Class="ptsbutton" value="申请车辆" OnClick="window.location='ApplyAdd.aspx'" /> &nbsp;  &nbsp;   
  89.                 <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  90.             </td>        
  91.         </tr>
  92.  
  93.     </table>
  94.     <br>
  95.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  96.         border="0">
  97.         <tr>
  98.             <th colspan="2">
  99.                 使用方法</th>
  100.         </tr>
  101.         <tr>
  102.             <td class="usertablerow1" align="right" width="11%">
  103.                 <strong>特殊说明</strong></td>
  104.             <td class="usertablerow1" width="89%">
  105.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  106.         </tr>
  107.     </table>
  108.     </form>
  109.     
  110. </body>
  111. </html>