123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <!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" />
- <link rel="stylesheet" type="text/css" href="../script/lib/valid/validationEngine.jquery.css">
- <!-- <link rel="stylesheet" type="text/css" href="../script/lib/layui/admin/style/admin.css?v9" media="all"> -->
- <link rel="stylesheet" type="text/css" href="../script/lib/fancybox/jquery.fancybox.css">
- <link rel="stylesheet" type="text/css" href="../script/lib/datetime/jquery.datetimepicker.css">
- <link rel="stylesheet" type="text/css" href="../script/lib/color/colpick.css">
- <link rel="stylesheet" type="text/css" href="../script/lib/kindeditor/themes/default/default.css?v1" />
- <link rel="stylesheet" type="text/css" href="../script/lib/valid/validationEngine.jquery.css">
- <link rel="stylesheet" type="text/css" href="../script/lib/highlight/highlight.min.css">
- <link rel="stylesheet" type="text/css" href="../script/lib/ui/ui.min.css">
- <link rel="stylesheet" href="../script/lib/layui/admin/modules/plugin/formselects/formselects.css" media="all" />
- <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 src="../script/lib/miniui/miniui.js"></script>
- <script><{Dever::script()}></script>
- <script src="../script/dever/core.js"></script>
- <script type="text/javascript" src="../script/lib/valid/jquery.validationEngine.min.js?v3"></script>
- <script type="text/javascript" src="../script/lib/layui/upload.js?v226"></script>
- <script type="text/javascript" src="../script/lib/datetime/jquery.datetimepicker.min.js?v2"></script>
- <script type="text/javascript" src="../script/lib/clipboard/clipboard.js?v11"></script>
- <script type="text/javascript" src="../script/lib/highlight/highlight.min.js"></script>
- <script type="text/javascript" src="../script/lib/fancybox/jquery.fancybox.js"></script>
- <script src="../script/lib/manage/main.js?v82"></script>
- <script type="text/javascript" src="../script/lib/pic/webp.js"></script>
- <script type="text/javascript" src="../script/lib/color/colpick.js"></script>
- <script type="text/javascript" src="../script/lib/kindeditor/kindeditor-all-min.js?v9"></script>
- <script type="text/javascript" src="../script/lib/kindeditor/lang/zh-CN.js?v7"></script>
- <script type="text/javascript" src="../script/lib/ui/ui.min.js"></script>
- <script type="text/javascript" src="../script/lib/qiniu/upload/plupload.full.min.js"></script>
- <script type="text/javascript" src="../script/lib/qiniu/qiniu.upload.js"></script>
- <script type="text/javascript" src="../script/lib/oss/aliyun-oss-sdk-6.11.2.min.js"></script>
- <script type="text/javascript" src="../script/lib/tool/md5.js"></script>
- <script type="text/javascript" src="../script/lib/layui/upload.js?v226"></script>
- <script type="text/javascript" src="../script/lib/layui/layui.js"></script>
- <script type="text/javascript" src="../script/lib/clipboard/clipboard.js"></script>
- <script type="text/javascript" src="../script/lib/pic/holder.js"></script>
- <script type="text/javascript" src="../script/lib/excel/xlsx.min.js"></script>
- <script type="text/javascript" src="../script/lib/excel/excel.js?v16"></script>
- <style>
- body{
- background:white;
- /*padding-left: 10px;*/
- height:100%;
- }
- .layout{
- width: 100%;
- height: 100%;
- /*display: flex;*/
- justify-content : space-around;
- font-size:14px;
- }
- h3{
- margin-top: 20px;
- margin-bottom: 20px;
- margin-left: 20px;
- }
- .layui-elem-quote{
- margin-left:20px;
- }
- .cate{
- height:38px;
- border-width: 1px;
- border-radius:2px;
- line-height: 1.3;
- }
- .type{
- height:38px;
- border-width: 1px;
- border-radius:2px;
- line-height: 1.3;
- }
- input{
- margin-top: 5px;
- margin-bottom: 5px;
- margin-left: 5px;
- }
- a{
- margin-top:5px;
- /*margin-left: 10px;*/
- margin-bottom: 5px;
- }
- .biaoti{
- margin-top: 50px;
- }
- </style>
- </head>
- <body>
- <div class="layout">
- <div class="layui-card">
- <div><h3>厨人意料管理平台-商品销售相关数据</h3></div>
- <blockquote class="layui-elem-quote">
- <select class = 'cate'>
- <option class = 'cate' value="-1">选择店铺类型</option>
- <option class = 'cate' value="1">体验店</option>
- <option class = 'cate' value="2">平台商城</option>
- </select>
- <input type="text" value="" autocomplete="shop_name" id="shop_name" class="layui-input" style="width: auto;display: inline;" placeholder="门店名称">
- <input type="text" value="" autocomplete="goods_name" id="goods_name" class="layui-input" style="width: auto;display: inline;" placeholder="商品名称">
- <input type="text" value="" autocomplete="order_num" id="order_num" class="layui-input" style="width: auto;display: inline;" placeholder="订单号">
- <!-- <br/>下单时间: -->
- <input type="text" value="" autocomplete="order" id="date" class="layui-input" style="width: auto;display: inline;" placeholder="下单时间">
- <!-- 发货时间: -->
- <input type="text" value="" autocomplete="fa" id="fa" class="layui-input" style="width: auto;display: inline;" placeholder="发货时间">
- <!-- 完成时间: -->
- <input type="text" value="" autocomplete="finish" id="fi" class="layui-input" style="width: auto;display: inline;" placeholder="完成时间">
-
- <br/>
- <a href="javascript:;" class="layui-btn" id="search">数据导出</a>
- </blockquote>
- <div class="biaoti"><h3>厨人意料管理平台-代理商系统权益数据汇总</h3></div>
- <blockquote class="layui-elem-quote">
- <input type="text" value="" autocomplete="dh_name" id="dh_name" class="layui-input" style="width: auto;display: inline;" placeholder="权益名称">
- <input type="text" value="" autocomplete="member_name" id="member_name" class="layui-input" style="width: auto;display: inline;" placeholder="姓名">
- <input type="text" value="" autocomplete="mobile" id="mobile" class="layui-input" style="width: auto;display: inline;" placeholder="手机号">
- <input type="text" value="" autocomplete="card_num" id="card_num" class="layui-input" style="width: auto;display: inline;" placeholder="卡号">
- <input type="text" value="" autocomplete="getday" id="getday" class="layui-input" style="width: auto;display: inline;" placeholder="获取时间">
- <input type="text" value="" autocomplete="regday" id="regday" class="layui-input" style="width: auto;display: inline;" placeholder="代理商注册时间">
- <input type="text" value="" autocomplete="cardday" id="cardday" class="layui-input" style="width: auto;display: inline;" placeholder="礼品卡有效期">
- <br/>
- <a href="javascript:;" class="layui-btn" id="out">数据导出</a>
- </blockquote>
- <div class="biaoti"><h3>厨人意料管理平台-代理商系统权益数据明细</h3></div>
- <blockquote class="layui-elem-quote">
- <select class = 'type'>
- <option class = 'type' value="-1">选择类型</option>
- <option class = 'type' value="1">发放权益</option>
- <option class = 'type' value="2">兑换权益</option>
- <option class = 'type' value="3">使用权益</option>
- </select>
- <input type="text" value="" autocomplete="dh_name" id="dh_names" class="layui-input" style="width: auto;display: inline;" placeholder="权益名称">
- <input type="text" value="" autocomplete="mobile" id="mobiles" class="layui-input" style="width: auto;display: inline;" placeholder="手机号">
- <input type="text" value="" autocomplete="card_num" id="card_nums" class="layui-input" style="width: auto;display: inline;" placeholder="卡号">
- <input type="text" value="" autocomplete="shop_num" id="shop_nums" class="layui-input" style="width: auto;display: inline;" placeholder="门店编号">
- <input type="text" value="" autocomplete="shop_name" id="shop_names" class="layui-input" style="width: auto;display: inline;" placeholder="门店名称">
- <!-- <br/> -->
- <input type="text" value="" autocomplete="order_num" id="order_nums" class="layui-input" style="width: auto;display: inline;" placeholder="关联平台商城订单号">
- <input type="text" value="" autocomplete="day" id="day" class="layui-input" style="width: auto;display: inline;" placeholder="日期">
- <br/>
- <a href="javascript:;" class="layui-btn" id="out_mingxi">数据导出</a>
- </blockquote>
- </div>
- </div>
- <script>
- layui.use(['form','element', 'layer', 'jquery', 'laydate'], function(){
- var form = layui.form;
- var laydate = layui.laydate;
- laydate.render({
- elem: '#date',
- range: '~'
- });
- laydate.render({
- elem: '#fa',
- range: '~'
- });
- laydate.render({
- elem: '#fi',
- range: '~'
- });
- laydate.render({
- elem: '#getday',
- range: '~'
- });
- laydate.render({
- elem: '#regday',
- range: '~'
- });
- laydate.render({
- elem: '#cardday',
- range: '~'
- });
- laydate.render({
- elem: '#day',
- range: '~'
- });
- });
- function search()
- {
- var date = $('#date').val();
- var fa = $('#fa').val();
- var fi = $('#fi').val();
- if (date) {
- var s = date.split(' ~ ');
- } else {
- var s = [];
- s[0] = '';
- s[1] = '';
- }
- if (fa) {
- var a = fa.split(' ~ ');
- } else {
- var a = [];
- a[0] = '';
- a[1] = '';
- }
- if (fi) {
- var f = fi.split(' ~ ');
- } else {
- var f = [];
- f[0] = '';
- f[1] = '';
- }
- cate = $(".cate").val();
- order_num = $('#order_num').val();
- goods_name = $('#goods_name').val();
- shop_name = $('#shop_name').val();
- var link = config.host + 'lib/manage.list&start=' + s[0] + '&end=' + s[1] + '&fastart=' + a[0] + '&faend=' + a[1] + '&fstart=' + f[0] + '&fend=' + f[1] + '&cate=' + cate + '&order_num=' + order_num + '&shop_name=' + shop_name + '&goods_name=' + goods_name + '&list_excel=1';
- jump(link);
- }
- $('#search').click(function() {
- search();
- })
- function out()
- {
- var getday = $('#getday').val();
- var regday = $('#regday').val();
- var cardday = $('#cardday').val();
- if (getday) {
- var g = getday.split(' ~ ');
- } else {
- var g = [];
- g[0] = '';
- g[1] = '';
- }
- if (regday) {
- var r = regday.split(' ~ ');
- } else {
- var r= [];
- r[0] = '';
- r[1] = '';
- }
- if (cardday) {
- var c = cardday.split(' ~ ');
- } else {
- var c = [];
- c[0] = '';
- c[1] = '';
- }
- dh_name = $("#dh_name").val();
- member_name = $("#member_name").val();
- card_num = $('#card_num').val();
- mobile = $('#mobile').val();
- var link = config.host + 'lib/manage.memberGoods&start=' + g[0] + '&end=' + g[1] + '&rstart=' + r[0] + '&rend=' + r[1] + '&cstart=' + c[0] + '&cend=' + c[1] + '&name=' + dh_name + '&card_num=' + card_num + '&mobile=' + mobile + '&member_name=' + member_name+'&list_excel=1';
- jump(link);
- }
- $('#out').click(function() {
- out();
- })
- function out_mingxi()
- {
- var day = $('#day').val();
- if (day) {
- var d = day.split(' ~ ');
- } else {
- var d = [];
- d[0] = '';
- d[1] = '';
- }
- dh_name = $("#dh_names").val();
- shop_name = $("#shop_names").val();
- card_num = $('#card_nums').val();
- shop_num = $('#shop_nums').val();
- order_num = $('#order_nums').val();
- mobile = $('#mobiles').val();
- type = $('.type').val();
- var link = config.host + 'lib/manage.mingxi&start=' + d[0] + '&end=' + d[1] + '&name=' + dh_name + '&card_num=' + card_num + '&mobile=' + mobile + '&shop_name=' + shop_name + '&shop_num=' + shop_num + '&order_num=' + order_num + '&type=' + type + '&list_excel=1';
- jump(link);
- }
- $('#out_mingxi').click(function() {
- out_mingxi();
- })
- </script>
- </body>
- </html>
|