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

OA系统

开发平台:

ASP/ASPX

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