index.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <extend name="Public:base" />
  2. <block name="content">
  3. <div class="col-xs-12">
  4. <div class="panel panel-info">
  5. <div class="panel-heading">筛选</div>
  6. <form name="order_search" method="get" >
  7. <div class="panel-body">
  8. <div class="col-xs-12 search-row">
  9. <div class="col-sm-3">
  10. <span class="form-label">所属商家:</span>
  11. <select name="seller_id" class="combox select_width">
  12. <option value="0">-全部-</option>
  13. <?php foreach($seller_list as $seller){ ?>
  14. <option value="<?php echo $seller['s_id']; ?>" <?php if(isset($post_data['seller_id']) && $post_data['seller_id'] == $seller['s_id']){ ?> selected <?php }?>><?php echo $seller['s_true_name']; ?></option>
  15. <?php } ?>
  16. </select>
  17. </div>
  18. <div class="col-sm-3">
  19. <span class="form-label">开始时间:</span>
  20. <input type="text" name="begin_time" value="<?php if(!empty($post_data['begin_time'])){ echo $post_data['begin_time']; } ?>" id="begin_time" class="datetimepicker data_input">
  21. </div>
  22. <div class="col-sm-3">
  23. <span class="form-label">结束时间:</span>
  24. <input type="text" name="end_time" value="<?php if(!empty($post_data['end_time'])){ echo $post_data['end_time']; } ?>" id="end_time" class="datetimepicker data_input">
  25. </div>
  26. <div class="col-sm-3">
  27. <input type="hidden" name="c" value="Balance" />
  28. <button type="submit" name="subtype" value="search" class="btn btn-white btn-search"> <i class="icon-search"></i> 检 索 </button>
  29. </div>
  30. </div>
  31. </div>
  32. </form>
  33. </div>
  34. </div>
  35. <div class="row">
  36. <div class="col-xs-12">
  37. <div class="table-responsive">
  38. <table class="table table-striped table-bordered table-hover">
  39. <thead>
  40. <tr>
  41. <th>ID</th>
  42. <th>卖家</th>
  43. <th>可提现金额</th>
  44. <th>结算日期</th>
  45. <th>总金额</th>
  46. <th>结算金额</th>
  47. <th>扣除金额</th>
  48. <th>结算状态</th>
  49. <th>收款银行</th>
  50. <th>收款账号</th>
  51. <th>操作</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <volist name="list" id="data" empty="$empty">
  56. <tr>
  57. <td>{$data.bid}</td>
  58. <td>
  59. <?php echo $data['seller']['s_true_name']; ?>
  60. </td>
  61. <td>
  62. <?php echo $seller_money_arr[$data['seller_id']]['money']; ?> 元
  63. </td>
  64. <td>
  65. <?php echo date('Y-m-d H:i:s',$data['balance_time']); ?>
  66. </td>
  67. <td><?php echo $data['money']+$data['redusmoney']; ?>元</td>
  68. <td>{$data.money}元</td>
  69. <td>{$data.redusmoney}元</td>
  70. <td>
  71. <?php if($data['state'] == 0){ ?>
  72. <span class="blue">商家未确认</span>
  73. <?php }else if($data['state'] == 1){ ?>
  74. <span class="red">商家已确认,平台准备审核</span>
  75. <?php }else if($data['state'] == 2){ ?>
  76. <span class="green">平台已确认,资金转入余额</span>
  77. <?php } ?>
  78. </td>
  79. <td>
  80. <?php echo $data['seller']['s_cardname']; ?>
  81. </td>
  82. <td>
  83. <?php echo $data['seller']['s_cardnumber']; ?>
  84. </td>
  85. <td>
  86. <?php if($data['state'] == 1){ ?>
  87. <a class="delete btn btn-xs btn-danger" href='{:U("Balance/suremoney",array("bid"=>$data["bid"]))}' >
  88. <i class="icon-edit bigger-120">确认无误</i>
  89. </a>
  90. <?php } ?>
  91. <a class="btn btn-xs btn-info" href='{:U("Balance/orderlook",array("bid"=>$data["bid"]))}'>
  92. <i class="icon-edit bigger-120">查看结算详情</i>
  93. </a>
  94. </td>
  95. </tr>
  96. </volist>
  97. <tr>
  98. <td colspan="20" class="page">{$page}</td>
  99. </tr>
  100. </tbody>
  101. </table>
  102. </div>
  103. </div>
  104. </div>
  105. </block>
  106. <block name="javascript">
  107. <script src="__PUBLIC__/js/moment/moment.js"></script>
  108. <script src="__PUBLIC__/js/moment/locale/zh-cn.js"></script>
  109. <script src="__PUBLIC__/js/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js"></script>
  110. <link rel="stylesheet" href="__PUBLIC__/js/bootstrap-timepicker/css/bootstrap-timepicker.css" />
  111. <script>
  112. $(function(){
  113. $('#begin_time').datetimepicker({
  114. format: 'YYYY/MM/DD H:mm:ss',//use this option to display seconds
  115. icons: {
  116. time: 'btn btn-lg icon-time',
  117. date: 'btn btn-lg icon-calendar',
  118. up: 'fa icon-chevron-up',
  119. down: 'fa icon-chevron-down',
  120. previous: 'fa icon-chevron-left',
  121. next: 'fa icon-chevron-right',
  122. today: 'fa icon-arrows ',
  123. clear: 'fa icon-trash',
  124. close: 'fa icon-times'
  125. }
  126. }).next().on(ace.click_event, function(){
  127. $(this).prev().focus();
  128. });
  129. $('#end_time').datetimepicker({
  130. format: 'YYYY/MM/DD H:mm:ss',//use this option to display seconds
  131. icons: {
  132. time: 'btn btn-lg icon-time',
  133. date: 'btn btn-lg icon-calendar',
  134. up: 'fa icon-chevron-up',
  135. down: 'fa icon-chevron-down',
  136. previous: 'fa icon-chevron-left',
  137. next: 'fa icon-chevron-right',
  138. today: 'fa icon-arrows ',
  139. clear: 'fa icon-trash',
  140. close: 'fa icon-times'
  141. }
  142. }).next().on(ace.click_event, function(){
  143. $(this).prev().focus();
  144. });
  145. })
  146. </script>
  147. </block>