<!DOCTYPE html>
<html lang="en" style="background-color: #f5f5f5;">

	<head>
		<meta charset="UTF-8">
		<title>交易统计</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<script src="../../../admin/index.js" door type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			require('js/common.js')
		</script>
		<!--下拉选择模板-->
		<script type="text/html" id="selectTpl">
			<option value="">{{d.name}}</option>
		    {{# if(!d.list){d.list = []}}} {{# for(var i=0;i<d.list.length;i++){}} 
				<option value="{{d.list[i].id}}">{{d.list[i].name}}</option>
			{{#}}}
		</script>

		<script type="text/html" id="tradeToolbar">
			<div class="layui-btn-container">
			<button class="layui-btn output-btn" lay-event="export">下载Excel</button>
			<span class="counter" id="tradeCounter">合计：0元，0单</span>
		</div>
	</script>

		<script type="text/html" id="shopToolbar">
			<div class="layui-btn-container">
			<button class="layui-btn output-btn" lay-event="export">下载Excel</button>
			<span class="counter" id="shopCounter">合计：0元，0单</span>
		</div>
	</script>

	</head>

	<body>
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-tab layui-tab-brief" lay-filter="tabBrief">
					<ul class="layui-tab-title">
						<li class="layui-this">交易统计</li>
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show">
							<div class="layui-card-header layout-header">
								<form class="layui-form" action="" novalidate>
									<div class="layui-form-item">
										<div class="layui-inline" style="width: 18.75rem;">
											<input type="text" class="layui-input" autocomplete="off" name="dateRange" id="datePicker" placeholder="请选择日期范围">
										</div>
										<div class="layui-inline">
											<button class="layui-btn" lay-submit lay-filter="tradeTableSearch">搜索</button>
										</div>
									</div>
								</form>
							</div>
							<div class="layui-card-body layout-body">
								<table id="tradeTableData" lay-filter="tradeTableData" class="layui-table"></table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>
