form_edit.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:12k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form_edit.aspx.cs" Inherits="web_new_repair_form_edit" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:LinkButton ID="LinkButton1" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton1_Click">全 部</asp:LinkButton>
- <asp:LinkButton ID="LinkButton2" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton2_Click">已完工</asp:LinkButton>
- <asp:LinkButton ID="LinkButton3" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton3_Click">未完工</asp:LinkButton>
- <asp:LinkButton ID="LinkButton4" runat="server" ForeColor="Red" Width="2cm" OnClick="LinkButton4_Click">条件查询</asp:LinkButton>
- <asp:MultiView ID="MultiView1" runat="server">
- <asp:View ID="View1" runat="server">
- <table border="1" style="width: 640px">
- <tr align="left">
- <td style="width: 73px; height: 30px">
- <span>选择厂商</span></td>
- <td style="width: 227px">
- <asp:DropDownList ID="dl_company" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dl_company_SelectedIndexChanged"
- Width="198px">
- </asp:DropDownList>
- </td>
- </tr>
- <tr>
- <td style="width: 73px; height: 27px">
- <span>设备类型</span></td>
- <td style="width: 227px">
- <asp:DropDownList ID="dl_type" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dl_type_SelectedIndexChanged"
- Width="198px">
- </asp:DropDownList>
- </td>
- <td style="width: 80px; height: 27px">
- <span><span style="font-size: 1.2em; font-family: 宋体">设备名称</span></span></td>
- <td>
- <asp:DropDownList ID="dl_name" runat="server" AutoPostBack="True" Width="194px">
- </asp:DropDownList>
- </td>
- </tr>
- <tr align="left">
- <td style="width: 73px">
- <span>报修时间</span></td>
- <td style="width: 227px">
- <span style="width: 198px">
- <asp:TextBox ID="b_time" runat="server" Width="176px"></asp:TextBox>
- <asp:ImageButton ID="ImageButton1" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
- OnClick="ImageButton1_Click" /><br />
- <asp:Calendar ID="Begindate" runat="server" BackColor="White" BorderColor="#999999"
- CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
- ForeColor="Black" Height="180px" OnSelectionChanged="Begindate_SelectionChanged"
- Visible="False" Width="200px">
- <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
- <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
- <OtherMonthDayStyle ForeColor="#808080" />
- <NextPrevStyle VerticalAlign="Bottom" />
- <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
- <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
- <SelectorStyle BackColor="#CCCCCC" />
- <WeekendDayStyle BackColor="#FFFFCC" />
- </asp:Calendar>
- </span>
- </td>
- <td align="center" style="width: 80px">
- <span class="STYLE1" style="font-size: 30px">~</span></td>
- <td style="width: 207px">
- <span class="STYLE1">
- <asp:TextBox ID="e_time" runat="server" Width="157px"></asp:TextBox>
- <asp:ImageButton ID="ImageButton2" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
- OnClick="ImageButton2_Click" /><br />
- <asp:Calendar ID="Enddate" runat="server" BackColor="White" BorderColor="#999999"
- CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
- ForeColor="Black" Height="180px" OnSelectionChanged="Enddate_SelectionChanged"
- Visible="False" Width="200px">
- <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
- <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
- <OtherMonthDayStyle ForeColor="#808080" />
- <NextPrevStyle VerticalAlign="Bottom" />
- <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
- <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
- <SelectorStyle BackColor="#CCCCCC" />
- <WeekendDayStyle BackColor="#FFFFCC" />
- </asp:Calendar>
- </span>
- </td>
- </tr>
- </table>
- <asp:Panel ID="Panel1" runat="server" Height="23px" Width="362px">
- <asp:Button ID="Button3" runat="server" Height="21px" OnClick="Button1_Click" Style="background-color: #ccccff"
- Text="查询" Width="44px" /><input id="Button4" onclick="preview()" style="width: 44px;
- height: 21px; background-color: #ccccff; display:none" type="button" value="打印"/></asp:Panel>
- </asp:View>
- </asp:MultiView></div>
- <center>
- <asp:MultiView ID="MultiView2" runat="server">
- <asp:View ID="View2" runat="server">
- <!--startprint-->
- <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" Text=" 85度C门店维修单"
- Width="30cm"></asp:Label>
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderColor="DimGray"
- BorderStyle="Solid" BorderWidth="1px" OnRowDataBound="GridView1_RowDataBound" Width="31cm" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
- <Columns>
- <asp:BoundField DataField="no" ReadOnly="True">
- <ItemStyle Width="1cm" />
- <HeaderStyle Width="1cm" />
- </asp:BoundField>
- <asp:BoundField DataField="form_id" HeaderText="维修单号" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="department" HeaderText="店铺名称" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="tel" HeaderText="店内电话" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="date" HeaderText="报修时间" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="bxperson" HeaderText="报修人" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="level" HeaderText="报修等级" ReadOnly="True">
- <ItemStyle Width="1cm" />
- <HeaderStyle Width="1cm" />
- </asp:BoundField>
- <asp:BoundField DataField="lbperson" HeaderText="门店主管" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="type" HeaderText="设备类型" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="equipment" HeaderText="设备名称" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="comment" HeaderText="问题描述" ReadOnly="True">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="company" HeaderText="厂商">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="destine_time" HeaderText="预计维修时间">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="complete_time" HeaderText="实际完成维修时间">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="confirm" HeaderText="值班经理确认">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- <asp:BoundField DataField="remark" HeaderText="备注">
- <ItemStyle Width="2cm" />
- <HeaderStyle Width="2cm" />
- </asp:BoundField>
- </Columns>
- <RowStyle BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" />
- </asp:GridView>
- <!--endprint-->
- <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
- SelectCommand="SELECT company FROM [OA_company]"></asp:SqlDataSource>
- </asp:View>
- </asp:MultiView>
- </center>
- </form>
- </body>
- </html>