option_nopay.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>代理商期权待交付</title>
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="format-detection" content="telephone=no">
  12. <link rel="stylesheet" type="text/css" href="../script/lib/layui/css/layui.css" />
  13. <script src="../script/lib/jquery/jquery.min.js"></script>
  14. <script src="../script/lib/layui/layui.js"></script>
  15. <script src="../script/lib/echarts/echarts.common.min.js"></script>
  16. <script><{Dever::script()}></script>
  17. <script src="../script/dever/core.js"></script>
  18. <style>
  19. .dever-upload-pic
  20. {
  21. width:100px;
  22. }
  23. h5 {
  24. margin-bottom: 10px;
  25. }
  26. td {
  27. color: black;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <div class="layui-container">
  33. <div class="layui-card">
  34. <blockquote class="layui-elem-quote"><input type="text" value="<{$start}> ~ <{$end}>" autocomplete="off" id="date" class="layui-input" style="width: auto;display: inline;" placeholder="选择日期"><a href="javascript:;" class="layui-btn" id="search">搜索</a><a href="javascript:;" class="layui-btn" id="excel">数据导出</a></blockquote>
  35. <!-- <div class="layui-card-header" style="font-size: 20px"><{$day['time']}></div> -->
  36. <div class="layui-card-body">
  37. <table class="table layui-table layui-table-body" id="table">
  38. <thead id="list-thead">
  39. <tr>
  40. <th data-priority="1">用户姓名</th>
  41. <th data-priority="1">手机号</th>
  42. <th data-priority="1">身份证号</th>
  43. <th data-priority="1">软件服务费(订单)</th>
  44. <th data-priority="1">软件服务费(购买)</th>
  45. <th data-priority="1">原始期权</th>
  46. <th data-priority="1">期权赠送</th>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <{if(isset($data)):}>
  51. <{foreach($data as $k => $v):}>
  52. <tr>
  53. <td><{$v['name']}></td>
  54. <td><{$v['mobile']}></td>
  55. <td><{$v['idcard']}></td>
  56. <td><{$v['soft_cash']}></td>
  57. <td><{$v['buy_cash']}></td>
  58. <td><{$v['y_price']}></td>
  59. <td><{$v['option_price']}></td>
  60. </tr>
  61. <{endforeach}>
  62. <{endif}>
  63. </tbody>
  64. </table>
  65. <div><{$page}></div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <script>
  72. layui.use(['form','element', 'layer', 'jquery', 'laydate'], function(){
  73. var form = layui.form;
  74. var laydate = layui.laydate;
  75. laydate.render({
  76. elem: '#date',
  77. range: '~'
  78. });
  79. });
  80. function search()
  81. {
  82. var date = $('#date').val();
  83. if (date) {
  84. var s = date.split(' ~ ');
  85. } else {
  86. var s = [];
  87. s[0] = '';
  88. s[1] = '';
  89. }
  90. location.href = config.host + 'lib/manage.option_nopay&start=' + s[0] + '&end=' + s[1];
  91. }
  92. $('#search').click(function() {
  93. search();
  94. })
  95. function excel()
  96. {
  97. var date = $('#date').val();
  98. if (date) {
  99. var s = date.split(' ~ ');
  100. } else {
  101. var s = [];
  102. s[0] = '';
  103. s[1] = '';
  104. }
  105. location.href = config.host + 'lib/manage.out_option_nopay&start=' + s[0] + '&end=' + s[1];
  106. }
  107. $('#excel').click(function() {
  108. excel();
  109. })
  110. </script>
  111. </body>
  112. </html>