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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="deal.aspx.cs" Inherits="web_equipment_deal" %>
  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. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.         <asp:MultiView ID="MultiView1" runat="server" EnableTheming="True" Visible="true" OnActiveViewChanged="MultiView1_ActiveViewChanged" ActiveViewIndex="0">
  10.             <asp:View ID="View1" runat="server">
  11.                 <asp:Label ID="Label1" runat="server" Text="申請單號" Width="70px" style="left: 81px; top: 64px; text-align: left"></asp:Label>&nbsp;
  12.                 <asp:TextBox ID="TextBox1" runat="server" Width="119px" AutoPostBack="True" Enabled="False" style="left: 84px; top: 60px"></asp:TextBox>
  13.                 &nbsp; &nbsp;&nbsp;<br />
  14.                 <asp:Label ID="Label2" runat="server" Text="申請人" Width="70px" style="left: 81px; top: 64px; text-align: left"></asp:Label>
  15.                 <asp:TextBox ID="TextBox2" runat="server" Width="121px" AutoPostBack="True" Enabled="False" style="left: 83px; top: 91px"></asp:TextBox>
  16.                 <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" AllowPaging="True" Visible="true" style="width: 680px" Width="680px">
  17.                     <Columns>
  18.                         <asp:BoundField DataField="equipment_name" HeaderText="用品名稱" SortExpression="equipment_name" />
  19.                         <asp:BoundField DataField="standard" HeaderText="品牌/規格" SortExpression="standard" />
  20.                         <asp:BoundField DataField="equipment_unit" HeaderText="單位" SortExpression="equipment_unit" />
  21.                         <asp:BoundField DataField="equipment_num" HeaderText="數量" SortExpression="equipment_num" />
  22.                         <asp:BoundField DataField="cause" HeaderText="需求原因" SortExpression="cause" />
  23.                         <asp:BoundField DataField="apply_date" HeaderText="需求日期" SortExpression="apply_date" />
  24.                         <asp:BoundField DataField="type" HeaderText="評估說明" SortExpression="type" />
  25.                         <asp:BoundField DataField="charge" HeaderText="評估費用" SortExpression="charge" />
  26.                         <asp:BoundField DataField="remark" HeaderText="備注" SortExpression="remark" />
  27.                     </Columns>
  28.                 </asp:GridView>
  29.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  30.                     SelectCommand="SELECT [equipment_name], [standard], [equipment_unit], [equipment_num], [cause], [apply_date], [type], [charge], [remark] FROM [oa_equipment_form_d] WHERE ([form_id] = @form_id)">
  31.                     <SelectParameters>
  32.                         <asp:ControlParameter ControlID="TextBox1" Name="form_id" PropertyName="Text" Type="String" />
  33.                     </SelectParameters>
  34.                 </asp:SqlDataSource>
  35.             </asp:View>
  36.         </asp:MultiView>
  37.         &nbsp;
  38.         &nbsp;
  39.         &nbsp;
  40.          &nbsp;
  41.           &nbsp;
  42.         <asp:MultiView ID="MultiView2" runat="server" ActiveViewIndex="0">
  43.             <asp:View ID="View4" runat="server">
  44.                 <asp:Table ID="FlowTable" runat="server" GridLines="Both" Width="636px" Visible="true" style="width: 680px">
  45.                     <asp:TableRow runat="server">
  46.                         <asp:TableCell runat="server">步驟</asp:TableCell>
  47.                         <asp:TableCell runat="server">辦理人</asp:TableCell>
  48.                         <asp:TableCell runat="server">簽核類別</asp:TableCell>
  49.                         <asp:TableCell runat="server">處理狀態</asp:TableCell>
  50.                         <asp:TableCell runat="server">是否同意</asp:TableCell>
  51.                         <asp:TableCell runat="server">處理意見</asp:TableCell>
  52.                         <asp:TableCell runat="server">辦理日期</asp:TableCell>
  53.                     </asp:TableRow>
  54.                 </asp:Table>
  55.             </asp:View>
  56.         </asp:MultiView>
  57.         &nbsp;
  58.         &nbsp;
  59.         &nbsp;
  60.          &nbsp;
  61.           &nbsp;
  62.         <asp:MultiView ID="MultiView3" runat="server" ActiveViewIndex="0">
  63.             <asp:View ID="View5" runat="server">
  64.                 <asp:Table ID="Table1" runat="server" Width="642px" GridLines="Both" HorizontalAlign="Left" Visible="true" style="width: 680px">
  65.                     <asp:TableRow runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
  66.                         <asp:TableCell runat="server" Width="1.5cm"></asp:TableCell>
  67.                         <asp:TableCell runat="server" HorizontalAlign="Left" Width="10cm">
  68.                             <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  69.                             OnSelectedIndexChanged="RbAgree_SelectedIndexChanged" RepeatDirection="Horizontal"
  70.                             Style="position: relative; left: 4px; top: 0px;" Width="163px">
  71.                              <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  72.                             <asp:ListItem Value="N">不同意</asp:ListItem>
  73.                             </asp:RadioButtonList></asp:TableCell>
  74.                     </asp:TableRow>
  75.                     <asp:TableRow runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
  76.                         <asp:TableCell runat="server" Width="1.5cm">意見</asp:TableCell>
  77.                         <asp:TableCell runat="server" HorizontalAlign="Left" Width="10cm">
  78.                             <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Rows="5" Style="position: relative; left: 0px; top: 1px;"
  79.                             TextMode="MultiLine" Width="10cm">已同意</asp:TextBox></asp:TableCell>
  80.                     </asp:TableRow>
  81.                     <asp:TableRow runat="server" HorizontalAlign="Center" TableSection="TableFooter"
  82.                         VerticalAlign="Middle">
  83.                         <asp:TableCell runat="server" ColumnSpan="2" HorizontalAlign="Center" VerticalAlign="Middle">
  84.                         <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Style="position: relative"
  85.                             Text="送件" /></asp:TableCell>
  86.                     </asp:TableRow>
  87.                 </asp:Table>
  88.             </asp:View>
  89.         </asp:MultiView>
  90.     </form>
  91. </body>
  92. </html>