<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>订单管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- bootstrap 3.0.2 -->

<link href="<c:url value='/scripts/lib/layui/layui.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/AdminLTE.css?2018-12-28'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/orderDinner/orderManage.css?2019-1-1'/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/layui/layui.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/template-native.js'/>"></script>
<script type="text/javascript" src="${ctx }/scripts/common/enlarge.js"></script>
<script type="text/javascript" src="${ctx }/scripts/admin/orderDinner/orderManage.js?2022-06-07"></script>
<script type="text/javascript" src="${ctx }/scripts/admin/cjqt.js?2019-1-17"></script>

</head>
<body>

	<input type="hidden" value="${ctx}" id="contextPath" />

	<div class="bread-wp">
		订餐管理  > 订单管理
	</div>
	<div class="right-content">
		<div class="main-content-mode-wp clearfloat email-publish-wp ">
		<form:form  id="conditionform"  class="clearfloat">

	            <c:if test="${fn:length(orgs) > 1}">
	             <div class=" part-wp">
		              <span class="search-tips">项目</span>
<!-- 		              <select class="default-select" name="orgId" id="orgId" >
		                <option value="">请选择项目</option>
		                <c:forEach items="${orgs }"  var="org">
		                  <option value="${org.id }">${org.name }</option>
		                </c:forEach>
		              </select> -->
		              <input class="default-select" name="orgId" id="orgId"  autocomplete="off" placeholder="请输入项目名称"/>
		              <span class="select_wrap _hide"></span>
	              </div>
	            </c:if>
	            <c:if test="${fn:length(orgs) == 1}">
	              <input type="hidden" name="orgId" id="orgId" value="${orgs[0].id}" org__id="${orgs[0].id}" class="single-orgid default-select">
	            </c:if>

			<div class="part-wp">
				<span class="search-tips">企业</span>
				<input class="default-select" name="companyId" id="companyId"  autocomplete="off" placeholder="请输入企业名称"/>
	            <span class="select_wrap _hide"></span>
			</div>
			<div class="part-wp">
				<span class="search-tips">部门</span>
				<input class="default-select" name="departmentId" id="departmentId"  autocomplete="off" placeholder="请输入部门名称"/>
	            <span class="select_wrap _hide"></span>
			</div>
			<div class="part-wp">
				<span class="search-tips">预订人</span>
				<input class="small-input userName" type="text" placeholder="请输入预订人"/>
			</div>
			<div class=" part-wp">
              <span class="search-tips">下单时间</span>
              <input type="text" class="small-input  beginTime" id="beginTime" placeholder="开始时间" name="beginTime" readonly> ~
              <input type="text" placeholder="结束时间"  name="endTime" class="small-input endTime" id="endTime" readonly>
            </div>
			<div class="part-wp">
				<span class="search-tips">状态</span>
				<select class="default-select status" >
					<option value="">全部</option>
					<option value="1">待送餐</option>
					<option value="2">待评价</option>
					<option value="3">已完成</option>
					<option value="4">已取消</option>
				</select>
			</div>

			<div class="part-wp">
				<span class="search-tips">评星</span>
				<select class="default-select star" >
					<option value="">全部</option>
					<option value="1">1星</option>
					<option value="2">2星</option>
					<option value="3">3星</option>
					<option value="4">4星</option>
					<option value="5">5星</option>
				</select>
			</div>
			<div class=" part-wp">
              <span class="search-tips">送餐时间</span>
              <input type="text" class="small-input  orderTime" id="orderTime" placeholder="开始时间" name="orderTime" readonly> ~
              <input type="text" placeholder="结束时间"  name="endOrderTime" class="small-input endOrderTime" id="endOrderTime" readonly>
            </div>
            <div class="part-wp">
				<span class="search-tips">类型</span>
				<select class="default-select type" >
					<option value="">全部</option>
					<option value="1">普通订餐</option>
					<option value="2">会议餐</option>
					<option value="3">临时工作餐</option>
				</select>
			</div>
			<button class="search-btn btn-red" type="button">查询</button>
			<button class="set-btn btn-white" type="button">重置</button>
			<!-- <button class="orderSummary-btn btn-white" type="button">今日订单汇总</button> -->
		</form:form>
		 <div class="main-operate-wp">
			 <button class="orderSummary-btn btn-export-white" type="button">今日订单汇总</button>
			 <button class="btn-white warnOrder" type="button" style="width: 85px;">订餐提醒</button>
		 </div>
		  <div class="tables">
        <table class="layui-hide" id="LAY_table_user" lay-filter="user"></table>
		</div>
	</div>
	</div>
	<script type="text/html" id="indexTpl">
    {{d.LAY_TABLE_INDEX+1}}
	</script>
</body>
</html>
