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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="form.aspx.cs" Inherits="web_new_repair_form" %>
  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. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.         <table style="width: 500px; border-right: #66cccc 0px solid; border-top: #66cccc 0px solid; border-left: #66cccc 0px solid; border-bottom: #66cccc 0px solid;" rules="all">
  11.             <tr>
  12.                 <td colspan="4" style="height: 21px; background-color: #ccccff;">
  13.                     85度C门店维修单</td>
  14.             </tr>
  15.             <tr>
  16.             <td>
  17.             报修等级
  18.             </td>
  19.             <td>
  20.                 <asp:DropDownList ID="DropDownList3" runat="server" Width="102px">
  21.                 <asp:ListItem>普通</asp:ListItem>
  22.                 <asp:ListItem>紧急</asp:ListItem>
  23.                 </asp:DropDownList></td>
  24.                 <td colspan="2" style="vertical-align: middle; text-align: right; height: 20px;">
  25.                     <asp:Label ID="Label1" runat="server" Text="填写时间:" ForeColor="Black" BorderStyle="None" Font-Bold="True"></asp:Label>
  26.                     <asp:Label ID="wtime" runat="server" ForeColor="Black" Width="4cm" BorderStyle="None" Font-Bold="True"></asp:Label>
  27.                 </td>
  28.             </tr>
  29.             <tr>
  30.                 <td style="width:2cm; height: 23px;">
  31.                     报修单号</td>
  32.                 <td style="height: 23px">
  33.                     <asp:Label ID="lbno" runat="server" BorderStyle="None" Width="2cm"></asp:Label></td>
  34.                 <td style="width:2cm; height: 23px;">
  35.                     门店</td>
  36.                 <td style="width:2cm; height: 23px;">
  37.                     <asp:Label ID="department" runat="server" BorderStyle="None" Width="2cm"></asp:Label></td>
  38.             </tr>
  39.             <tr>
  40.             <td style="width:2cm">
  41.                 报修人</td>
  42.             <td style="width:2cm">
  43.                 <asp:TextBox ID="bxperson" runat="server" Width="103px"></asp:TextBox></td>
  44.             <td style="width:2cm">
  45.                 门店电话</td>
  46.             <td style="width:2cm">
  47.                     <asp:Label ID="tel" runat="server" BorderStyle="None" Width="2cm"></asp:Label></td>
  48.             </tr>
  49.             <tr>
  50.             <td>
  51.             门店主管
  52.             </td>
  53.             <td>
  54.                 <asp:Label ID="bxmanger" runat="server" BorderStyle="None"></asp:Label>
  55.             </td>
  56.             <td>
  57.                 报修部门</td>
  58.                 <td>
  59.                     <asp:DropDownList ID="DropDownList4" runat="server" Width="103px">
  60.                     <asp:ListItem></asp:ListItem>
  61.                     <asp:ListItem>营运</asp:ListItem>
  62.                     <asp:ListItem>面包</asp:ListItem>
  63.                     <asp:ListItem>西点</asp:ListItem>
  64.                     </asp:DropDownList>
  65.                 </td>
  66.             </tr>
  67.             <tr>
  68.             <td>
  69.                 设备类型
  70.             </td>
  71.             <td><asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1"
  72.                     DataTextField="type" DataValueField="type" Width="2.7cm" AutoPostBack="True">
  73.             </asp:DropDownList></td>
  74.             <td>
  75.                 设备名称</td>
  76.             <td style="width: 2cm">
  77.                 <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2"
  78.                     DataTextField="eq_name" DataValueField="eq_name" Width="103px">
  79.                 </asp:DropDownList></td>
  80.             </tr>
  81.             <tr style="height:100px">
  82.             <td style="width: 2cm">
  83.             问题描述
  84.             </td>
  85.             <td colspan="3">
  86.                 <asp:TextBox ID="TextBox1" runat="server" Height="89px" Rows="6" Width="99%" Columns="40" TextMode="MultiLine"></asp:TextBox></td>
  87.             </tr>
  88.             <tr>
  89.             <td style="width: 2cm">
  90.             说明
  91.             </td>
  92.             <td colspan="3">
  93.                 门店营运,面包,西点报修均由营运值班经理统一确认等级,上报维修部;
  94.                 <br />
  95.                 普通报修时间:周一~周五(9:00~18:00)国假日除外;紧急报修时间:全天</td>
  96.             </tr>
  97.             <tr>
  98.             <td colspan="4" align="center">
  99.                 <asp:Button ID="Button1" runat="server" Text="送件" OnClick="Button1_Click" Width="2cm" />
  100.             </td>
  101.             </tr>
  102.         </table>
  103.     
  104.     </div>
  105.         <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  106.             SelectCommand="SELECT [type] FROM [OA_UNIT_TYPE]"></asp:SqlDataSource>
  107.         <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  108.             SelectCommand="SELECT [eq_name] FROM [OA_UNIT_DETAIL] WHERE ([eq_type] = @eq_type)">
  109.             <SelectParameters>
  110.                 <asp:ControlParameter ControlID="DropDownList1" Name="eq_type" PropertyName="SelectedValue"
  111.                     Type="String" />
  112.             </SelectParameters>
  113.         </asp:SqlDataSource>
  114.     </form>
  115. </body>
  116. </html>