📄 ordersearch.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OrderSearch.ascx.cs" Inherits="UserControl_OrderSearch" %>
<%@ Register Assembly="CalControlLirb" Namespace="Vinci.Web.Controls" TagPrefix="mc" %>
<link href="../App_Themes/Style/Style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.style1
{
width: 302px;
}
.style2
{
width: 257px;
}
.style3
{
width: 294px;
}
.style5
{
width: 77px;
}
.style6
{
width: 27px;
}
.style9
{
width: 105px;
}
.style10
{
width: 121px;
}
</style>
<script language="javascript" type="text/javascript">
function ControlSearchShow()
{
if(document.getElementById("controlDiv").style.display=="block")
{
document.getElementById("controlDiv").style.display="none";//隐藏
document.getElementById("contorl").setAttribute("value","显示搜索");
}
else
{
document.getElementById("controlDiv").style.display="block";//显示
document.getElementById("contorl").setAttribute("value","隐藏搜索");
}
}
</script>
<input type="button" id="contorl" value="隐藏搜索" onclick="ControlSearchShow()" />
<div id="controlDiv" style="display:block">
<table width="100%" id="OrderTb" runat="server">
<tr>
<td>
<div style="text-align: center;">
<%#PageTitle%></div>
<asp:Panel ID="searchPanel" runat="server" Visible="true">
<table width="100%">
<tr>
<td class="style3">
<label>
订单ID:</label><asp:TextBox runat="server" ID="orderIDtxt" />
</td>
<td colspan="2">
<label>
客 户:</label><asp:DropDownList ID="customerList" runat="server" AutoPostBack="true"
OnSelectedIndexChanged="customerList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style3">
<label>
建立者:</label>
<asp:DropDownList ID="createList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="createList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
<td class="style2">
<label>
配货者:</label><asp:DropDownList ID="peiList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="peiList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
<td class="style1">
<label>
发货者:</label><asp:DropDownList ID="postList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="postList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style3">
<label>
确认者:</label>
<asp:DropDownList ID="okList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="okList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
<td class="style2">
<label>
关闭者:</label><asp:DropDownList ID="closeList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="closeList_SelectedIndexChanged">
<asp:ListItem Value="0">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
<td class="style1">
<label>
状 态:</label>
<asp:DropDownList ID="stateList" runat="server" OnSelectedIndexChanged="stateList_SelectedIndexChanged">
<asp:ListItem Value="4">所有订单</asp:ListItem>
<asp:ListItem Value="0">待备贷</asp:ListItem>
<asp:ListItem Value="1">待出贷</asp:ListItem>
<asp:ListItem Value="2">待确认</asp:ListItem>
<asp:ListItem Value="3">待关闭</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%">
<tr>
<td class="style9">
<label>
建立时间:</label>
</td>
<td class="style5">
<mc:DropDownCalendar ID="createOrderStart" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td class="style6">
<label>
至</label>
</td>
<td class="style9">
<mc:DropDownCalendar ID="createOrderEnd" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td class="style10">
<label>
配货时间:</label>
</td>
<td>
<mc:DropDownCalendar ID="storeOrderStart" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td>
<label>
至</label>
</td>
<td>
<mc:DropDownCalendar ID="storeOrderEnd" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
</tr>
<tr>
<td class="style9">
<label>
发货时间:</label>
</td>
<td class="style5">
<mc:DropDownCalendar ID="sendOrderStart" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td>
<label>
至</label>
</td>
<td class="style9">
<mc:DropDownCalendar ID="sendOrderEnd" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td class="style10">
<label>
确认时间:</label>
</td>
<td>
<mc:DropDownCalendar ID="okOrderStart" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td>
<label>
至</label>
</td>
<td>
<mc:DropDownCalendar ID="okOrderEnd" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
</tr>
<tr>
<td class="style9">
<label>
关闭时间:</label>
</td>
<td class="style5">
<mc:DropDownCalendar ID="closeOrderStart" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td>
<label>
至</label>
</td>
<td class="style9">
<mc:DropDownCalendar ID="closeOrderEnd" runat="server" Width="100px">
<WeekendDayStyle BackColor="#C0FFFF" />
<TitleStyle BackColor="Transparent" />
<DayHeaderStyle BackColor="#C0C0FF" />
<DateStyle BackColor="#FFFFC0" />
</mc:DropDownCalendar>
</td>
<td colspan="4">
</td>
</tr>
<tr>
<td class="style9">
<label>
所属分支:</label>
</td>
<td class="style5">
<asp:DropDownList ID="containList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="containList_SelectedIndexChanged">
<asp:ListItem Value="-1">请选择:</asp:ListItem>
</asp:DropDownList>
</td>
<td colspan="6">
</td>
</tr>
<tr>
<td align="center" colspan="8">
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -