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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="select_index.aspx.cs" Inherits="web_data_repair_select_select_index" %>
  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.     <script type="text/javascript" language="javascript" >
  7.  function ShowHidden(sid,ev)
  8.   {
  9.     ev = ev || window.event;
  10.     var target = ev.target || ev.srcElement;
  11.     var oDiv = document.getElementById("div" + sid);
  12.     oDiv.style.display = oDiv.style.display == "none"?"block":"none";
  13.     target.title = oDiv.style.display == "none"?"显示":"隐藏";
  14.     var imgid='img'+sid;
  15.     document.getElementById(imgid).src=oDiv.style.display == "none"?"../../../images/open.jpg":"../../../images/close.jpg";
  16.   }
  17. </script>
  18. </head>
  19. <body>
  20.     <form id="form1" runat="server">
  21.         <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
  22.             <asp:View ID="View1" runat="server">
  23.                 <table border="1" width="651">
  24.                 <tr align="left">
  25.                 <td style="height:26px; width: 73px;">
  26.                 <span>选择门店</span>
  27.                 </td>
  28.                 <td style="width: 294px">
  29.                     <asp:DropDownList ID="dl_department" runat="server" Width="198px">
  30.                     </asp:DropDownList>&nbsp;
  31.                 </td>
  32.                 </tr>
  33.                     <tr align="left">
  34.                         <td style="height: 26px; width: 73px;">
  35.                             <span>选择厂商</span></td>
  36.                         <td style="width: 294px; height: 26px;">
  37.                             <asp:DropDownList ID="dl_company" runat="server" Width="198px">
  38.                             </asp:DropDownList>&nbsp;
  39.                         </td>
  40.                     </tr>
  41.                     <tr>
  42.                         <td style="height: 27px; width: 73px;">
  43.                             <span>设备类型</span></td>
  44.                         <td style="width: 294px; height: 27px">
  45.                             <asp:DropDownList ID="dl_type" runat="server" AutoPostBack="True" Width="198px" OnSelectedIndexChanged="dl_type_SelectedIndexChanged">
  46.                             </asp:DropDownList>&nbsp;
  47.                         </td>
  48.                         <td style="height: 27px">
  49.                             <span>设备名称</span>
  50.                         </td>
  51.                         <td style="height: 27px">
  52.                             <asp:DropDownList ID="dl_name" runat="server" Width="194px" AutoPostBack="True">
  53.                             </asp:DropDownList>&nbsp;
  54.                         </td>
  55.                     </tr>
  56.                     <tr align="left">
  57.                         <td style="width: 73px">
  58.                             <span>开始时间</span></td>
  59.                         <td style="width: 294px">
  60.                             <span>
  61.                                 <asp:TextBox ID="b_time" runat="server" Width="176px"></asp:TextBox>
  62.                                 <asp:ImageButton ID="ImageButton1" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
  63.                                     OnClick="ImageButton1_Click" /><br />
  64.                                 <asp:Calendar ID="Begindate" runat="server" BackColor="White" BorderColor="#999999"
  65.                                     CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  66.                                     ForeColor="Black" Height="180px" OnSelectionChanged="Begindate_SelectionChanged"
  67.                                     Visible="False" Width="200px">
  68.                                     <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  69.                                     <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  70.                                     <OtherMonthDayStyle ForeColor="#808080" />
  71.                                     <NextPrevStyle VerticalAlign="Bottom" />
  72.                                     <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  73.                                     <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  74.                                     <SelectorStyle BackColor="#CCCCCC" />
  75.                                     <WeekendDayStyle BackColor="#FFFFCC" />
  76.                                 </asp:Calendar>
  77.                             </span>
  78.                         </td>
  79.                         <td>
  80.                             <span class="STYLE1">截止时间</span></td>
  81.                         <td style="width: 207px">
  82.                             <span class="STYLE1">
  83.                                 <asp:TextBox ID="e_time" runat="server" Width="157px"></asp:TextBox>
  84.                                 <asp:ImageButton ID="ImageButton2" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"
  85.                                     OnClick="ImageButton2_Click" /><br />
  86.                                 <asp:Calendar ID="Enddate" runat="server" BackColor="White" BorderColor="#999999"
  87.                                     CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  88.                                     ForeColor="Black" Height="180px" OnSelectionChanged="Enddate_SelectionChanged"
  89.                                     Visible="False" Width="200px">
  90.                                     <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  91.                                     <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  92.                                     <OtherMonthDayStyle ForeColor="#808080" />
  93.                                     <NextPrevStyle VerticalAlign="Bottom" />
  94.                                     <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  95.                                     <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  96.                                     <SelectorStyle BackColor="#CCCCCC" />
  97.                                     <WeekendDayStyle BackColor="#FFFFCC" />
  98.                                 </asp:Calendar>
  99.                             </span>
  100.                         </td>
  101.                     </tr>
  102.                     <tr>
  103.                     <td style="width: 73px">
  104.                     <span>排列方式</span>
  105.                     </td>
  106.                     <td style="width: 294px">
  107.                  <asp:DropDownList ID="DropDownList2" runat="server" Width="249px" Height="32px" AutoPostBack="True">
  108.                 <asp:ListItem Value="0">按厂商查询</asp:ListItem>
  109.                 <asp:ListItem Value="1">按门店查询</asp:ListItem>
  110.                 <asp:ListItem Value="2">按设备-厂商查询</asp:ListItem>
  111.                 <asp:ListItem Value="3">按设备-门店查询</asp:ListItem>
  112.                 </asp:DropDownList></td>
  113.                     </tr>
  114.                     <tr>
  115.                         <td align="center" colspan="4" style="height: 28px">
  116.                             <asp:Button ID="btn_ok" runat="server" OnClick="btn_ok_Click" Text="提交" /></td>
  117.                     </tr>
  118.                 </table>
  119.             </asp:View>
  120.         </asp:MultiView>
  121.         <asp:MultiView ID="MultiView2" runat="server">
  122.             <asp:View ID="View3" runat="server">
  123.        <asp:GridView ID="gvParent" runat="server" AutoGenerateColumns="false" Width="880px"
  124.       BorderWidth="1" OnRowDataBound="gvParent_RowDataBound" 
  125.       ShowHeader="false" Font-Size="Smaller">
  126.       <Columns>
  127.         <asp:TemplateField>
  128.           <ItemTemplate>
  129.           <asp:Label ID="lb1_ID" runat="server" Text='<%#Eval("company") %>'  style="display:none;" Visible="false"></asp:Label>
  130.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  131.               float: left">
  132.               <img onclick="ShowHidden('<%#Eval("company")%><%#Eval("ID") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/open.jpg" id="img<%#Eval("company")%><%#Eval("ID") %>" />
  133.               <span style="float:none">维修厂商:<%#Eval("company")%></span><span style="float:none">    合计:<%#Eval("num")%></span></div>
  134.             <div style="background-color: #FFF; padding-left: 60px;clear:both; display:none" id="div<%#Eval("company")%><%#Eval("ID") %>" >
  135.      <asp:GridView ID="gvChild" runat="server" AutoGenerateColumns="false" Width="880px"
  136.       BorderWidth="1" OnRowDataBound="gvChild_RowDataBound" DataKeyNames="id"
  137.       ShowHeader="false">
  138.       <Columns>
  139.         <asp:TemplateField>
  140.           <ItemTemplate>
  141.           <asp:Label ID="lb2_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  142.            <asp:Label ID="lb2_company" runat="server" Text='<%#Eval("company") %>'  style="display:none;" Visible="false"></asp:Label>
  143.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  144.               float: left">
  145.               <img onclick="ShowHidden('<%#Eval("company") %><%#Eval("type")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("company")%><%#Eval("type")%><%#Eval("id") %>" />
  146.               <span style="float:none">设备类型:<%#Eval("type")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  147.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("company") %><%#Eval("type")%><%#Eval("id") %>">
  148.       <asp:GridView ID="gvthird" runat="server" AutoGenerateColumns="false" Width="880px"
  149.       BorderWidth="1" OnRowDataBound="gvthird_RowDataBound" DataKeyNames="id"
  150.       ShowHeader="false">
  151.       <Columns>
  152.         <asp:TemplateField>
  153.           <ItemTemplate>
  154.           <asp:Label ID="lb3_detail" runat="server" Text='<%#Eval("eq_detail") %>'  style="display:none;" Visible="false"></asp:Label>
  155.            <asp:Label ID="lb3_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  156.             <asp:Label ID="lb3_company" runat="server" Text='<%#Eval("company") %>'  style="display:none;" Visible="false"></asp:Label>
  157.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  158.               float: left">
  159.               <img onclick="ShowHidden('<%#Eval("company")%><%#Eval("type")%><%#Eval("eq_detail") %><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("company")%><%#Eval("type")%><%#Eval("eq_detail") %><%#Eval("id") %>" />
  160.               <span style="float:none">设备:<%#Eval("eq_detail")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  161.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("company")%><%#Eval("type")%><%#Eval("eq_detail") %><%#Eval("id") %>">
  162.       <asp:GridView ID="gvfourth" runat="server" AutoGenerateColumns="false" Width="880px"
  163.       BorderWidth="1" OnRowDataBound="gvfourth_RowDataBound" DataKeyNames="id"
  164.       ShowHeader="false">
  165.       <Columns>
  166.         <asp:TemplateField>
  167.           <ItemTemplate>
  168.           <asp:Label ID="lb4_id" runat="server" Text='<%#Eval("id") %>'  style="display:none;" Visible="false"></asp:Label>
  169.           <asp:Label ID="lb4_detail" runat="server" Text='<%#Eval("eq_detail") %>'  style="display:none;" Visible="false"></asp:Label>
  170.           <asp:Label ID="lb4_type" runat="server" Text='<%#Eval("eq_type") %>'  style="display:none;" Visible="false"></asp:Label>
  171.           <asp:Label ID="lb4_company" runat="server" Text='<%#Eval("eq_company") %>'  style="display:none;" Visible="false"></asp:Label>
  172.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  173.               float: left">
  174.               <img onclick="ShowHidden('<%#Eval("eq_company")%><%#Eval("eq_type")%><%#Eval("eq_detail") %><%#Eval("name")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("eq_company")%><%#Eval("eq_type")%><%#Eval("eq_detail") %><%#Eval("name")%><%#Eval("id") %>" />
  175.               <span style="float:none">门店:<%#Eval("name")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  176.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("eq_company")%><%#Eval("eq_type")%><%#Eval("eq_detail") %><%#Eval("name")%><%#Eval("id") %>">
  177.               <asp:GridView ID="gvdetail" runat="server" AutoGenerateColumns="false" ShowHeader="true"
  178.                 Width="100%" HorizontalAlign="left">
  179.                 <HeaderStyle BackColor="#9999FF" />
  180.                 <Columns>
  181.                    <asp:BoundField HeaderText="门店" DataField="department" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  182.                    <asp:BoundField HeaderText="申请单号" DataField="form_id" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  183.                    <asp:BoundField HeaderText="申请人" DataField="emp_name" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  184.                    <asp:BoundField HeaderText="设备类型" DataField="eq_type" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  185.                    <asp:BoundField HeaderText="设备名称" DataField="eq_detail" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  186.                   <asp:BoundField HeaderText="申请日期" DataField="apply_time" HtmlEncode="false" ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  187.                     <asp:BoundField HeaderText="问题描述" DataField="content" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  188.                     <asp:BoundField HeaderText="门店确认" DataField="check_md" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  189.                     <asp:BoundField HeaderText="厂商确认" DataField="check_company" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  190.                     <asp:BoundField HeaderText="厂商描述" DataField="comment" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  191.                     <asp:BoundField HeaderText="厂商完工日期" DataField="check_time" HtmlEncode="false"  ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" />
  192.                 </Columns>
  193.               </asp:GridView>
  194.               </div>
  195.               </ItemTemplate>
  196.               </asp:TemplateField>
  197.               </Columns>
  198.               </asp:GridView>
  199.               </div>
  200.               </ItemTemplate>
  201.               </asp:TemplateField>
  202.               </Columns>
  203.               </asp:GridView>
  204.               </div>
  205.               </ItemTemplate>
  206.               </asp:TemplateField>
  207.               </Columns>
  208.               </asp:GridView>
  209.             </div>
  210.           </ItemTemplate>
  211.         </asp:TemplateField>
  212.       </Columns>
  213.     </asp:GridView>
  214.             </asp:View>
  215.             <asp:View ID="View2" runat="server">
  216.                 <asp:GridView ID="gvParent1" runat="server" AutoGenerateColumns="false" Width="800px" BorderWidth="1" OnRowDataBound="gvParent1_RowDataBound"  ShowHeader="false" Font-Size="Smaller">
  217.                     <Columns>
  218.                         <asp:TemplateField>
  219.                             <ItemTemplate>
  220.                                 <asp:Label ID="lbl1_ID" runat="server" Style="display: none;" Text='<%#Eval("id") %>'
  221.                                     Visible="false"></asp:Label>
  222.                                 <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;float: left">
  223.                                 <img onclick="ShowHidden('<%#Eval("department")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/open.jpg" id="img<%#Eval("department")%><%#Eval("id") %>" />
  224.                                     <span style="float:none">门店:<%#Eval("department")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  225.                                 <div style="background-color: #FFF; padding-left: 60px;clear:both; display:none" id="div<%#Eval("department")%><%#Eval("id") %>">
  226.                                     <asp:GridView ID="gvChild1" runat="server" AutoGenerateColumns="false" Width="937px" BorderWidth="1" OnRowDataBound="gvChild1_RowDataBound" DataKeyNames="id" ShowHeader="false">
  227.                                         <Columns>
  228.                                             <asp:TemplateField>
  229.                                                 <ItemTemplate>
  230.                                                     <asp:Label ID="lbl2_type" runat="server" Style="display: none;" Text='<%#Eval("type") %>'
  231.                                                         Visible="false"></asp:Label>
  232.                                                     <asp:Label ID="lbl2_department" runat="server" Style="display: none;" Text='<%#Eval("department") %>'
  233.                                                         Visible="false"></asp:Label>
  234.                                                     <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE; float: left">
  235.                                                     <img onclick="ShowHidden('<%#Eval("department")%><%#Eval("type")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("department")%><%#Eval("type")%><%#Eval("id") %>" />
  236.                                                         <span style="float:none">设备类型:<%#Eval("type")%></span>
  237.                                                         <span style="float:none">     合计:<%#Eval("num")%></span></div>
  238.                                                     <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("department")%><%#Eval("type")%><%#Eval("id") %>">
  239.                                                         <asp:GridView ID="gvthird1" runat="server" AutoGenerateColumns="false" Width="937px" BorderWidth="1" OnRowDataBound="gvthird1_RowDataBound" DataKeyNames="id" ShowHeader="false">
  240.                                                             <Columns>
  241.                                                                 <asp:TemplateField>
  242.                                                                     <ItemTemplate>
  243.                                                                         <asp:Label ID="lbl3_detail" runat="server" Style="display: none;" Text='<%#Eval("eq_detail") %>'
  244.                                                                             Visible="false"></asp:Label>
  245.                                                                         <asp:Label ID="lbl3_type" runat="server" Style="display: none;" Text='<%#Eval("type") %>'
  246.                                                                             Visible="false"></asp:Label>
  247.                                                                         <asp:Label ID="lbl3_department" runat="server" Style="display: none;" Text='<%#Eval("department") %>'
  248.                                                                             Visible="false"></asp:Label>
  249.                                                                         <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE; float: left">
  250.                                                                         <img onclick="ShowHidden('<%#Eval("department")%><%#Eval("type")%><%#Eval("eq_detail")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("department")%><%#Eval("type")%><%#Eval("eq_detail")%><%#Eval("id") %>" />
  251.                                                                             <span style="float:none">设备:<%#Eval("eq_detail")%></span>
  252.                                                                             <span style="float:none">     合计:<%#Eval("num")%></span></div>
  253.                                                                         <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("department")%><%#Eval("type")%><%#Eval("eq_detail")%><%#Eval("id") %>">
  254.                                                                             <asp:GridView ID="gvfourth1" runat="server" AutoGenerateColumns="false" Width="937px" BorderWidth="1" OnRowDataBound="gvfourth1_RowDataBound" DataKeyNames="id" ShowHeader="false">
  255.                                                                                 <Columns>
  256.                                                                                     <asp:TemplateField>
  257.                                                                                         <ItemTemplate>
  258.                                                                                             <asp:Label ID="lbl4_company" runat="server" Style="display: none;" Text='<%#Eval("eq_company") %>'
  259.                                                                                                 Visible="false"></asp:Label>
  260.                                                                                             <asp:Label ID="lbl4_detail" runat="server" Style="display: none;" Text='<%#Eval("eq_detail") %>'
  261.                                                                                                 Visible="false"></asp:Label>
  262.                                                                                             <asp:Label ID="lbl4_type" runat="server" Style="display: none;" Text='<%#Eval("eq_type") %>'
  263.                                                                                                 Visible="false"></asp:Label>
  264.                                                                                             <asp:Label ID="lbl4_department" runat="server" Style="display: none;" Text='<%#Eval("department") %>'
  265.                                                                                                 Visible="false"></asp:Label>
  266.                                                                                             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;float: left">
  267.                                                                                             <img onclick="ShowHidden('<%#Eval("department")%><%#Eval("eq_type")%><%#Eval("eq_detail")%><%#Eval("eq_company")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("department")%><%#Eval("eq_type")%><%#Eval("eq_detail")%><%#Eval("eq_company")%><%#Eval("id") %>" />
  268.                                                                                                 <span style="float:none">厂商:<%#Eval("eq_company")%></span>
  269.                                                                                                 <span style="float:none">     合计:<%#Eval("num")%></span></div>
  270.                                                                                             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("department")%><%#Eval("eq_type")%><%#Eval("eq_detail")%><%#Eval("eq_company")%><%#Eval("id") %>">
  271.                                                                                                 <asp:GridView ID="gvdetail1" runat="server" AutoGenerateColumns="false" ShowHeader="true" Width="100%" HorizontalAlign="left">
  272.                                                                                                     <HeaderStyle BackColor="#9999FF" />
  273.                                                                                                     <Columns>
  274.                                                                                                         <asp:BoundField HeaderText="门店" DataField="department" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  275.                                                                                                         <asp:BoundField HeaderText="申请单号" DataField="form_id" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  276.                                                                                                         <asp:BoundField HeaderText="申请人" DataField="emp_name" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  277.                                                                                                         <asp:BoundField HeaderText="设备类型" DataField="eq_type" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  278.                                                                                                         <asp:BoundField HeaderText="设备名称" DataField="eq_detail" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  279.                                                                                                         <asp:BoundField HeaderText="申请日期" DataField="apply_time" HtmlEncode="false" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  280.                                                                                                         <asp:BoundField HeaderText="问题描述" DataField="content" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  281.                                                                                                         <asp:BoundField HeaderText="门店确认" DataField="check_md" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  282.                                                                                                         <asp:BoundField HeaderText="厂商确认" DataField="check_company" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  283.                                                                                                         <asp:BoundField HeaderText="厂商描述" DataField="comment" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  284.                                                                                                         <asp:BoundField HeaderText="厂商完工日期" DataField="check_time" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  285.                                                                                                     </Columns>
  286.                                                                                                 </asp:GridView>
  287.                                                                                             </div>
  288.                                                                                         </ItemTemplate>
  289.                                                                                     </asp:TemplateField>
  290.                                                                                 </Columns>
  291.                                                                             </asp:GridView>
  292.                                                                         </div>
  293.                                                                     </ItemTemplate>
  294.                                                                 </asp:TemplateField>
  295.                                                             </Columns>
  296.                                                         </asp:GridView>
  297.                                                     </div>
  298.                                                 </ItemTemplate>
  299.                                             </asp:TemplateField>
  300.                                         </Columns>
  301.                                     </asp:GridView>
  302.                                 </div>
  303.                             </ItemTemplate>
  304.                         </asp:TemplateField>
  305.                     </Columns>
  306.                 </asp:GridView>
  307.             </asp:View>
  308.             <asp:View ID="View4" runat="server">
  309.             <asp:GridView ID="gvParent2" runat="server" AutoGenerateColumns="false" Width="800px"
  310.       BorderWidth="1" OnRowDataBound="gvParent2_RowDataBound" 
  311.       ShowHeader="false" Font-Size="Smaller">
  312.       <Columns>
  313.         <asp:TemplateField>
  314.           <ItemTemplate>
  315.           <asp:Label ID="lbll1_ID" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  316.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  317.               float: left">
  318.               <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/open.jpg" id="img<%#Eval("type")%><%#Eval("id") %>" />
  319.               <span style="float:none">设备类型:<%#Eval("type")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  320.             <div style="background-color: #FFF; padding-left: 60px;clear:both; display:none" id="div<%#Eval("type")%><%#Eval("id") %>" >
  321.      <asp:GridView ID="gvChild2" runat="server" AutoGenerateColumns="false" Width="937px"
  322.       BorderWidth="1" OnRowDataBound="gvChild2_RowDataBound" DataKeyNames="id"
  323.       ShowHeader="false">
  324.       <Columns>
  325.         <asp:TemplateField>
  326.           <ItemTemplate>
  327.           <asp:Label ID="lbll2_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  328.            <asp:Label ID="lbll2_name" runat="server" Text='<%#Eval("name") %>'  style="display:none;" Visible="false"></asp:Label>
  329.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  330.               float: left">
  331.               <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("name")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("type")%><%#Eval("name")%><%#Eval("id") %>" />
  332.               <span style="float:none">设备:<%#Eval("name")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  333.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("type")%><%#Eval("name")%><%#Eval("id") %>">
  334.       <asp:GridView ID="gvthird2" runat="server" AutoGenerateColumns="false" Width="937px"
  335.       BorderWidth="1" OnRowDataBound="gvthird2_RowDataBound" DataKeyNames="id"
  336.       ShowHeader="false">
  337.       <Columns>
  338.         <asp:TemplateField>
  339.           <ItemTemplate>
  340.           <asp:Label ID="lbll3_detail" runat="server" Text='<%#Eval("name") %>'  style="display:none;" Visible="false"></asp:Label>
  341.            <asp:Label ID="lbll3_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  342.             <asp:Label ID="lbll3_company" runat="server" Text='<%#Eval("company") %>'  style="display:none;" Visible="false"></asp:Label>
  343.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  344.               float: left">
  345.               <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("name")%><%#Eval("company")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("type")%><%#Eval("name")%><%#Eval("company")%><%#Eval("id") %>" />
  346.               <span style="float:none">厂商:<%#Eval("company")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  347.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("type")%><%#Eval("name")%><%#Eval("company")%><%#Eval("id") %>">
  348.               <asp:GridView ID="gvdetail2" runat="server" AutoGenerateColumns="false" ShowHeader="true"
  349.                 Width="100%" HorizontalAlign="left">
  350.                 <HeaderStyle BackColor="#9999FF" />
  351.                 <Columns>
  352.                    <asp:BoundField HeaderText="门店" DataField="department" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  353.                    <asp:BoundField HeaderText="申请单号" DataField="form_id" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  354.                    <asp:BoundField HeaderText="申请人" DataField="emp_name" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  355.                    <asp:BoundField HeaderText="设备类型" DataField="eq_type" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  356.                    <asp:BoundField HeaderText="设备名称" DataField="eq_detail" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  357.                   <asp:BoundField HeaderText="申请日期" DataField="apply_time" HtmlEncode="false" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  358.                     <asp:BoundField HeaderText="问题描述" DataField="content" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  359.                     <asp:BoundField HeaderText="门店确认" DataField="check_md" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  360.                     <asp:BoundField HeaderText="厂商确认" DataField="check_company" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  361.                     <asp:BoundField HeaderText="厂商描述" DataField="comment" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  362.                     <asp:BoundField HeaderText="厂商完工日期" DataField="check_time" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  363.                 </Columns>
  364.               </asp:GridView>
  365.               </div>
  366.               </ItemTemplate>
  367.               </asp:TemplateField>
  368.               </Columns>
  369.               </asp:GridView>
  370.               </div>
  371.               </ItemTemplate>
  372.               </asp:TemplateField>
  373.               </Columns>
  374.               </asp:GridView>
  375.               </div>
  376.               </ItemTemplate>
  377.               </asp:TemplateField>
  378.               </Columns>
  379.                 <RowStyle Font-Size="Small" />
  380.               </asp:GridView>
  381.             </asp:View>
  382.             <asp:View ID="View5" runat="server">
  383.      <asp:GridView ID="gvParent3" runat="server" AutoGenerateColumns="false" Width="800px" BorderWidth="1" OnRowDataBound="gvParent3_RowDataBound" ShowHeader="false" Font-Size="Smaller">
  384.       <Columns>
  385.         <asp:TemplateField>
  386.           <ItemTemplate>
  387.           <asp:Label ID="lblll1_ID" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  388.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  389.               float: left">
  390.               <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/open.jpg" id="img<%#Eval("type")%><%#Eval("id") %>" />
  391.               <span style="float:none">设备类型:<%#Eval("type")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  392.             <div style="background-color: #FFF; padding-left: 60px;clear:both; display:none" id="div<%#Eval("type")%><%#Eval("id") %>" >
  393.      <asp:GridView ID="gvChild3" runat="server" AutoGenerateColumns="false" Width="937px" BorderWidth="1" OnRowDataBound="gvChild3_RowDataBound"  ShowHeader="false">
  394.       <Columns>
  395.         <asp:TemplateField>
  396.           <ItemTemplate>
  397.           <asp:Label ID="lblll2_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  398.            <asp:Label ID="lblll2_name" runat="server" Text='<%#Eval("name") %>'  style="display:none;" Visible="false"></asp:Label>
  399.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE; float: left">
  400.             <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("name") %><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("type")%><%#Eval("name") %><%#Eval("id") %>" />
  401.               <span style="float:none">设备:<%#Eval("name")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  402.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("type") %><%#Eval("name") %><%#Eval("id") %>">
  403.       <asp:GridView ID="gvthird3" runat="server" AutoGenerateColumns="false" Width="937px" BorderWidth="1" OnRowDataBound="gvthird3_RowDataBound" ShowHeader="false">
  404.       <Columns>
  405.         <asp:TemplateField>
  406.           <ItemTemplate>
  407.           <asp:Label ID="lblll3_detail" runat="server" Text='<%#Eval("name") %>'  style="display:none;" Visible="false"></asp:Label>
  408.            <asp:Label ID="lblll3_type" runat="server" Text='<%#Eval("type") %>'  style="display:none;" Visible="false"></asp:Label>
  409.             <asp:Label ID="lblll3_department" runat="server" Text='<%#Eval("id") %>'  style="display:none;" Visible="false"></asp:Label>
  410.             <div style="width: 100%; padding: 2px; font-weight: bold; background-color: #DEDEDE;
  411.               float: left">
  412.               <img onclick="ShowHidden('<%#Eval("type")%><%#Eval("name") %><%#Eval("department")%><%#Eval("id") %>',event)" style="float:left" alt="展开/折叠" src="../../../images/close.jpg" id="img<%#Eval("type")%><%#Eval("name") %><%#Eval("department")%><%#Eval("id") %>" />
  413.               <span style="float:none">门店:<%#Eval("department")%></span><span style="float:none">     合计:<%#Eval("num")%></span></div>
  414.             <div style="background-color: #FFF; padding-left: 60px;clear:both" id="div<%#Eval("type") %><%#Eval("name") %><%#Eval("department")%><%#Eval("id") %>">
  415.               <asp:GridView ID="gvdetail3" runat="server" AutoGenerateColumns="false" ShowHeader="true" Width="100%" HorizontalAlign="left">
  416.                 <HeaderStyle BackColor="#9999FF" />
  417.                 <Columns>
  418.                    <asp:BoundField HeaderText="门店" DataField="department" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  419.                    <asp:BoundField HeaderText="申请单号" DataField="form_id" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  420.                    <asp:BoundField HeaderText="申请人" DataField="emp_name" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  421.                    <asp:BoundField HeaderText="设备类型" DataField="eq_type" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  422.                    <asp:BoundField HeaderText="设备名称" DataField="eq_detail" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  423.                   <asp:BoundField HeaderText="申请日期" DataField="apply_time" HtmlEncode="false" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  424.                     <asp:BoundField HeaderText="问题描述" DataField="content" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  425.                     <asp:BoundField HeaderText="门店确认" DataField="check_md" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  426.                     <asp:BoundField HeaderText="厂商确认" DataField="check_company" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  427.                     <asp:BoundField HeaderText="厂商描述" DataField="comment" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  428.                     <asp:BoundField HeaderText="厂商完工日期" DataField="check_time" HtmlEncode="false"  ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
  429.                 </Columns>
  430.               </asp:GridView>
  431.               </div>
  432.               </ItemTemplate>
  433.               </asp:TemplateField>
  434.               </Columns>
  435.               </asp:GridView>
  436.               </div>
  437.               </ItemTemplate>
  438.               </asp:TemplateField>
  439.               </Columns>
  440.               </asp:GridView>
  441.               </div>
  442.               </ItemTemplate>
  443.               </asp:TemplateField>
  444.               </Columns>
  445.                 <RowStyle Font-Size="Small" Wrap="False" />
  446.          <SelectedRowStyle Font-Size="Small" HorizontalAlign="Center" />
  447.               </asp:GridView>
  448.             </asp:View>
  449.         </asp:MultiView>
  450.     </form>
  451. </body>
  452. </html>