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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form_edit.aspx.cs" Inherits="web_new_repair_form_edit" %>
  2.     
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6.     <title>无标题页</title>
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.         &nbsp;<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton1_Click">全    部</asp:LinkButton>
  12.         <asp:LinkButton ID="LinkButton2" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton2_Click">已完工</asp:LinkButton>
  13.         <asp:LinkButton ID="LinkButton3" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton3_Click">未完工</asp:LinkButton>
  14.         <asp:LinkButton ID="LinkButton4" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton4_Click">条件查询</asp:LinkButton>
  15.         <asp:MultiView ID="MultiView1" runat="server">
  16.             <asp:View ID="View1" runat="server">
  17.                 <table border="1" style="width: 640px">
  18.                     <tr align="left">
  19.                         <td style="width: 73px; height: 30px">
  20.                             <span>选择厂商</span></td>
  21.                         <td style="width: 227px">
  22.                             <asp:DropDownList ID="dl_company" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dl_company_SelectedIndexChanged"
  23.                                 Width="198px">
  24.                             </asp:DropDownList>&nbsp;
  25.                         </td>
  26.                     </tr>
  27.                     <tr>
  28.                         <td style="width: 73px; height: 27px">
  29.                             <span>设备类型</span></td>
  30.                         <td style="width: 227px">
  31.                             <asp:DropDownList ID="dl_type" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dl_type_SelectedIndexChanged"
  32.                                 Width="198px">
  33.                             </asp:DropDownList>&nbsp;
  34.                         </td>
  35.                         <td style="width: 80px; height: 27px">
  36.                             <span><span style="font-size: 1.2em; font-family: 宋体">设备名称</span></span></td>
  37.                         <td>
  38.                             <asp:DropDownList ID="dl_name" runat="server" AutoPostBack="True" Width="194px">
  39.                             </asp:DropDownList>&nbsp;
  40.                         </td>
  41.                     </tr>
  42.                     <tr align="left">
  43.                         <td style="width: 73px">
  44.                             <span>报修时间</span></td>
  45.                         <td style="width: 227px">
  46.                             <span style="width: 198px">
  47.                                 <asp:TextBox ID="b_time" runat="server" Width="176px"></asp:TextBox>
  48.                                 <asp:ImageButton ID="ImageButton1" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
  49.                                     OnClick="ImageButton1_Click" /><br />
  50.                                 <asp:Calendar ID="Begindate" runat="server" BackColor="White" BorderColor="#999999"
  51.                                     CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  52.                                     ForeColor="Black" Height="180px" OnSelectionChanged="Begindate_SelectionChanged"
  53.                                     Visible="False" Width="200px">
  54.                                     <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  55.                                     <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  56.                                     <OtherMonthDayStyle ForeColor="#808080" />
  57.                                     <NextPrevStyle VerticalAlign="Bottom" />
  58.                                     <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  59.                                     <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  60.                                     <SelectorStyle BackColor="#CCCCCC" />
  61.                                     <WeekendDayStyle BackColor="#FFFFCC" />
  62.                                 </asp:Calendar>
  63.                             </span>
  64.                         </td>
  65.                         <td align="center" style="width: 80px">
  66.                             <span class="STYLE1" style="font-size: 30px">~</span></td>
  67.                         <td style="width: 207px">
  68.                             <span class="STYLE1">
  69.                                 <asp:TextBox ID="e_time" runat="server" Width="157px"></asp:TextBox>
  70.                                 <asp:ImageButton ID="ImageButton2" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
  71.                                     OnClick="ImageButton2_Click" /><br />
  72.                                 <asp:Calendar ID="Enddate" runat="server" BackColor="White" BorderColor="#999999"
  73.                                     CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  74.                                     ForeColor="Black" Height="180px" OnSelectionChanged="Enddate_SelectionChanged"
  75.                                     Visible="False" Width="200px">
  76.                                     <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  77.                                     <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  78.                                     <OtherMonthDayStyle ForeColor="#808080" />
  79.                                     <NextPrevStyle VerticalAlign="Bottom" />
  80.                                     <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  81.                                     <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  82.                                     <SelectorStyle BackColor="#CCCCCC" />
  83.                                     <WeekendDayStyle BackColor="#FFFFCC" />
  84.                                 </asp:Calendar>
  85.                             </span>
  86.                         </td>
  87.                     </tr>
  88.                 </table>
  89.                 <asp:Panel ID="Panel1" runat="server" Height="23px" Width="362px">
  90.                     <asp:Button ID="Button3" runat="server" Height="21px" OnClick="Button1_Click" Style="background-color: #ccccff"
  91.                         Text="查询" Width="44px" /><input id="Button4" onclick="preview()" style="width: 44px;
  92.                             height: 21px; background-color: #ccccff; display:none" type="button" value="打印"/></asp:Panel>
  93.             </asp:View>
  94.         </asp:MultiView></div>
  95.         <center>
  96.         <asp:MultiView ID="MultiView2" runat="server">
  97.             <asp:View ID="View2" runat="server">
  98.                 <!--startprint-->
  99.                 <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" Text=" 85度C门店维修单"
  100.                     Width="30cm"></asp:Label>
  101.                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="DimGray"
  102.                     BorderStyle="Solid" BorderWidth="1px" OnRowDataBound="GridView1_RowDataBound" Width="31cm" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
  103.                     <Columns>
  104.                         <asp:BoundField DataField="no" ReadOnly="True">
  105.                             <ItemStyle Width="1cm" />
  106.                             <HeaderStyle Width="1cm" />
  107.                         </asp:BoundField>
  108.                         <asp:BoundField DataField="form_id" HeaderText="维修单号" ReadOnly="True">
  109.                             <ItemStyle Width="2cm" />
  110.                             <HeaderStyle Width="2cm" />
  111.                         </asp:BoundField>
  112.                         <asp:BoundField DataField="department" HeaderText="店铺名称" ReadOnly="True">
  113.                             <ItemStyle Width="2cm" />
  114.                             <HeaderStyle Width="2cm" />
  115.                         </asp:BoundField>
  116.                         <asp:BoundField DataField="tel" HeaderText="店内电话" ReadOnly="True">
  117.                             <ItemStyle Width="2cm" />
  118.                             <HeaderStyle Width="2cm" />
  119.                         </asp:BoundField>
  120.                         <asp:BoundField DataField="date" HeaderText="报修时间" ReadOnly="True">
  121.                             <ItemStyle Width="2cm" />
  122.                             <HeaderStyle Width="2cm" />
  123.                         </asp:BoundField>
  124.                         <asp:BoundField DataField="bxperson" HeaderText="报修人" ReadOnly="True">
  125.                             <ItemStyle Width="2cm" />
  126.                             <HeaderStyle Width="2cm" />
  127.                         </asp:BoundField>
  128.                         <asp:BoundField DataField="level" HeaderText="报修等级" ReadOnly="True">
  129.                             <ItemStyle Width="1cm" />
  130.                             <HeaderStyle Width="1cm" />
  131.                         </asp:BoundField>
  132.                         <asp:BoundField DataField="lbperson" HeaderText="门店主管" ReadOnly="True">
  133.                             <ItemStyle Width="2cm" />
  134.                             <HeaderStyle Width="2cm" />
  135.                         </asp:BoundField>
  136.                         <asp:BoundField DataField="type" HeaderText="设备类型" ReadOnly="True">
  137.                             <ItemStyle Width="2cm" />
  138.                             <HeaderStyle Width="2cm" />
  139.                         </asp:BoundField>
  140.                         <asp:BoundField DataField="equipment" HeaderText="设备名称" ReadOnly="True">
  141.                             <ItemStyle Width="2cm" />
  142.                             <HeaderStyle Width="2cm" />
  143.                         </asp:BoundField>
  144.                         <asp:BoundField DataField="comment" HeaderText="问题描述" ReadOnly="True">
  145.                             <ItemStyle Width="2cm" />
  146.                             <HeaderStyle Width="2cm" />
  147.                         </asp:BoundField>
  148.                         <asp:BoundField DataField="company" HeaderText="厂商">
  149.                             <ItemStyle Width="2cm" />
  150.                             <HeaderStyle Width="2cm" />
  151.                         </asp:BoundField>
  152.                         <asp:BoundField DataField="destine_time" HeaderText="预计维修时间">
  153.                             <ItemStyle Width="2cm" />
  154.                             <HeaderStyle Width="2cm" />
  155.                         </asp:BoundField>
  156.                         <asp:BoundField DataField="complete_time" HeaderText="实际完成维修时间">
  157.                             <ItemStyle Width="2cm" />
  158.                             <HeaderStyle Width="2cm" />
  159.                         </asp:BoundField>
  160.                         <asp:BoundField DataField="confirm" HeaderText="值班经理确认">
  161.                             <ItemStyle Width="2cm" />
  162.                             <HeaderStyle Width="2cm" />
  163.                         </asp:BoundField>
  164.                         <asp:BoundField DataField="remark" HeaderText="备注">
  165.                             <ItemStyle Width="2cm" />
  166.                             <HeaderStyle Width="2cm" />
  167.                         </asp:BoundField>
  168.                     </Columns>
  169.                     <RowStyle BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" />
  170.                 </asp:GridView>
  171.                 <!--endprint-->
  172.                 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  173.                     SelectCommand="SELECT company FROM [OA_company]"></asp:SqlDataSource>
  174.             </asp:View>
  175.         </asp:MultiView>
  176.         </center>
  177.     </form>
  178. </body>
  179. </html>