📄 showorder.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Showorder.aspx.cs" Inherits="include_Showhuo" %>
<!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>
<link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" bgcolor="gainsboro">
<form id="form1" runat="server">
<div>
<table style="width: 882px; border-top-style: groove; border-right-style: groove; border-left-style: groove; border-bottom-style: groove; height: 616px;" class="9">
<tr>
<td class="9" colspan="3" rowspan="2" style="height: 11px; text-align: center">
<strong><span style="color: black">
<asp:Label ID="Label1" runat="server" ForeColor="Black" Text="运单查询"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx" Font-Bold="False">返回首页</asp:HyperLink>
</span></strong></td>
</tr>
<tr>
</tr>
<tr>
<td class="9" colspan="3" style="height: 10px; text-align: left">
<asp:Panel ID="Panel2" runat="server" BorderStyle="Inset" Height="20px" Width="150px">
<asp:DropDownList ID="drpOrder" runat="server" AutoPostBack="True" BackColor="White"
ForeColor="Black" OnSelectedIndexChanged="drpOrder_SelectedIndexChanged" Width="150px">
</asp:DropDownList></asp:Panel>
</td>
</tr>
<tr>
<td colspan="3" style="height: 200px; text-align: center">
<asp:Panel ID="Panel1" runat="server" BorderStyle="Inset" Height="200px" ScrollBars="Vertical"
Width="850px">
<asp:GridView ID="HuoGridView" runat="server" AutoGenerateColumns="False" Width="98%" OnPageIndexChanging="HuoGridView_PageIndexChanging" OnRowCommand="HuoGridView_RowCommand" CellPadding="3" GridLines="None" CssClass="9" BackColor="White" BorderColor="White" CellSpacing="1" DataKeyNames="HuowuID" Height="36px">
<Columns>
<asp:BoundField DataField="Createdate" DataFormatString="{0:yy年MM月dd日}" HeaderText="日期" HtmlEncode="False" >
<ItemStyle Width="80px" />
</asp:BoundField>
<asp:TemplateField HeaderText="货单号">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Huohao") %>
</ItemTemplate>
<ItemStyle Width="80px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="货物名称">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Huoming") %>
</ItemTemplate>
<ItemStyle Width="120px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="到站">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Daozhan") %>
</ItemTemplate>
<ItemStyle Width="140px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="件数">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Jianshu") %>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="重量">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Zhongliang") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="联系人">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Lianren") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="电话">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Lianhua") %>
</ItemTemplate>
<ItemStyle Width="80px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="操作">
<ItemTemplate>
<asp:Button ID="exitBtn" runat="server" Text="退回" Width="53px" CommandName="exit" ToolTip="将此货物退回到收货表中" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"HuowuID")%>' />
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="3" style="height: 241px">
<table style="border-top-style: inset; border-right-style: inset; border-left-style: inset;
border-bottom-style: inset; height: 182px;" class="9" width="100%">
<tr>
<td colspan="5" style="text-align: left">
运单号:
<asp:Label ID="lblYundan" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
发货日期:
<asp:Label ID="lblorderdate" runat="server" Font-Bold="True"></asp:Label></td>
</tr>
<tr>
<td colspan="2" style="height: 26px; text-align: center">
<strong><span style="color: black"></span></strong></td>
<td colspan="1" style="width: 59px; text-align: left">
</td>
<td colspan="2" style="height: 26px; text-align: center">
<span style="color: black"></span></td>
</tr>
<tr>
<td style="width: 70px; height: 26px; text-align: left">
接货人:</td>
<td style="width: 289px; height: 26px; text-align: left">
<asp:TextBox ID="txtJieren" runat="server" CssClass="txtbox1" BackColor="#E0E0E0" Width="103px" ForeColor="#004000" ReadOnly="True"></asp:TextBox></td>
<td style="width: 59px; text-align: left">
</td>
<td style="width: 69px; height: 26px; text-align: left">
车辆牌照:</td>
<td style="height: 26px; text-align: left">
<asp:TextBox ID="txtChepai" runat="server" BackColor="#E0E0E0" ReadOnly="True" Width="103px" ForeColor="#004000"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 70px; text-align: left">
联系电话:</td>
<td style="width: 289px; text-align: left">
<asp:TextBox ID="txtJiedian" runat="server" CssClass="txtbox1" BackColor="#E0E0E0" Width="103px" ForeColor="#004000" ReadOnly="True"></asp:TextBox></td>
<td style="width: 59px; text-align: left">
</td>
<td style="width: 69px; text-align: left">
司机姓名:</td>
<td style="text-align: left">
<asp:TextBox ID="txtSiming" runat="server" Width="103px" BackColor="#E0E0E0" ReadOnly="True" ForeColor="#004000"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 70px; text-align: left">
传真:</td>
<td style="width: 289px; text-align: left">
<asp:TextBox ID="txtJiezhen" runat="server" CssClass="txtbox1" BackColor="#E0E0E0" Width="103px" ForeColor="#004000" ReadOnly="True"></asp:TextBox></td>
<td style="width: 59px; text-align: left">
</td>
<td style="width: 69px; text-align: left">
联系电话:</td>
<td style="text-align: left">
<asp:TextBox ID="txtSihua" runat="server" Width="103px" BackColor="#E0E0E0" ReadOnly="True" ForeColor="#004000"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 70px; height: 35px; text-align: left">
地址:</td>
<td style="width: 289px; height: 35px; text-align: left">
<asp:TextBox ID="txtJiezhi" runat="server" Height="16px" Width="273px" CssClass="txtbox1" BackColor="#E0E0E0" ForeColor="#004000" ReadOnly="True"></asp:TextBox></td>
<td style="width: 59px; text-align: left; height: 35px;">
</td>
<td style="width: 69px; height: 35px; text-align: left">
所在地:</td>
<td style="height: 35px; text-align: left">
<asp:TextBox ID="txtSidi" runat="server" Height="16px" Width="273px" BackColor="#E0E0E0" ReadOnly="True" ForeColor="#004000"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 70px; height: 35px; text-align: left">
备注:</td>
<td colspan="4" style="height: 35px; text-align: left">
<asp:TextBox ID="txtBeizhu" runat="server" CssClass="txtbox1" Height="46px" TextMode="MultiLine"
Width="497px" BackColor="#E0E0E0" ForeColor="#004000" ReadOnly="True"></asp:TextBox></td>
</tr>
</table>
<asp:Button ID="delBtn" runat="server" OnClick="Button1_Click" Text="删除此运单" Visible="False" /><br />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -