📄 wf_select_batch_order.aspx
字号:
<%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
<%@ Page language="c#" Codebehind="WF_Select_Batch_order.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.WF_select_Batch_order" smartNavigation="True" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>部门订工作餐</title>
<meta content="False" name="vs_snapToGrid">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="#cdd1f0" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体"></FONT><FONT language="C#" face="宋体"></FONT>
<asp:datagrid id="DataGrid1" style="Z-INDEX: 101; LEFT: 2px; POSITION: absolute; TOP: 88px" runat="server"
Width="1000px" Height="466px" BackColor="White" BorderStyle="None" CellPadding="3" BorderWidth="1px"
AllowSorting="True" GridLines="Horizontal" AllowPaging="True" BorderColor="#E7E7FF" AutoGenerateColumns="False"
Font-Size="X-Small">
<SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="batch_order_id" HeaderText="订单ID">
<HeaderStyle Width="5%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="date" HeaderText="日期">
<HeaderStyle Width="10%"></HeaderStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="餐别">
<ItemTemplate>
<asp:DropDownList id=DropDownList1 runat="server" SelectedValue='<%# DataBinder.Eval(Container, "DataItem.kind") %>' Enabled="False">
<asp:ListItem Value="A">早餐</asp:ListItem>
<asp:ListItem Value="B">午餐</asp:ListItem>
<asp:ListItem Value="C">晚餐</asp:ListItem>
<asp:ListItem Value="D">零点</asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="num" HeaderText="数量">
<HeaderStyle Width="5%"></HeaderStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="审核状态">
<HeaderStyle Width="8%"></HeaderStyle>
<ItemTemplate>
<asp:DropDownList id=ddlStatus runat="server" BackColor="White" Width="66px" ForeColor="Black" SelectedValue='<%# DataBinder.Eval(Container, "DataItem.effect") %>' Enabled="False">
<asp:ListItem Value="0" Selected="True">未通过</asp:ListItem>
<asp:ListItem Value="1">已通过</asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox id=TextBox1 runat="server" Width="99px" Text='<%# DataBinder.Eval(Container, "DataItem.effect") %>'>
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="send_dest" HeaderText="送餐地点">
<HeaderStyle Width="20%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="reason" HeaderText="订餐原因">
<HeaderStyle Width="20%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="department_id" HeaderText="部门ID"></asp:BoundColumn>
<asp:BoundColumn DataField="department" HeaderText="部门">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="manager_id" HeaderText="订餐人ID"></asp:BoundColumn>
<asp:BoundColumn DataField="manager_name" HeaderText="订餐人">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="checker_id" HeaderText="审核人ID"></asp:BoundColumn>
<asp:BoundColumn DataField="checker_name" HeaderText="审核人">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid><asp:textbox id="txtPageSize" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute; TOP: 64px"
runat="server" Width="29px" Height="24px" Font-Size="X-Small">10</asp:textbox><asp:label id="lblCurrentPage" style="Z-INDEX: 103; LEFT: 850px; POSITION: absolute; TOP: 72px"
runat="server" Width="141px" Height="8px" Font-Size="X-Small">第 1 页/共 1 页</asp:label><asp:button id="btnCancel" style="Z-INDEX: 104; LEFT: 660px; POSITION: absolute; TOP: 64px"
runat="server" Width="79px" ForeColor="#404040" Height="24" Text="查询"></asp:button><asp:dropdownlist id="ddlEffect" style="Z-INDEX: 105; LEFT: 640px; POSITION: absolute; TOP: 38px"
runat="server" Width="121" Height="22" Font-Size="X-Small">
<asp:ListItem Value="0">未通过</asp:ListItem>
<asp:ListItem Value="1">已通过</asp:ListItem>
<asp:ListItem Value="2" Selected="True">全部状态</asp:ListItem>
</asp:dropdownlist><asp:textbox id="enddate" style="Z-INDEX: 106; LEFT: 385px; POSITION: absolute; TOP: 61px" runat="server"
Width="128px" MaxLength="256" Height="22px" Font-Size="X-Small"></asp:textbox><asp:textbox id="startdate" style="Z-INDEX: 107; LEFT: 384px; POSITION: absolute; TOP: 35px"
runat="server" Width="128px" Height="22px" Font-Size="X-Small"></asp:textbox>
<TABLE id="Table1" style="Z-INDEX: 108; LEFT: 1px; POSITION: absolute; TOP: 0px; HEIGHT: 35px; BACKGROUND-COLOR: #3399ff"
cellSpacing="1" cellPadding="1" width="1024" border="0" align="left" bgColor="#3399ff">
<TR>
<TD style="BACKGROUND-COLOR: #3399ff"><FONT face="宋体"><STRONG>部门工作餐查询</STRONG> <asp:label id="lblMessage" runat="server" Width="810px" ForeColor="Red" Height="11px"></asp:label></FONT></TD>
</TR>
</TABLE>
<asp:Label id="Label1" style="Z-INDEX: 109; LEFT: 307px; POSITION: absolute; TOP: 41px" runat="server"
Font-Size="X-Small">起始时间:</asp:Label>
<asp:Label id="Label2" style="Z-INDEX: 110; LEFT: 555px; POSITION: absolute; TOP: 43px" runat="server"
Width="87px" Font-Size="X-Small">审批状态:</asp:Label>
<asp:Label id="Label4" style="Z-INDEX: 111; LEFT: 308px; POSITION: absolute; TOP: 66px" runat="server"
Width="70px" Font-Size="X-Small">结束时间:</asp:Label>
<asp:Label id="Label5" style="Z-INDEX: 112; LEFT: 48px; POSITION: absolute; TOP: 72px" runat="server"
Font-Size="X-Small">行/页</asp:Label>
<asp:RangeValidator id="startinfo" style="Z-INDEX: 113; LEFT: 184px; POSITION: absolute; TOP: 40px"
runat="server" Width="64px" ErrorMessage="错误" Type="Date" MinimumValue="2000-01-01" MaximumValue="2050-12-30"
EnableClientScript="False" ControlToValidate="startdate">starterr</asp:RangeValidator>
<asp:RangeValidator id="endinfo" style="Z-INDEX: 114; LEFT: 184px; POSITION: absolute; TOP: 64px" runat="server"
ErrorMessage="错误" Type="Date" MinimumValue="2000-01-01" MaximumValue="2050-12-01" EnableClientScript="False"
ControlToValidate="enddate">enderr</asp:RangeValidator>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -