select.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:9k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="select.aspx.cs" Inherits="web_new_repair_select" %>
- <!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>
- <object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
- <script language="javascript" type="text/javascript">
- function preview()
- {
- bdhtml=window.document.body.innerHTML;
- sprnstr="<!--startprint-->";
- eprnstr="<!--endprint-->";
- prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
- prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
- window.document.body.innerHTML=prnhtml;
- window.print();
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:Panel ID="Panel1" runat="server" Height="50px" Width="344px">
- <table style="width:173%" rules="none">
- <tr>
- <td style="height: 9px; width: 385px;">
- <asp:Label ID="area" runat="server"></asp:Label></td>
- <td align="right" style="width: 69px; height: 9px">
- <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="69px" AutoPostBack="True">
- </asp:DropDownList>
- </td>
- </tr>
- </table>
- <table border="1" style="width: 595px">
- <tr align="left">
- <td style="width: 73px; height: 34px">
- <span>维修单</span>
- </td>
- <td style="width: 227px;" colspan="3">
- <table style="width: 501px; height: 69px" rules="all">
- <tr>
- <td>
- 报修等级
- </td>
- <td>
- <asp:Label ID="level" runat="server" Width="191px"></asp:Label>
- </td>
- </tr>
- <tr>
- <td style="width: 223px; height: 21px">
- 维修单号</td>
- <td style="height: 21px">
- <asp:Label ID="form_id" runat="server" Width="190px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 223px; height: 21px">
- 报修人</td>
- <td style="height: 21px">
- <asp:Label ID="bxperson" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 223px; height: 21px">
- 报修时间</td>
- <td style="height: 21px">
- <asp:Label ID="create_time" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td>
- 设备类型</td>
- <td>
- <asp:Label ID="type" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td>
- 设备名称</td>
- <td>
- <asp:Label ID="equipment" runat="server" Width="191px"></asp:Label></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="left">
- <td style="width: 73px; height: 34px">
- <span>门店信息</span></td>
- <td style="width: 227px; height: 34px;" colspan="3">
-
- <table style="width: 501px; height: 69px" rules="all">
- <tr>
- <td style="width: 223px; height: 31px;">
- 店铺名称</td>
- <td style="height: 31px">
- <asp:Label ID="department" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 223px">
- 店内电话</td>
- <td>
- <asp:Label ID="tel" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td>
- 门店主管
- </td>
- <td>
- <asp:Label ID="lbperson" runat="server" Width="191px"></asp:Label></td>
- </tr>
- <tr>
- <td>
- 门店确认</td>
- <td>
- <asp:Label ID="confirm" runat="server" Width="191px"></asp:Label></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td style="width: 73px; height: 27px">
- 厂商信息</td>
- <td colspan="3"><table style="width: 501px; height: 69px" rules="all">
- <tr>
- <td style="width: 223px">
- 厂商</td>
- <td>
- <asp:DropDownList ID="dll" runat="server" Width="191px" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="company" DataValueField="company">
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td style="width: 223px">
- 预计维修时间</td>
- <td>
- <asp:TextBox ID="destine_time" runat="server" Width="157px" ForeColor="Black"></asp:TextBox>
- <asp:ImageButton ID="ImageButton3" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif" OnClick="ImageButton3_Click"
- /><br />
- <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999"
- CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
- ForeColor="Black" Height="180px"
- Visible="False" Width="200px" OnSelectionChanged="Calendar1_SelectionChanged">
- <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>
- </td>
- </tr>
- <tr>
- <td style="width: 223px">
- 实际完成维修时间</td>
- <td>
- <asp:Label ID="complete_time" runat="server" Width="191px"></asp:Label></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td>
- 备注</td>
- <td>
- <asp:TextBox ID="remark" runat="server" Height="88px" Rows="6" TextMode="MultiLine"
- Width="495px" Enabled="False" ForeColor="Black">此处由门店填写</asp:TextBox></td>
- </tr>
- <tr>
- <td align="center" colspan="4">
- <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" /></td>
- </tr>
- </table>
- </asp:Panel>
- </div>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
- SelectCommand="SELECT [company] FROM [oa_company] WHERE ([equipment] = @equipment)">
- <SelectParameters>
- <asp:ControlParameter ControlID="type" Name="equipment" PropertyName="Text" Type="String" />
- </SelectParameters>
- </asp:SqlDataSource>
- </form>
- </body>
- </html>