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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="副本 employee_where.aspx.cs" Inherits="web_approvel_employee_where" %>
  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.     <center>
  12.         &nbsp;</center>
  13.         <center>
  14.             <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  15.                 SelectCommand="select a.id,emp_card_no,card_date,card_t,card_status from oa_card_time as a left join oa_employee as b&#13;&#10; on a.emp_card_no=b.work_card_no1 where b.id=@e_id order by card_date desc">
  16.                 <SelectParameters>
  17.                     <asp:QueryStringParameter Name="e_id" QueryStringField="e_id" />
  18.                 </SelectParameters>
  19.             </asp:SqlDataSource>
  20.             <asp:Table ID="TblWhere" runat="server" Style="position: relative; left: 0px; top: -25px;" Width="600px" BackColor="Transparent"  Height="46px">
  21.                 <asp:TableHeaderRow BackColor="GrayText" runat="server">
  22.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">部門</asp:TableHeaderCell>
  23.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">姓名</asp:TableHeaderCell>
  24.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">工號</asp:TableHeaderCell>
  25.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">職稱</asp:TableHeaderCell>
  26.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">分機</asp:TableHeaderCell>
  27.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">手機</asp:TableHeaderCell>
  28.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">小靈通</asp:TableHeaderCell>
  29.                     <asp:TableHeaderCell BorderWidth="0px" runat="server" BackColor="#333399" ForeColor="AntiqueWhite">公司郵箱</asp:TableHeaderCell>
  30.                     
  31.                 </asp:TableHeaderRow>
  32.             </asp:Table>
  33.       </center>
  34.         &nbsp; &nbsp;&nbsp; &nbsp;
  35.             <center>
  36.             <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
  37.                 AutoGenerateColumns="False" DataSourceID="SqlDataSource3" OnRowCreated="Work_time_RowDataBound1"
  38.                 Width="572px">
  39.               <Columns>
  40.               <asp:BoundField DataField="card_date" HeaderText="日期" SortExpression="card_date" />
  41.               <asp:BoundField DataField="card_t" HeaderText="打卡時間" SortExpression="card_t" />
  42.               <asp:TemplateField HeaderText="狀態">
  43.                 <ItemTemplate>
  44.                   <asp:Label ID="LabStatus" runat="server"></asp:Label>
  45.                 </ItemTemplate>
  46.               </asp:TemplateField>
  47.               </Columns>
  48.             </asp:GridView>
  49.                 &nbsp; &nbsp;</center>
  50.         <center>
  51.         
  52.             <asp:GridView ID="Work_time" runat="server" AllowPaging="True" AllowSorting="True"
  53.                 AutoGenerateColumns="False" DataSourceID="SqlDataSource2" OnRowDataBound="Work_time_RowDataBound" Width="381px" Visible="False" Height="113px">
  54.                 <Columns>
  55.                     <asp:BoundField DataField="card_date" HeaderText="日期" SortExpression="card_date" />
  56.                 </Columns>
  57.             </asp:GridView>
  58.         </center>
  59.             <center>
  60.             </center>
  61.         &nbsp;
  62.             <center>
  63.                 <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="按日期查詢出勤時間" />
  64.                 <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="取消" />&nbsp;<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  65.                 SelectCommand="select card_date from oa_card_time as a left join oa_employee as b&#13;&#10; on a.emp_card_no=b.work_card_no1 where b.id=@e_id &#13;&#10;group by  card_date&#13;&#10;order by card_date desc">
  66.                 <SelectParameters>
  67.                     <asp:QueryStringParameter Name="e_id" QueryStringField="e_id" />
  68.                 </SelectParameters>
  69.             </asp:SqlDataSource>
  70.         </center>
  71.         <center>
  72.             <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  73.                 SelectCommand="select a.id,emp_card_no,card_date,card_t,card_status from oa_card_time as a left join oa_employee as b&#13;&#10; on a.emp_card_no=b.work_card_no1 where b.id=@e_id order by card_date desc">
  74.                 <SelectParameters>
  75.                     <asp:QueryStringParameter Name="e_id" QueryStringField="e_id" />
  76.                 </SelectParameters>
  77.             </asp:SqlDataSource>
  78.             <br />
  79.             <asp:Panel ID="PnlForm1" runat="server" Visible="False">
  80.                 <asp:Table ID="TblForm" runat="server" Style="position: relative" Width="600px">
  81.                     <asp:TableHeaderRow runat="server">
  82.                         <asp:TableHeaderCell runat="server" BackColor="Menu" ColumnSpan="4" Height="20px"
  83.                             HorizontalAlign="Left">流通事業群台幹差假單</asp:TableHeaderCell>
  84.                     </asp:TableHeaderRow>
  85.                     <asp:TableRow runat="server">
  86.                         <asp:TableCell runat="server" BorderWidth="0px">
  87.                             <asp:Label ID="LblFormNo" runat="server" BorderStyle="None" Text="申請單號"></asp:Label>
  88.                         </asp:TableCell>
  89.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  90.                             <asp:TextBox ID="TxtFormNo" runat="server" Enabled="False"></asp:TextBox>
  91.                         </asp:TableCell>
  92.                         <asp:TableCell runat="server" BorderWidth="0px">
  93.                             <asp:Label ID="LblVacationBegin" runat="server" BorderStyle="None" Text="休假日期起"></asp:Label>
  94.                         </asp:TableCell>
  95.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  96.                             <asp:TextBox ID="TxtVacationBegin" runat="server" Enabled="False"></asp:TextBox>
  97.                         </asp:TableCell>
  98.                     </asp:TableRow>
  99.                     <asp:TableRow runat="server">
  100.                         <asp:TableCell runat="server" BorderWidth="0px">
  101.                             <asp:Label ID="LblEmpNo" runat="server" BorderStyle="None" Text="申請人工號"></asp:Label>
  102.                         </asp:TableCell>
  103.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  104.                             <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="False"></asp:TextBox>
  105.                         </asp:TableCell>
  106.                         <asp:TableCell runat="server" BorderWidth="0px">
  107.                             <asp:Label ID="LblVacationEnd" runat="server" BorderStyle="None" Text="休假日期止"></asp:Label>
  108.                         </asp:TableCell>
  109.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  110.                             <asp:TextBox ID="TxtVacationEnd" runat="server" Enabled="False"></asp:TextBox>
  111.                         </asp:TableCell>
  112.                     </asp:TableRow>
  113.                     <asp:TableRow runat="server">
  114.                         <asp:TableCell runat="server" BorderWidth="0px">
  115.                             <asp:Label ID="LblApplyDate" runat="server" BorderStyle="None" Text="申請日期"></asp:Label>
  116.                         </asp:TableCell>
  117.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  118.                             <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="False"></asp:TextBox>
  119.                         </asp:TableCell>
  120.                         <asp:TableCell runat="server" BorderWidth="0px">
  121.                             <asp:Label ID="LblVacationPlace" runat="server" BorderStyle="None" Text="休假區域"></asp:Label>
  122.                         </asp:TableCell>
  123.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  124.                             <asp:TextBox ID="TxtVacationPlace" runat="server"></asp:TextBox>
  125.                         </asp:TableCell>
  126.                     </asp:TableRow>
  127.                     <asp:TableRow runat="server">
  128.                         <asp:TableCell runat="server" BorderWidth="0px">
  129.                             <asp:Label ID="LblEmpId" runat="server" BorderStyle="None" Text="申請人姓名"></asp:Label>
  130.                         </asp:TableCell>
  131.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  132.                             <asp:TextBox ID="TxtEmpName" runat="server" Enabled="False"></asp:TextBox>
  133.                         </asp:TableCell>
  134.                         <asp:TableCell runat="server" BorderWidth="0px">
  135.                             <asp:Label ID="LblFlightGoDepart" runat="server" BorderStyle="None" Text="班機(往)出發地"></asp:Label>
  136.                         </asp:TableCell>
  137.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  138.                             <asp:TextBox ID="TxtFlightGoDepart" runat="server" Enabled="False"></asp:TextBox>
  139.                         </asp:TableCell>
  140.                     </asp:TableRow>
  141.                     <asp:TableRow runat="server">
  142.                         <asp:TableCell runat="server" BorderWidth="0px">
  143.                             <asp:Label ID="LblDepartment" runat="server" BorderStyle="None" Text="申請人部門"></asp:Label>
  144.                         </asp:TableCell>
  145.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  146.                             <asp:TextBox ID="TxtDepartment" runat="server" Enabled="False"></asp:TextBox>
  147.                         </asp:TableCell>
  148.                         <asp:TableCell runat="server" BorderWidth="0px">
  149.                             <asp:Label ID="LblFlightGoArrive" runat="server" BorderStyle="None" Text="班機(往)終地點"></asp:Label>
  150.                         </asp:TableCell>
  151.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  152.                             <asp:TextBox ID="TxtFlightGoArrive" runat="server" Enabled="False"></asp:TextBox>
  153.                         </asp:TableCell>
  154.                     </asp:TableRow>
  155.                     <asp:TableRow runat="server">
  156.                         <asp:TableCell runat="server" BorderWidth="0px">
  157.                             <asp:Label ID="LblPosition" runat="server" BorderStyle="None" Text="申請人職稱"></asp:Label>
  158.                         </asp:TableCell>
  159.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  160.                             <asp:TextBox ID="TxtPosition" runat="server" Enabled="False"></asp:TextBox>
  161.                         </asp:TableCell>
  162.                         <asp:TableCell runat="server" BorderWidth="0px">
  163.                             <asp:Label ID="LblFlightGoTime" runat="server" BorderStyle="None" Text="(往)起飛時間"></asp:Label>
  164.                         </asp:TableCell>
  165.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  166.                             <asp:TextBox ID="TxtFlightGoTime" runat="server" Enabled="False"></asp:TextBox>
  167.                         </asp:TableCell>
  168.                     </asp:TableRow>
  169.                     <asp:TableRow runat="server">
  170.                         <asp:TableCell runat="server" BorderWidth="0px">
  171.                             <asp:Label ID="LblDelegate" runat="server" BorderStyle="None" Text="代理人"></asp:Label>
  172.                         </asp:TableCell>
  173.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  174.                             <asp:TextBox ID="TxtDelegate" runat="server" Enabled="False"></asp:TextBox>
  175.                         </asp:TableCell>
  176.                         <asp:TableCell runat="server" BorderWidth="0px">
  177.                             <asp:Label ID="LblFlightBackTime" runat="server" BorderStyle="None" Text="(返)起飛時間"></asp:Label>
  178.                         </asp:TableCell>
  179.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  180.                             <asp:TextBox ID="TxtFlightBackTime" runat="server" Enabled="False"></asp:TextBox>
  181.                         </asp:TableCell>
  182.                     </asp:TableRow>
  183.                     <asp:TableRow runat="server">
  184.                         <asp:TableCell runat="server" BorderWidth="0px">
  185.                             <asp:Label ID="LblOffType" runat="server" BorderStyle="None" Text="假別"></asp:Label>
  186.                         </asp:TableCell>
  187.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  188.                             <asp:TextBox ID="TxtOffType" runat="server" Enabled="False"></asp:TextBox>
  189.                         </asp:TableCell>
  190.                         <asp:TableCell runat="server" BorderWidth="0px">
  191.                             <asp:Label ID="LblFlightBackDepart" runat="server" BorderStyle="None" Text="班機(返)出發地"></asp:Label>
  192.                         </asp:TableCell>
  193.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  194.                             <asp:TextBox ID="TxtFlightBackDepart" runat="server" Enabled="False"></asp:TextBox>
  195.                         </asp:TableCell>
  196.                     </asp:TableRow>
  197.                     <asp:TableRow runat="server">
  198.                         <asp:TableCell runat="server" BorderWidth="0px">
  199.                             <asp:Label ID="LblParenthesis" runat="server" BorderStyle="None" Text="附帶公務假"></asp:Label>
  200.                         </asp:TableCell>
  201.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  202.                             <asp:TextBox ID="TxtParenthesis" runat="server" Enabled="False"></asp:TextBox>
  203.                         </asp:TableCell>
  204.                         <asp:TableCell runat="server" BorderWidth="0px">
  205.                             <asp:Label ID="LblFlightBackArrive" runat="server" BorderStyle="None" Text="班機(返)終地點"></asp:Label>
  206.                         </asp:TableCell>
  207.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  208.                             <asp:TextBox ID="TxtFlightBackArrive" runat="server" Enabled="False"></asp:TextBox>
  209.                         </asp:TableCell>
  210.                     </asp:TableRow>
  211.                     <asp:TableRow runat="server">
  212.                         <asp:TableCell runat="server" BorderWidth="0px">
  213.                             <asp:Label ID="LblDays" runat="server" BorderStyle="None" Text="工作日數"></asp:Label>
  214.                         </asp:TableCell>
  215.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  216.                             <asp:TextBox ID="TxtDays" runat="server" Enabled="False"></asp:TextBox>
  217.                         </asp:TableCell>
  218.                         <asp:TableCell runat="server" BorderWidth="0px">
  219.                             <asp:Label ID="LblBusinessBegin" runat="server" BorderStyle="None" Text="工作日期起"></asp:Label>
  220.                         </asp:TableCell>
  221.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  222.                             <asp:TextBox ID="TxtBusinessBegin" runat="server" Enabled="False"></asp:TextBox>
  223.                         </asp:TableCell>
  224.                     </asp:TableRow>
  225.                     <asp:TableRow runat="server">
  226.                         <asp:TableCell runat="server" BorderWidth="0px" ColumnSpan="2">&nbsp;</asp:TableCell>
  227.                         <asp:TableCell runat="server" BorderWidth="0px">
  228.                             <asp:Label ID="LblBusinessEnd" runat="server" BorderStyle="None" Text="工作日期止"></asp:Label>
  229.                         </asp:TableCell>
  230.                         <asp:TableCell runat="server" BorderWidth="0px" HorizontalAlign="Left">
  231.                             <asp:TextBox ID="TxtBusinessEnd" runat="server" Enabled="False"></asp:TextBox>
  232.                         </asp:TableCell>
  233.                     </asp:TableRow>
  234.                     <asp:TableRow runat="server">
  235.                         <asp:TableCell runat="server" BorderWidth="0px">
  236.                             <asp:Label ID="LblReason" runat="server" BorderStyle="None" Text="申請事由"></asp:Label>
  237.                         </asp:TableCell>
  238.                         <asp:TableCell runat="server" BorderWidth="0px" ColumnSpan="3" HorizontalAlign="Left">
  239.                             <asp:TextBox ID="TxtReason" runat="server" Enabled="False" Rows="3" TextMode="MultiLine"
  240.                                 Width="450px"></asp:TextBox>
  241.                         </asp:TableCell>
  242.                     </asp:TableRow>
  243.                 </asp:Table>
  244.                 
  245.             </asp:Panel>
  246.             <asp:Panel ID="PnlForm2" runat="server" Visible="False">
  247.                 <asp:Table ID="Table1" runat="server" Style="position: relative" Width="600px">
  248.                 <asp:TableHeaderRow ID="TableHeaderRow1" runat="server">
  249.                     <asp:TableHeaderCell ID="TableHeaderCell1" runat="server" BackColor="Menu" ColumnSpan="4"
  250.                         Height="20px" HorizontalAlign="Left">流通事業群中幹出差單</asp:TableHeaderCell>
  251.                 </asp:TableHeaderRow>
  252.                 <asp:TableRow ID="TableRow1" runat="server">
  253.                     <asp:TableCell ID="TableCell1" runat="server" BorderWidth="0px">
  254.                         <asp:Label ID="Label221" runat="server" Text="申請單號"></asp:Label></asp:TableCell>
  255.                     <asp:TableCell ID="TableCell2" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  256.                         <asp:TextBox ID="TxtBFormId" runat="server" Enabled="false"></asp:TextBox></asp:TableCell>
  257.                     <asp:TableCell ID="TableCell3" runat="server" BorderWidth="0px">
  258.                         <asp:Label ID="Label9" runat="server" Style="position: relative" Text="差假別"></asp:Label></asp:TableCell>
  259.                     <asp:TableCell ID="TableCell4" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  260.                         <asp:TextBox ID="TxtBOffType" runat="server" ReadOnly="true" Style="position: relative"
  261.                             Text="出差" Enabled="false"></asp:TextBox></asp:TableCell>
  262.                 </asp:TableRow>
  263.                 <asp:TableRow ID="TableRow2" runat="server">
  264.                     <asp:TableCell ID="TableCell5" runat="server" BorderWidth="0px">
  265.                         <asp:Label ID="Label2" runat="server" Style="position: relative" Text="申請人工號"></asp:Label></asp:TableCell>
  266.                     <asp:TableCell ID="TableCell6" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  267.                         <asp:TextBox ID="TxtBEmpNo" runat="server" Enabled="false" Style="position: relative"></asp:TextBox></asp:TableCell>
  268.                     <asp:TableCell ID="TableCell7" runat="server" BorderWidth="0px" HorizontalAlign="Center">
  269.                         <asp:Label ID="Label10" runat="server" Style="position: relative" Text="出差日期起"></asp:Label></asp:TableCell>
  270.                     <asp:TableCell ID="TableCell8" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  271.                         <asp:TextBox ID="TxtBBeginTime" runat="server" Style="position: relative" Enabled="false"></asp:TextBox>
  272.                     </asp:TableCell>
  273.                 </asp:TableRow>
  274.                 <asp:TableRow ID="TableRow3" runat="server">
  275.                     <asp:TableCell ID="TableCell9" runat="server" BorderWidth="0px">
  276.                         <asp:Label ID="Label3" runat="server" Style="position: relative" Text="申請人姓名"></asp:Label></asp:TableCell>
  277.                     <asp:TableCell ID="TableCell10" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  278.                         <asp:TextBox ID="TxtBEmpName" runat="server" Enabled="false" Style="position: relative"></asp:TextBox></asp:TableCell>
  279.                     <asp:TableCell ID="TableCell11" runat="server" BorderWidth="0px">
  280.                         <asp:Label ID="Label11" runat="server" Style="position: relative" Text="出差日期止"></asp:Label></asp:TableCell>
  281.                     <asp:TableCell ID="TableCell12" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  282.                         <asp:TextBox ID="TxtBEndTime" runat="server" Style="position: relative" Enabled="false"></asp:TextBox></asp:TableCell>
  283.                 </asp:TableRow>
  284.                 <asp:TableRow ID="TableRow4" runat="server">
  285.                     <asp:TableCell ID="TableCell13" runat="server" BorderWidth="0px">
  286.                         <asp:Label ID="Label4" runat="server" Style="position: relative" Text="申請日期"></asp:Label></asp:TableCell>
  287.                     <asp:TableCell ID="TableCell14" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  288.                         <asp:TextBox ID="TxtBApplyDate" runat="server" Enabled="false" Style="position: relative"></asp:TextBox></asp:TableCell>
  289.                     <asp:TableCell ID="TableCell15" runat="server" BorderWidth="0px">
  290.                         <asp:Label ID="Label12" runat="server" Style="position: relative" Text="去程出發地"></asp:Label></asp:TableCell>
  291.                     <asp:TableCell ID="TableCell16" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  292.                         <asp:TextBox ID="TxtBDepartPlace" runat="server" Enabled="false"></asp:TextBox>
  293.                     </asp:TableCell>
  294.                 </asp:TableRow>
  295.                 <asp:TableRow ID="TableRow5" runat="server">
  296.                     <asp:TableCell ID="TableCell17" runat="server" BorderWidth="0px">
  297.                         <asp:Label ID="Label5" runat="server" Style="position: relative" Text="申請人部門"></asp:Label></asp:TableCell>
  298.                     <asp:TableCell ID="TableCell18" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  299.                         <asp:TextBox ID="TxtBDepartment" runat="server" Enabled="false" Style="position: relative"></asp:TextBox></asp:TableCell>
  300.                     <asp:TableCell ID="TableCell19" runat="server" BorderWidth="0px">
  301.                         <asp:Label ID="Label13" runat="server" Style="position: relative" Text="回程終地點"></asp:Label></asp:TableCell>
  302.                     <asp:TableCell ID="TableCell20" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  303.                         <asp:TextBox ID="TxtBArrivePlace" runat="server" Enabled="false"></asp:TextBox>
  304.                     </asp:TableCell>
  305.                 </asp:TableRow>
  306.                 <asp:TableRow ID="TableRow6" runat="server">
  307.                     <asp:TableCell ID="TableCell21" runat="server" BorderWidth="0px">
  308.                         <asp:Label ID="Label6" runat="server" Style="position: relative" Text="申請人職稱"></asp:Label></asp:TableCell>
  309.                     <asp:TableCell ID="TableCell22" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  310.                         <asp:TextBox ID="TxtBPosition" runat="server" Enabled="false" Style="position: relative"></asp:TextBox></asp:TableCell>
  311.                     <asp:TableCell ID="TableCell23" runat="server" BorderWidth="0px">
  312.                         <asp:Label ID="Label14" runat="server" Style="position: relative" Text="(去程)起飛時間"></asp:Label></asp:TableCell>
  313.                     <asp:TableCell ID="TableCell24" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  314.                         <asp:TextBox ID="TxtBDepartTime" runat="server" Style="position: relative" Enabled="false"></asp:TextBox>
  315.                     </asp:TableCell>
  316.                 </asp:TableRow>
  317.                 <asp:TableRow ID="TableRow7" runat="server">
  318.                     <asp:TableCell ID="TableCell25" runat="server" BorderWidth="0px">
  319.                         <asp:Label ID="Label7" runat="server" Style="position: relative" Text="出差天數"></asp:Label></asp:TableCell>
  320.                     <asp:TableCell ID="TableCell26" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  321.                         <asp:TextBox ID="TxtBDays" runat="server" Style="position: relative" Enabled="false"></asp:TextBox>日</asp:TableCell>
  322.                     <asp:TableCell ID="TableCell27" runat="server" BorderWidth="0px">
  323.                         <asp:Label ID="Label8" runat="server" Style="position: relative;" Text="(回程)起飛時間"></asp:Label></asp:TableCell>
  324.                     <asp:TableCell ID="TableCell28" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  325.                         <asp:TextBox ID="TxtBArriveTime" runat="server" Style="position: relative" Enabled="false"></asp:TextBox>
  326.                     </asp:TableCell>
  327.                 </asp:TableRow>
  328.             </asp:Table>
  329.             <br />
  330.             <asp:Table ID="TblDetail" runat="server" Style="position: relative" Width="1000px">
  331.                 <asp:TableHeaderRow BackColor="Menu">
  332.                     <asp:TableHeaderCell>序號</asp:TableHeaderCell>
  333.                     <asp:TableHeaderCell>客戶公司名稱</asp:TableHeaderCell>
  334.                     <asp:TableHeaderCell>會議主題/出差原因</asp:TableHeaderCell>
  335.                     <asp:TableHeaderCell>客戶聯絡人</asp:TableHeaderCell>
  336.                     <asp:TableHeaderCell>聯絡電話</asp:TableHeaderCell>
  337.                     <asp:TableHeaderCell>國家/城市</asp:TableHeaderCell>
  338.                     <asp:TableHeaderCell>簽證日期起</asp:TableHeaderCell>
  339.                     <asp:TableHeaderCell>簽證日期止</asp:TableHeaderCell>
  340.                     <asp:TableHeaderCell>(往)班機起飛時間</asp:TableHeaderCell>
  341.                     <asp:TableHeaderCell>(返)班機起飛時間</asp:TableHeaderCell>
  342.                     <asp:TableHeaderCell>國外</asp:TableHeaderCell>
  343.                     <asp:TableHeaderCell ID="TableHeaderCell2" runat="server">備註</asp:TableHeaderCell>
  344.                 </asp:TableHeaderRow>
  345.             </asp:Table>
  346.             </asp:Panel>
  347.             <asp:Panel ID="PnlForm3" runat="server" Visible="False">
  348.                 <asp:Table ID="Table2" runat="server" Style="position: relative" Width="600px">
  349.                     <asp:TableHeaderRow ID="TableHeaderRow2" runat="server">
  350.                         <asp:TableHeaderCell ID="TableHeaderCell3" runat="server" BackColor="Menu" ColumnSpan="4"
  351.                             Height="20px" HorizontalAlign="Left">流通事業群中幹請假單</asp:TableHeaderCell>
  352.                     </asp:TableHeaderRow>
  353.                     <asp:TableRow ID="TableRow8" runat="server">
  354.                         <asp:TableCell ID="TableCell29" runat="server" BorderWidth="0px">
  355.                             <asp:Label ID="Label111" runat="server" Text="申請單號"></asp:Label></asp:TableCell>
  356.                         <asp:TableCell ID="TableCell30" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  357.                             <asp:TextBox ID="TxtOFormId" runat="server" Enabled="False"></asp:TextBox></asp:TableCell>
  358.                         <asp:TableCell ID="TableCell31" runat="server" BorderWidth="0px">
  359.                             <asp:Label ID="Label122" runat="server" Text="假別"></asp:Label></asp:TableCell>
  360.                         <asp:TableCell ID="TableCell32" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  361.                             <asp:TextBox ID="TxtOOffType" runat="server" Enabled="false"></asp:TextBox>
  362.                         </asp:TableCell>
  363.                     </asp:TableRow>
  364.                     <asp:TableRow ID="TableRow9" runat="server">
  365.                         <asp:TableCell ID="TableCell33" runat="server" BorderWidth="0px">
  366.                             <asp:Label ID="Label114" runat="server" Style="position: relative" Text="申請人"></asp:Label></asp:TableCell>
  367.                         <asp:TableCell ID="TableCell34" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  368.                             <asp:TextBox ID="TxtOEmpName" runat="server" Enabled="False" Style="position: relative"></asp:TextBox></asp:TableCell>
  369.                         <asp:TableCell ID="TableCell35" runat="server" BorderWidth="0px">
  370.                             <asp:Label ID="Labe1l3" runat="server" Style="position: relative" Text="開始時間"></asp:Label></asp:TableCell>
  371.                         <asp:TableCell ID="TableCell36" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  372.                             <asp:TextBox ID="TxtOBeginTime" Enabled="false" runat="server" Style="position: relative"></asp:TextBox>
  373.                         </asp:TableCell>
  374.                     </asp:TableRow>
  375.                     <asp:TableRow ID="TableRow10" runat="server">
  376.                         <asp:TableCell ID="TableCell37" runat="server" BorderWidth="0px">
  377.                             <asp:Label ID="Label133" runat="server" Style="position: relative" Text="申請日期"></asp:Label></asp:TableCell>
  378.                         <asp:TableCell ID="TableCell38" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  379.                             <asp:TextBox ID="TxtOApplyDate" runat="server" Enabled="False" Style="position: relative"></asp:TextBox></asp:TableCell>
  380.                         <asp:TableCell ID="TableCell39" runat="server" BorderWidth="0px">
  381.                             <asp:Label ID="Labe3l4" runat="server" Style="position: relative" Text="結束時間"></asp:Label></asp:TableCell>
  382.                         <asp:TableCell ID="TableCell40" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  383.                             <asp:TextBox ID="TxtOEndTime" runat="server" Enabled="false" Style="position: relative"></asp:TextBox>
  384.                         </asp:TableCell>
  385.                     </asp:TableRow>
  386.                     <asp:TableRow ID="TableRow11" runat="server">
  387.                         <asp:TableCell ID="TableCell41" runat="server" BorderWidth="0px">
  388.                             <asp:Label ID="Label112" runat="server" Style="position: relative" Text="申請人部門"></asp:Label></asp:TableCell>
  389.                         <asp:TableCell ID="TableCell42" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  390.                             <asp:TextBox ID="TxtODepartment" runat="server" Enabled="False" Style="position: relative"></asp:TextBox></asp:TableCell>
  391.                         <asp:TableCell ID="TableCell43" runat="server" BorderWidth="0px">
  392.                             <asp:Label ID="Label15" runat="server" Style="position: relative" Text="休假時數"></asp:Label></asp:TableCell>
  393.                         <asp:TableCell ID="TableCell44" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  394.                             <asp:TextBox ID="TxtOHours" runat="server" Enabled="False" Style="position: relative"></asp:TextBox>小時</asp:TableCell>
  395.                     </asp:TableRow>
  396.                     <asp:TableRow ID="TableRow12" runat="server">
  397.                         <asp:TableCell ID="TableCell45" runat="server" BorderWidth="0px">
  398.                             <asp:Label ID="Label121" runat="server" Style="position: relative" Text="職務代理人"></asp:Label></asp:TableCell>
  399.                         <asp:TableCell ID="TableCell46" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  400.                             <asp:TextBox ID="TxtODelegate" runat="server" Enabled="False"></asp:TextBox>
  401.                         </asp:TableCell>
  402.                         <asp:TableCell ID="TableCell47" runat="server" BorderWidth="0px">&nbsp;</asp:TableCell>
  403.                         <asp:TableCell ID="TableCell48" runat="server" BorderWidth="0px">&nbsp;</asp:TableCell>
  404.                     </asp:TableRow>
  405.                     <asp:TableRow ID="TableRow13" runat="server">
  406.                         <asp:TableCell ID="TableCell49" runat="server" BorderWidth="0px">
  407.                             <asp:Label ID="Label110" runat="server" Style="position: relative" Text="申請人職稱"></asp:Label></asp:TableCell>
  408.                         <asp:TableCell ID="TableCell50" runat="server" BorderWidth="0px" HorizontalAlign="Left">
  409.                             <asp:TextBox ID="TxtOPosition" runat="server" Style="position: relative" Enabled="False"></asp:TextBox></asp:TableCell>
  410.                         <asp:TableCell ID="TableCell51" runat="server" BorderWidth="0px">&nbsp;</asp:TableCell>
  411.                         <asp:TableCell ID="TableCell52" runat="server" BorderWidth="0px">&nbsp;</asp:TableCell>
  412.                     </asp:TableRow>
  413.                     <asp:TableRow ID="TableRow14" runat="server">
  414.                         <asp:TableCell ID="TableCell53" runat="server" BorderWidth="0px">
  415.                             <asp:Label ID="Label118" runat="server" Style="position: relative" Text="附帶公務"></asp:Label></asp:TableCell>
  416.                         <asp:TableCell ID="TableCell54" runat="server" BorderWidth="0px" ColumnSpan="3" HorizontalAlign="Left">
  417.                             <asp:TextBox ID="TxtOParenthesis" runat="server" Rows="3" Style="position: relative"
  418.                                 TextMode="MultiLine" Width="450px" Enabled="False"></asp:TextBox></asp:TableCell>
  419.                     </asp:TableRow>
  420.                     <asp:TableRow ID="TableRow15" runat="server">
  421.                         <asp:TableCell ID="TableCell55" runat="server" BorderWidth="0px">
  422.                             <asp:Label ID="Label29" runat="server" Style="position: relative" Text="事由"></asp:Label></asp:TableCell>
  423.                         <asp:TableCell ID="TableCell56" runat="server" BorderWidth="0px" ColumnSpan="3" HorizontalAlign="Left">
  424.                             <asp:TextBox ID="TxtOReason" runat="server" Rows="3" Style="position: relative" TextMode="MultiLine"
  425.                                 Width="450px" Enabled="False"></asp:TextBox></asp:TableCell>
  426.                     </asp:TableRow>
  427.                 </asp:Table>
  428.             </asp:Panel>
  429.             &nbsp;
  430.             <br />
  431.             <asp:Button ID="BtnHistory" Text="查看該員工差假記錄" runat="server" OnClick="BtnHistory_Click" />
  432.             <input type="button" value="返回" onclick="history.go(-1);" />
  433.         </center>
  434.     </div>
  435.     </form>
  436. </body>
  437. </html>