📄 cook.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cook.aspx.cs" Inherits="cook" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="MagicAjax" Namespace="MagicAjax.UI.Controls" TagPrefix="ajax" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center">
<img src="image/1.jpg" alt="厨师定单页面" />
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 818px">
<tr>
<td align="right">
<asp:ImageButton ID="imgalone" runat="server" ImageUrl="~/image/more.gif" Height="26px" Width="126px" OnClick="imgalone_Click" />
</td>
</tr>
</table>
<div style="left:100px;top:200px; position:absolute; width: 689px; height: 286px;" id="DivID">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size:small;" align="center">
类别
</td>
<td style="font-size:small; width: 299px;" align="center">
拼音缩写
</td>
<td style="font-size:small" align="center">
品名
</td>
<td style="font-size:small" align="center">
规格
</td>
<td style="font-size:small; width: 156px;" align="center">
数量
</td>
<td style="font-size:small" align="center">
送货时间
</td>
<td style="font-size:small" align="center">
备注
</td>
<td></td>
</tr>
<tr>
<td>
<ajax:AjaxPanel ID="AjaxPanel2" runat="server"><asp:DropDownList ID="dpdlleibie" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dpdlleibie_SelectedIndexChanged" Width="108px">
<asp:ListItem>请选择</asp:ListItem>
</asp:DropDownList></ajax:AjaxPanel>
</td>
<td style="width: 299px">
<ajax:AjaxPanel ID="AjaxPanel4" runat="server">
<asp:TextBox ID="txtsuoxie" runat="server" Width="60px" AutoPostBack="True" OnTextChanged="txtsuoxie_TextChanged"></asp:TextBox></ajax:AjaxPanel>
</td>
<td>
<ajax:AjaxPanel ID="AjaxPanel1" runat="server"><asp:DropDownList ID="dpdlpinmin" runat="server" Width="100px" AutoPostBack="True" OnSelectedIndexChanged="dpdlpinmin_SelectedIndexChanged"></asp:DropDownList></ajax:AjaxPanel></td>
<td>
<ajax:AjaxPanel ID="AjaxPanel3" runat="server"><asp:TextBox ID="txtGG" runat="server" ReadOnly="True" Width="60px"></asp:TextBox></ajax:AjaxPanel>
</td>
<td style="width: 156px">
<asp:TextBox ID="txtcount" runat="server" Width="100px"></asp:TextBox>
</td>
<td>
<ajax:AjaxPanel ID="AjaxPanel5" runat="server">
<asp:TextBox ID="txttime" runat="server" Width="120px" AutoPostBack="True" ReadOnly="True"></asp:TextBox></ajax:AjaxPanel>
</td>
<td>
<asp:TextBox ID="txtbeizhu" runat="server" Width="200px"></asp:TextBox>
</td>
<td>
<ajax:AjaxPanel ID="AjaxPanel7" runat="server">
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/order.gif" OnClick="ImageButton1_Click" /></ajax:AjaxPanel>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td></td>
<td></td>
<td>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtcount"
ErrorMessage="请输入数字" Font-Names="楷体_GB2312" Font-Size="Small" ValidationExpression="(\d)+"></asp:RegularExpressionValidator></td>
<td>
</td>
<td>
<asp:Label ID="info" runat="server" Width="98px"></asp:Label></td>
<td></td>
</tr>
<tr>
<td align="center" colspan="8">
<ajax:AjaxPanel ID="AjaxPanel9" runat="server"><asp:DataList ID="dlstimage" runat="server" BackColor="LightGoldenrodYellow" BorderColor="Tan"
BorderWidth="1px" CellPadding="2" ForeColor="Black">
<FooterStyle BackColor="Tan" />
<SelectedItemStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<AlternatingItemStyle BackColor="PaleGoldenrod" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<ItemTemplate>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<a href='image.aspx?img=<%#DataBinder.Eval(Container.DataItem,"order_Image")%>' target="_blank" style="text-decoration: none; color: #D7a700;">
<img src='<%#DataBinder.Eval(Container.DataItem,"order_Image")%>' width="150" height="150" alt="可链接"></a><br />
<asp:Label ID="lblgg" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"order_Nature") %>'></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></ajax:AjaxPanel>
</td>
</tr>
<tr>
<td colspan="8" align="center">
<ajax:AjaxPanel ID="AjaxPanel8" runat="server">
<asp:GridView ID="gdvwdata" runat="server" AutoGenerateColumns="False" BackColor="LightGoldenrodYellow"
BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None"
Width="845px" OnRowDeleted="gdvwdata_RowDeleted" OnSelectedIndexChanged="gdvwdata_SelectedIndexChanged" OnRowDeleting="gdvwdata_RowDeleting" DataKeyNames="cooktb_id">
<FooterStyle BackColor="Tan" />
<Columns>
<asp:BoundField DataField="cooktb_id" />
<asp:BoundField DataField="cooktb_leibie" HeaderText="类别" >
<ControlStyle Font-Size="Small" />
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
<FooterStyle Font-Size="X-Small" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_pinmin" HeaderText="品名" >
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_guige" HeaderText="规格" >
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_count" HeaderText="数量" >
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_date" HeaderText="到货日期" >
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_address" HeaderText="送货地点" >
<ItemStyle Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:BoundField DataField="cooktb_beizhu" HeaderText="备注" >
<ItemStyle Font-Names="宋体" Font-Size="Small" />
<HeaderStyle Font-Names="楷体_GB2312" Font-Size="Large" />
</asp:BoundField>
<asp:ButtonField Text="删除" CommandName="Delete" >
<ItemStyle Font-Size="Small" />
</asp:ButtonField>
</Columns>
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<AlternatingRowStyle BackColor="PaleGoldenrod" />
</asp:GridView>
</ajax:AjaxPanel>
</td>
</tr>
<tr>
<td colspan="8" align="center">
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="imgsend" ConfirmText="请确认你已定好数据,否则会导至系统错误">
</cc1:ConfirmButtonExtender>
<asp:ImageButton ID="imgsend" runat="server" ImageUrl="~/image/send.gif" OnClick="imgsend_Click" />
</td>
</tr>
</table>
</div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:HoverMenuExtender ID="HoverMenuExtender1" runat="server" TargetControlID="txttime" PopupPosition="Top" PopDelay="10" PopupControlID="panel">
</cc1:HoverMenuExtender>
<ajax:AjaxPanel ID="panel" runat="server">
<asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66"
BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
ForeColor="#663399" Height="200px" ShowGridLines="True" Width="220px" OnSelectionChanged="Calendar1_SelectionChanged">
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
<SelectorStyle BackColor="#FFCC66" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
<TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
</asp:Calendar>
</ajax:AjaxPanel>
<asp:Panel ID="Panel1" runat="server" Height="25px" Width="125px">
<div>
<table cellpadding="0" cellspacing="0" style="width: 125px">
<tr>
<td>
<img alt="可移动" src="image/movie.gif" style="width: 80px; height: 28px" />
</td>
</tr>
<tr>
<td>
<a href="examine.aspx" style="text-decoration: none; color: #D7a700; font-size: smaller;"
target="_blank">查看定单</a>
</td>
</tr>
<tr>
<td>
<a href="idea.aspx" style="text-decoration: none; color: #D7a700; font-size: smaller;"
target="_blank">发送意见</a>
</td>
</tr>
<tr>
<td>
<a href="Remarks.aspx" style="font-size: smaller; color: #D7a700; text-decoration: none"
target="_blank">填写备注</a>
</td>
</tr>
</table>
</div>
</asp:Panel>
<cc1:DragPanelExtender ID="DragPanelExtender1" runat="server" TargetControlID="Panel1">
</cc1:DragPanelExtender>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -