finish_list.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:8k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish_list.aspx.cs" Inherits="web_fair_finish_list" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <link href="../../css/style.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.         
  12.     <center>
  13.         &nbsp;</center>
  14.         <center>
  15.             <asp:Label ID="LblTitle" runat="server" Text="已簽核表單" Font-Bold="True" Font-Size="Medium"></asp:Label>&nbsp;</center>
  16.         <center>
  17.             &nbsp;</center>
  18.     <center>
  19.         <asp:GridView ID="ApprovelList" runat="server" AllowPaging="True" AllowSorting="True"
  20.             AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
  21.             BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1" OnRowCreated="ApprovelList_RowCreated"
  22.             OnRowDataBound="ApprovelList_RowDataBound" Style="position: relative" Width="580px">
  23.             <FooterStyle BackColor="White" ForeColor="#000066" />
  24.             <RowStyle ForeColor="Black" />
  25.             <Columns>
  26.                 <asp:BoundField DataField="emp_name" HeaderText="寄件者" SortExpression="emp_name" />
  27.                 <asp:TemplateField HeaderText="部門">
  28.                     <ItemTemplate>
  29.                         <asp:Label ID="LblDepartment" runat="server" Style="position: relative"></asp:Label>
  30.                     </ItemTemplate>
  31.                 </asp:TemplateField>
  32.                 <asp:BoundField DataField="apply_date" HeaderText="接收日期" SortExpression="apply_date" />
  33.             </Columns>
  34.             <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  35.             <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  36.             <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  37.         </asp:GridView>
  38.         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  39.             SelectCommand="SELECT f.id, e.emp_name, a.apply_date FROM dbo.OA_FAIR_FORM_FLOW AS f INNER JOIN dbo.OA_FAIR AS a ON f.form_id = a.id INNER JOIN dbo.OA_EMPLOYEE AS e ON a.emp_id = e.id WHERE (f.operator_id = @user_id) AND (f.is_check = 'Y') order by a.apply_date desc">
  40.             <SelectParameters>
  41.                 <asp:SessionParameter DefaultValue="0" Name="user_id" SessionField="user_id" />
  42.             </SelectParameters>
  43.         </asp:SqlDataSource>
  44.         <br />
  45.         <asp:Table id="TblFair" Visible="false" runat="server" Width="580px">
  46.             <asp:TableHeaderRow BackColor="menu">
  47.                 <asp:TableHeaderCell ColumnSpan="2" BorderWidth="1px" HorizontalAlign="Left">費用申請表單</asp:TableHeaderCell>
  48.             </asp:TableHeaderRow>
  49.             <asp:TableRow>
  50.                 <asp:TableCell BorderWidth="1px" Width="130px">單號</asp:TableCell>
  51.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  52.                     <asp:TextBox ID="TxtFormNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  53.                 </asp:TableCell>
  54.             </asp:TableRow>
  55.             <asp:TableRow>
  56.                 <asp:TableCell BorderWidth="1px">申請人姓名</asp:TableCell>
  57.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  58.                     <asp:TextBox ID="TxtEmpName" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  59.                 </asp:TableCell>
  60.             </asp:TableRow>
  61.             <asp:TableRow>
  62.                 <asp:TableCell BorderWidth="1px">申請人工號</asp:TableCell>
  63.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  64.                     <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  65.                 </asp:TableCell>
  66.             </asp:TableRow>
  67.             <asp:TableRow>
  68.                 <asp:TableCell BorderWidth="1px">申請日期</asp:TableCell>
  69.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  70.                     <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  71.                 </asp:TableCell>
  72.             </asp:TableRow>
  73.             <asp:TableRow>
  74.                 <asp:TableCell BorderWidth="1px">主旨</asp:TableCell>
  75.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  76.                     <asp:TextBox ID="TxtSubject" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  77.                 </asp:TableCell>
  78.             </asp:TableRow>
  79.             <asp:TableRow>
  80.                 <asp:TableCell BorderWidth="1px">申請金額</asp:TableCell>
  81.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  82.                     <asp:TextBox ID="TxtAmount" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  83.                 </asp:TableCell>
  84.             </asp:TableRow>
  85.             <asp:TableRow Visible="false">
  86.                 <asp:TableCell BorderWidth="1px">差旅單號</asp:TableCell>
  87.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  88.                     <asp:HyperLink ID="HlFormNo" runat="server"></asp:HyperLink>
  89.                 </asp:TableCell>
  90.             </asp:TableRow>
  91.             <asp:TableRow>
  92.                 <asp:TableCell BorderWidth="1px">備註</asp:TableCell>
  93.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  94.                     <asp:TextBox ID="TxtRemark" runat="server" Width="400px" Enabled="false" TextMode="MultiLine" Rows="5"></asp:TextBox>
  95.                 </asp:TableCell>
  96.             </asp:TableRow>
  97.             <asp:TableRow Visible="false">
  98.                 <asp:TableCell BorderWidth="1px">圖檔</asp:TableCell>
  99.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  100.                     <asp:Panel ID="PnlPicture" runat="server" HorizontalAlign="Left">
  101.                     </asp:Panel>
  102.                 </asp:TableCell>
  103.             </asp:TableRow>
  104.         </asp:Table>
  105.         <br />
  106.             <asp:Panel style="POSITION: relative" id="PnlDeal" runat="server" Visible="false">
  107.                 <table border="1" style="position: relative" width="580">
  108.                     <tr>
  109.                         <td align="center" style="width: 59px">
  110.                         </td>
  111.                         <td align="left">
  112.                             <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  113.                                 Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
  114.                                 <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  115.                                 <asp:ListItem Value="N">不同意</asp:ListItem>
  116.                             </asp:RadioButtonList></td>
  117.                     </tr>
  118.                     <tr>
  119.                         <td align="center" style="width: 59px">
  120.                             意見:
  121.                         </td>
  122.                         <td align="left">
  123.                             <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
  124.                                 Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  125.                     </tr>
  126.                     <tr>
  127.                         <td align="center" style="width: 59px">處理日期:</td>
  128.                         <td align="left">
  129.                             <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
  130.                         </td>
  131.                     </tr>
  132.                 </table>
  133.             </asp:Panel>
  134.         </center>
  135.     </div>
  136.     </form>
  137. </body>
  138. </html>