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

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