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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="select.aspx.cs" Inherits="web_new_repair_select" %>
  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.   <object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
  7.     <script language="javascript" type="text/javascript">
  8.  function preview()
  9. {
  10.   bdhtml=window.document.body.innerHTML;
  11.   sprnstr="<!--startprint-->";
  12.   eprnstr="<!--endprint-->";
  13.   prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
  14.   prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
  15.   window.document.body.innerHTML=prnhtml;
  16.   window.print();
  17. }
  18.     </script>
  19. </head>
  20. <body>
  21.     <form id="form1" runat="server">
  22.     <div>
  23.         <asp:Panel ID="Panel1" runat="server" Height="50px" Width="344px">
  24.         <table style="width:173%" rules="none">
  25.         <tr>
  26.         <td style="height: 9px; width: 385px;">
  27.             <asp:Label ID="area" runat="server"></asp:Label></td>
  28.             <td align="right" style="width: 69px; height: 9px">
  29.             <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="69px" AutoPostBack="True">
  30.             </asp:DropDownList>
  31.             </td>
  32.             </tr>
  33.             </table>
  34.         <table border="1" style="width: 595px">
  35.             <tr align="left">
  36.                 <td style="width: 73px; height: 34px">
  37.                     <span>维修单</span>
  38.                 </td>
  39.                 <td style="width: 227px;" colspan="3">
  40.                     <table style="width: 501px; height: 69px" rules="all">
  41.                      <tr>
  42.                         <td>
  43.                         报修等级
  44.                         </td>
  45.                         <td>
  46.                         <asp:Label ID="level" runat="server" Width="191px"></asp:Label>
  47.                         </td>
  48.                         </tr>
  49.                         <tr>
  50.                             <td style="width: 223px; height: 21px">
  51.                                 维修单号</td>
  52.                             <td style="height: 21px">
  53.                                 <asp:Label ID="form_id" runat="server" Width="190px"></asp:Label></td>
  54.                         </tr>
  55.                         <tr>
  56.                             <td style="width: 223px; height: 21px">
  57.                                 报修人</td>
  58.                             <td style="height: 21px">
  59.                                 <asp:Label ID="bxperson" runat="server" Width="191px"></asp:Label></td>
  60.                         </tr>
  61.                         <tr>
  62.                             <td style="width: 223px; height: 21px">
  63.                                 报修时间</td>
  64.                             <td style="height: 21px">
  65.                                 <asp:Label ID="create_time" runat="server" Width="191px"></asp:Label></td>
  66.                         </tr>
  67.                         <tr>
  68.                         <td>
  69.                             设备类型</td>
  70.                         <td>
  71.                             <asp:Label ID="type" runat="server" Width="191px"></asp:Label></td>
  72.                         </tr>
  73.                          <tr>
  74.                         <td>
  75.                             设备名称</td>
  76.                         <td>
  77.                             <asp:Label ID="equipment" runat="server" Width="191px"></asp:Label></td>
  78.                         </tr>
  79.                     </table>
  80.                 </td>
  81.             </tr>
  82.             <tr align="left">
  83.                 <td style="width: 73px; height: 34px">
  84.                     <span>门店信息</span></td>
  85.                 <td style="width: 227px; height: 34px;" colspan="3">
  86.                     &nbsp;
  87.                     <table style="width: 501px; height: 69px" rules="all">
  88.                         <tr>
  89.                             <td style="width: 223px; height: 31px;">
  90.                                 店铺名称</td>
  91.                             <td style="height: 31px">
  92.                                 <asp:Label ID="department" runat="server" Width="191px"></asp:Label></td>
  93.                         </tr>
  94.                         <tr>
  95.                             <td style="width: 223px">
  96.                                 店内电话</td>
  97.                             <td>
  98.                                 <asp:Label ID="tel" runat="server" Width="191px"></asp:Label></td>
  99.                         </tr>
  100.                         <tr>
  101.                         <td>
  102.                         门店主管
  103.                         </td>
  104.                         <td>
  105.                         <asp:Label ID="lbperson" runat="server" Width="191px"></asp:Label></td>
  106.                         </tr>
  107.                         <tr>
  108.                         <td>
  109.                             门店确认</td>
  110.                         <td>
  111.                             <asp:Label ID="confirm" runat="server" Width="191px"></asp:Label></td>
  112.                         </tr>
  113.                     </table>
  114.                 </td>
  115.             </tr>
  116.             <tr>
  117.                 <td style="width: 73px; height: 27px">
  118.                     厂商信息</td>
  119.                     <td colspan="3"><table style="width: 501px; height: 69px" rules="all">
  120.                         <tr>
  121.                             <td style="width: 223px">
  122.                                 厂商</td>
  123.                             <td>
  124.                                 <asp:DropDownList ID="dll" runat="server" Width="191px" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="company" DataValueField="company">
  125.                                 </asp:DropDownList></td>
  126.                         </tr>
  127.                         <tr>
  128.                             <td style="width: 223px">
  129.                                 预计维修时间</td>
  130.                             <td>
  131.                                 <asp:TextBox ID="destine_time" runat="server" Width="157px" ForeColor="Black"></asp:TextBox>
  132.                                 <asp:ImageButton ID="ImageButton3" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif" OnClick="ImageButton3_Click"
  133.                              /><br />
  134.                                 <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999"
  135.                             CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  136.                             ForeColor="Black" Height="180px" 
  137.                             Visible="False" Width="200px" OnSelectionChanged="Calendar1_SelectionChanged">
  138.                                     <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  139.                                     <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  140.                                     <OtherMonthDayStyle ForeColor="#808080" />
  141.                                     <NextPrevStyle VerticalAlign="Bottom" />
  142.                                     <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  143.                                     <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  144.                                     <SelectorStyle BackColor="#CCCCCC" />
  145.                                     <WeekendDayStyle BackColor="#FFFFCC" />
  146.                                 </asp:Calendar>
  147.                             </td>
  148.                         </tr>
  149.                         <tr>
  150.                             <td style="width: 223px">
  151.                                 实际完成维修时间</td>
  152.                             <td>
  153.                                 <asp:Label ID="complete_time" runat="server" Width="191px"></asp:Label></td>
  154.                         </tr>
  155.                     </table>
  156.                     </td>
  157.             </tr>
  158.             <tr>
  159.             <td>
  160.                 备注</td>
  161.             <td>
  162.                 <asp:TextBox ID="remark" runat="server" Height="88px" Rows="6" TextMode="MultiLine"
  163.                     Width="495px" Enabled="False" ForeColor="Black">此处由门店填写</asp:TextBox></td>
  164.             </tr>
  165.             <tr>
  166.                 <td align="center" colspan="4">
  167.                     <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" /></td>
  168.             </tr>
  169.         </table>
  170.         </asp:Panel>
  171.         &nbsp;</div>
  172.         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  173.             SelectCommand="SELECT [company] FROM [oa_company] WHERE ([equipment] = @equipment)">
  174.             <SelectParameters>
  175.                 <asp:ControlParameter ControlID="type" Name="equipment" PropertyName="Text" Type="String" />
  176.             </SelectParameters>
  177.         </asp:SqlDataSource>
  178.     </form>
  179. </body>
  180. </html>