<?php include_once 'init-lite.php'; 
?>
<script type="text/javascript">
function loadmenu(){
	//var url = "loadmenu.php?_dc="+new Date().getTime()+"&CategoryID=" + var1;  	
	//$("#myDivLoadMenu").load('loadmenu.php').trigger('create');
	$.ajax({
		type: "POST", //提交的类型
		url: "admin-dayreport-load.php",//提交地址
		data: "_dc="+new Date().getTime()+"&date=" + $("#date").val()+"&Status=" + $("#Status").val(),//参数
		success: function(data){ //回调方法
		$("#myDivLoadMenu").html(data).trigger('create');
		}
	});
} 

 </script>
 <style type="text/css">
 .title1 {
	font-size: large;
	font-weight: bold;
}
 </style>
 
<span class="title1">日报表</span>
<table width="100%" border="0">
  <tr>
    <td width="45"><label for="date">日期:</label></td>
    <td width="80"><input type="date" name="date" id="date" value="" data-inline="true" /></td>
    <td width="45"><button type="button" onclick="loadmenu();">查询</button></td>
    <td width="80"> <select name="Status" id="Status">
      <option value="结账中" selected="selected">已下单</option>
       <option value="服务中">下单中</option>
       <option value="All">全部</option>
   </select>
    
   
</td> <td>
</td>
  </tr>
</table>
<span id="myDivLoadMenu"><script type="text/javascript">loadmenu();</script></span>