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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckInManager.aspx.cs" Inherits="Articles_CheckInManager" %>
  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="center" 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>
  22.                             <ItemTemplate>
  23.                                 <asp:CheckBox ID="CheckBoxItem" runat="server" />
  24.                             </ItemTemplate>
  25.                         </asp:TemplateField>
  26.                         <asp:BoundField DataField="ID" HeaderText="ID" >
  27.                             <ItemStyle HorizontalAlign="Center" />
  28.                         </asp:BoundField>
  29.                         <asp:BoundField DataField="WP" HeaderText="物品名称" >
  30.                             <ItemStyle HorizontalAlign="Center" />
  31.                         </asp:BoundField>
  32.                         <asp:TemplateField HeaderText="登记类型">
  33.                             <ItemTemplate>
  34.                                 <%#YPLB()%>
  35.                             </ItemTemplate>                         
  36.                             <ItemStyle HorizontalAlign="Center" />
  37.                         </asp:TemplateField>
  38.            
  39.                         <asp:BoundField DataField="DJ" HeaderText="单价" >
  40.                             <ItemStyle HorizontalAlign="Center" />
  41.                         </asp:BoundField>
  42.                         <asp:BoundField DataField="SL" HeaderText="数量" >
  43.                             <ItemStyle HorizontalAlign="Center" />
  44.                         </asp:BoundField>
  45.                         <asp:BoundField DataField="DJR" HeaderText="登记人" >
  46.                             <ItemStyle HorizontalAlign="Center" />
  47.                         </asp:BoundField>
  48.                         <asp:BoundField DataField="BZ" HeaderText="备注" >
  49.                             <ItemStyle HorizontalAlign="Center" />
  50.                         </asp:BoundField>
  51.                         
  52.                         <asp:TemplateField HeaderText="操作">
  53.                             <HeaderStyle  Width="300px" />
  54.                             <ItemTemplate>
  55.                                 <%#CaoZuo()%>
  56.                             </ItemTemplate>                         
  57.                             <ItemStyle HorizontalAlign="Center" />
  58.                          </asp:TemplateField>
  59.                     </Columns>
  60.                     <RowStyle CssClass="usertablerow2" />
  61.                     <AlternatingRowStyle CssClass="usertablerow1" />
  62.                 </asp:GridView>
  63.             </td>
  64.         </tr>
  65.         <tr>
  66.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  67.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>        
  68.                 <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />&nbsp;
  69.                 <asp:Button ID="DelButton1" runat="server" Text="删除并销毁文件" OnClientClick="javascript:return confirm('确定要删除该记录吗?');" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;      
  70.                 <input type="Button"  Class="ptsbutton" value="查询" onclick="window.location='SearchCheckIn.aspx'" /> &nbsp;  &nbsp;
  71.                 <input type="Button"  Class="ptsbutton" value="库存登记" onclick="window.location='CheckInAdd.aspx'" /> &nbsp;  &nbsp;
  72.                 <input type="Button"  Class="ptsbutton" value="打印" onclick="window.print()" />
  73.             </td> 
  74.         </tr>
  75.  
  76.     </table>
  77.     <br>
  78.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  79.         border="0">
  80.         <tr>
  81.             <th colspan="2">
  82.                 使用方法</th>
  83.         </tr>
  84.         <tr>
  85.             <td class="usertablerow1" align="right" width="11%">
  86.                 <strong>特殊说明</strong></td>
  87.             <td class="usertablerow1" width="89%">
  88.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  89.         </tr>
  90.     </table>
  91.     </form>
  92.     
  93. </body>
  94. </html>