123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>厨人意料代理商每日汇总</title>
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="format-detection" content="telephone=no">
- <link rel="stylesheet" type="text/css" href="../script/lib/layui/css/layui.css" />
- <script src="../script/lib/jquery/jquery.min.js"></script>
- <script src="../script/lib/layui/layui.js"></script>
- <script src="../script/lib/echarts/echarts.common.min.js"></script>
- <script><{Dever::script()}></script>
- <script src="../script/dever/core.js"></script>
- <style>
- .dever-upload-pic
- {
- width:100px;
- }
- h5 {
- margin-bottom: 10px;
- }
- td {
- color: black;
- }
- </style>
- </head>
- <body>
- <div class="layui-container">
- <div class="layui-card">
- <blockquote class="layui-elem-quote"><input type="text" value="<{$start}>" autocomplete="off" id="date" class="layui-input" style="width: auto;display: inline;" placeholder="选择日期"><a href="javascript:;" class="layui-btn" id="search">搜索</a></blockquote>
- <div class="layui-card-header" style="font-size: 20px"><{$day['time']}></div>
-
- <div class="layui-card-body">
- <h5>已确认代理商数据:<br/>代理商:<{$day['num']}>,总金额:¥<{$day['money']}><br/>代理费:<{$day['dl_money']}>,软件服务费:¥<{$day['soft_money']}>,期权价值:¥<{$day['option_money']}>,今日销售软件服务费:(¥<{$day['cash']}>)</h5>
-
-
- <table class="table layui-table layui-table-body" id="table">
- <thead id="list-thead">
- <tr>
- <th data-priority="1">角色</th>
- <th data-priority="1">数量</th>
- <th data-priority="1">金额</th>
- <th data-priority="1">软件服务费</th>
- <th data-priority="1">期权价值</th>
- </tr>
- </thead>
- <tbody>
- <{foreach($money as $k => $v):}>
- <tr>
- <td><{$v['name']}></td>
- <td><{$v['num']}></td>
- <td><{$v['money']}></td>
- <td><{$v['soft_money']}></td>
- <td><{$v['option_money']}></td>
- </tr>
- <{endforeach}>
- </tbody>
- </table>
- </div>
- </div>
- <div class="layui-card">
- <div class="layui-card-header" style="font-size: 20px"><{$week['week']}></div>
- <div class="layui-card-body">
- <h5>已确认代理商数据:<br/>代理商:<{$week['all']['num']}>,总金额:¥<{$week['all']['money']}><br/>代理费:<{$week['all']['dl_money']}>,软件服务费:¥<{$week['all']['soft_money']}>,期权价值:¥<{$week['all']['option_money']}>,本周销售软件服务费:(¥<{$week['all']['cash']}>)</h5>
- <table class="table layui-table layui-table-body" id="table">
- <thead id="list-thead">
- <tr>
- <th data-priority="1">角色</th>
- <th data-priority="1">数量</th>
- <th data-priority="1">金额</th>
- <th data-priority="1">软件服务费</th>
- <th data-priority="1">期权价值</th>
- </tr>
- </thead>
- <tbody>
- <{foreach($week['all_money'] as $k => $v):}>
- <tr>
- <td><{$v['name']}></td>
- <td><{$v['num']}></td>
- <td><{$v['money']}></td>
- <td><{$v['soft_money']}></td>
- <td><{$v['option_money']}></td>
- </tr>
- <{endforeach}>
- </tbody>
- </table>
- </div>
- </div>
- <div class="layui-card">
- <div class="layui-card-header" style="font-size: 20px"><{$all['time']}></div>
- <div class="layui-card-body">
- <h5>已确认代理商数据:<br/>代理商:<{$all['num']}>,总金额:¥<{$all['money']}><br/>代理费:<{$all['dl_money']}>,软件服务费:¥<{$all['soft_money']}>,期权价值:¥<{$all['option_money']}>,销售软件服务费:(¥<{$all['cash']}>)</h5>
- <table class="table layui-table layui-table-body" id="table">
- <thead id="list-thead">
- <tr>
- <th data-priority="1">角色</th>
- <th data-priority="1">数量</th>
- <th data-priority="1">金额</th>
- <th data-priority="1">软件服务费</th>
- <th data-priority="1">期权价值</th>
- </tr>
- </thead>
- <tbody>
- <{foreach($all_money as $k => $v):}>
- <tr>
- <td><{$v['name']}></td>
- <td><{$v['num']}></td>
- <td><{$v['money']}></td>
- <td><{$v['soft_money']}></td>
- <td><{$v['option_money']}></td>
- </tr>
- <{endforeach}>
- </tbody>
- </table>
- </div>
- </div>
-
- <div class="layui-card">
- <div class="layui-card-header" style="font-size: 20px">当月趋势:</div>
- <div class="layui-card-body">
- <div id="main" style="width:100%;height:600px;"></div>
- <div id="money" style="width:100%;height:600px;"></div>
- </div>
- </div>
-
- </div>
- </div>
-
- </div>
- <script>
- layui.use(['form','element', 'layer', 'jquery', 'laydate'], function(){
- var form = layui.form;
- var laydate = layui.laydate;
- laydate.render({
- elem: '#date',
- });
- });
- function search()
- {
- var date = $('#date').val();
- location.href = config.host + 'lib/manage.day&day=' + date;
- }
- $('#search').click(function() {
- search();
- })
- var chartDom = document.getElementById('main');
- var myChart = echarts.init(chartDom);
- var option;
- option = {
- title: {
- text: '代理商新增趋势'
- },
- tooltip: {
- trigger: 'axis'
- },
- grid: {
- left: '3%',
- right: '4%',
- bottom: '3%',
- containLabel: true
- },
- toolbox: {
- feature: {
- saveAsImage: {}
- }
- },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- data: <{$zhou}>
- },
- yAxis: {
- type: 'value'
- },
- series: <{$data}>
- };
- option && myChart.setOption(option);
- var chart = document.getElementById('money');
- var myChart = echarts.init(chart);
- var option;
- options = {
- title: {
- text: '代理收入趋势'
- },
- tooltip: {
- trigger: 'axis'
- },
- grid: {
- left: '3%',
- right: '4%',
- bottom: '3%',
- containLabel: true
- },
- toolbox: {
- feature: {
- saveAsImage: {}
- }
- },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- data: <{$zhou}>
- },
- yAxis: {
- type: 'value'
- },
- series: <{$qu_money}>
- };
- options && myChart.setOption(options);
- </script>
- </body>
- </html>
|