cd03ab4f53ba6343f6d8e06a053a359e.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/bill/show_statis.html";i:1670990108;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('bill_billing_list')); ?></h3>
  36. </div>
  37. <?php if($admin_item): ?>
  38. <ul class="tab-base ds-row">
  39. <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
  40. <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
  41. <?php endforeach; endif; else: echo "" ;endif; ?>
  42. </ul>
  43. <?php endif; ?>
  44. </div>
  45. </div>
  46. <div class="fixed-empty"></div>
  47. <form method="get" action="" name="formSearch" id="formSearch">
  48. <div class="ds-search-form">
  49. <dl>
  50. <dt><?php echo htmlentities(lang('ds_store_name')); ?>ID/<?php echo htmlentities(lang('bill_store_name')); ?></dt>
  51. <dd><input class="txt-short" type="text" value="<?php echo htmlentities(app('request')->param('query_store')); ?>" name="query_store" id="query_store"/></dd>
  52. </dl>
  53. <dl>
  54. <dt><?php echo htmlentities(lang('bill_state')); ?></dt>
  55. <dd>
  56. <select name="bill_state">
  57. <option><?php echo htmlentities(lang('ds_please_choose')); ?></option>
  58. <option <?php if(app('request')->param('bill_state') == BILL_STATE_CREATE): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_CREATE); ?>"><?php echo htmlentities(lang('bill_state_create')); ?></option>
  59. <option <?php if(app('request')->param('bill_state') == BILL_STATE_STORE_COFIRM): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_STORE_COFIRM); ?>"><?php echo htmlentities(lang('bill_srate_store_cofirm')); ?></option>
  60. <option <?php if(app('request')->param('bill_state') == BILL_STATE_SUCCESS): ?>selected<?php endif; ?> value="<?php echo htmlentities(BILL_STATE_SUCCESS); ?>"><?php echo htmlentities(lang('bill_state_success')); ?></option>
  61. </select>
  62. </dd>
  63. </dl>
  64. <div class="btn_group">
  65. <a href="javascript:document.formSearch.submit();" class="btn " title="<?php echo htmlentities(lang('ds_query')); ?>"><?php echo htmlentities(lang('ds_query')); ?></a>
  66. <a href="<?php echo url('Bill/show_statis'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  67. <a class="btn" href="javascript:export_xls('<?php echo url('Bill/export_zd_step1'); ?>')"><span><?php echo htmlentities(lang('ds_export')); ?>Excel</span></a>
  68. </div>
  69. </div>
  70. </form>
  71. <div class="explanation" id="explanation">
  72. <div class="title" id="checkZoom">
  73. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  74. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  75. </div>
  76. <ul>
  77. <li><?php echo htmlentities(lang('bill_show_statis_help1')); ?></li>
  78. <li><?php echo htmlentities(lang('bill_show_statis_help2')); ?></li>
  79. </ul>
  80. </div>
  81. <table class="ds-default-table">
  82. <thead>
  83. <tr class="thead">
  84. <th><?php echo htmlentities(lang('bill_ob_no')); ?></th>
  85. <th class="align-center"><?php echo htmlentities(lang('bill_os_startdate')); ?></th>
  86. <th class="align-center"><?php echo htmlentities(lang('bill_os_enddate')); ?></th>
  87. <th class="align-center"><?php echo htmlentities(lang('order_price_from')); ?></th>
  88. <th class="align-center"><?php echo htmlentities(lang('order_total_transport')); ?></th>
  89. <th class="align-center"><?php echo htmlentities(lang('bill_print_commision')); ?></th>
  90. <th class="align-center"><?php echo htmlentities(lang('bill_ob_order_return_totals')); ?></th>
  91. <th class="align-center"><?php echo htmlentities(lang('bill_os_commis_returntotals')); ?></th>
  92. <th class="align-center"><?php echo htmlentities(lang('ob_inviter_totals')); ?></th>
  93. <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_order_totals')); ?></th>
  94. <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_order_return_totals')); ?></th>
  95. <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_commis_totals')); ?></th>
  96. <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_commis_return_totals')); ?></th>
  97. <th class="align-center"><?php echo htmlentities(lang('bill_ob_vr_inviter_totals')); ?></th>
  98. <th class="align-center"><?php echo htmlentities(lang('bill_os_store_costtotals')); ?></th>
  99. <th class="align-center"><?php echo htmlentities(lang('bill_os_mallvoucher_totals')); ?></th>
  100. <th class="align-center"><?php echo htmlentities(lang('bill_os_result_totals')); ?></th>
  101. <th class="align-center"><?php echo htmlentities(lang('bill_out_date')); ?></th>
  102. <th class="align-center"><?php echo htmlentities(lang('bill_state')); ?></th>
  103. <th class="align-center"><?php echo htmlentities(lang('ds_store_name')); ?></th>
  104. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  105. </tr>
  106. </thead>
  107. <tbody>
  108. <?php if(!(empty($bill_list) || (($bill_list instanceof \think\Collection || $bill_list instanceof \think\Paginator ) && $bill_list->isEmpty()))): if(is_array($bill_list) || $bill_list instanceof \think\Collection || $bill_list instanceof \think\Paginator): if( count($bill_list)==0 ) : echo "" ;else: foreach($bill_list as $key=>$bill_info): ?>
  109. <tr class="hover">
  110. <td><?php echo htmlentities($bill_info['ob_no']); ?></td>
  111. <td class="nowrap align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_startdate'])? strtotime($bill_info['ob_startdate']) : $bill_info['ob_startdate'])); ?></td>
  112. <td class="nowrap align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_enddate'])? strtotime($bill_info['ob_enddate']) : $bill_info['ob_enddate'])); ?></td>
  113. <td class="align-center"><?php echo htmlentities($bill_info['ob_order_totals']); ?></td>
  114. <td class="align-center"><?php echo htmlentities($bill_info['ob_shipping_totals']); ?></td>
  115. <td class="align-center"><?php echo htmlentities($bill_info['ob_commis_totals']); ?></td>
  116. <td class="align-center"><?php echo htmlentities($bill_info['ob_order_return_totals']); ?></td>
  117. <td class="align-center"><?php echo htmlentities($bill_info['ob_commis_return_totals']); ?></td>
  118. <td class="align-center"><?php echo htmlentities($bill_info['ob_inviter_totals']); ?></td>
  119. <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_order_totals']); ?></td>
  120. <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_order_return_totals']); ?></td>
  121. <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_commis_totals']); ?></td>
  122. <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_commis_return_totals']); ?></td>
  123. <td class="align-center"><?php echo htmlentities($bill_info['ob_vr_inviter_totals']); ?></td>
  124. <td class="align-center"><?php echo htmlentities($bill_info['ob_store_cost_totals']); ?></td>
  125. <td class="align-center"><?php echo htmlentities($bill_info['ob_mall_voucher_totals']); ?></td>
  126. <td class="align-center"><?php echo htmlentities($bill_info['ob_result_totals']); ?></td>
  127. <td class="align-center"><?php echo htmlentities(date('Y-m-d',!is_numeric($bill_info['ob_createdate'])? strtotime($bill_info['ob_createdate']) : $bill_info['ob_createdate'])); ?></td>
  128. <td class="align-center"><?php echo get_bill_state($bill_info['ob_state']); ?></td>
  129. <td class="align-center"><?php echo htmlentities($bill_info['ob_store_name']); ?><br/>id:<?php echo htmlentities($bill_info['ob_store_id']); ?></td>
  130. <td class="align-center">
  131. <a href="javascript:dsLayerOpen('<?php echo url('Bill/show_bill',['ob_no'=>$bill_info['ob_no']]); ?>','<?php echo htmlentities(lang('ds_view')); ?>-<?php echo htmlentities($bill_info['ob_no']); ?>')" class="dsui-btn-view"><i class="iconfont"></i><?php echo htmlentities(lang('ds_view')); ?></a>
  132. </td>
  133. </tr>
  134. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  135. <tr class="no_data">
  136. <td colspan="19"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  137. </tr>
  138. <?php endif; ?>
  139. </tbody>
  140. </table>
  141. <div><?php echo $show_page; ?></div>
  142. </div>
  143. <script type="text/javascript">
  144. $(function(){
  145. $('#bill_month').datepicker({dateFormat:'yy-mm'});
  146. });
  147. </script>