077e18cdaff17ed2845d93b4d1f71244.php 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?php /*a:3:{s:68:"/data/web/mall.valimart.net/app/admin/view/refund/refund_manage.html";i:1657785098;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('refund_manage')); ?></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="explanation" id="explanation">
  47. <div class="title" id="checkZoom">
  48. <h4 title="<?php echo htmlentities(lang('ds_explanation_tip')); ?>"><?php echo htmlentities(lang('ds_explanation')); ?></h4>
  49. <span id="explanationZoom" title="<?php echo htmlentities(lang('ds_explanation_close')); ?>" class="arrow"></span>
  50. </div>
  51. <ul>
  52. <li><?php echo htmlentities(lang('refund_manage_help1')); ?></li>
  53. </ul>
  54. </div>
  55. <form method="get">
  56. <div class="ds-search-form">
  57. <dl>
  58. <dt>
  59. <select name="type">
  60. <option value="order_sn" <?php if(app('request')->param('type') == 'order_sn'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('ds_order_sn')); ?></option>
  61. <option value="refund_sn" <?php if(app('request')->param('type') == 'refund_sn'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('ds_refund_sn')); ?></option>
  62. <option value="store_name" <?php if(app('request')->param('type') == 'store_name'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('ds_store_name')); ?></option>
  63. <option value="goods_name" <?php if(app('request')->param('type') == 'goods_name'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('ds_goods_name')); ?></option>
  64. <option value="buyer_name" <?php if(app('request')->param('type') == 'buyer_name'): ?>selected<?php endif; ?>><?php echo htmlentities(lang('ds_buyer_name')); ?></option>
  65. </select>
  66. </dt>
  67. <dd><input type="text" class="text" name="key" value="<?php echo htmlentities(app('request')->param('key')); ?>" /></dd>
  68. </dl>
  69. <dl>
  70. <dt><?php echo htmlentities(lang('refund_order_add_time')); ?></dt>
  71. <dd>
  72. <input class="txt date" type="text" value="<?php echo htmlentities(app('request')->param('add_time_from')); ?>" id="add_time_from" name="add_time_from">
  73. ~
  74. <input class="txt date" type="text" value="<?php echo htmlentities(app('request')->param('add_time_to')); ?>" id="add_time_to" name="add_time_to"/>
  75. </dd>
  76. </dl>
  77. <div class="btn_group">
  78. <input type="submit" class="btn" value="<?php echo htmlentities(lang('ds_search')); ?>">
  79. <a href="<?php echo url('Refund/refund_manage'); ?>" class="btn btn-default" title="<?php echo htmlentities(lang('ds_cancel')); ?>"><?php echo htmlentities(lang('ds_cancel')); ?></a>
  80. </div>
  81. </div>
  82. </form>
  83. <table class="ds-default-table">
  84. <thead>
  85. <tr class="thead">
  86. <th><?php echo htmlentities(lang('ds_order_sn')); ?></th>
  87. <th><?php echo htmlentities(lang('ds_refund_sn')); ?></th>
  88. <th><?php echo htmlentities(lang('ds_store_name')); ?></th>
  89. <th><?php echo htmlentities(lang('ds_goods_name')); ?></th>
  90. <th><?php echo htmlentities(lang('ds_buyer_name')); ?></th>
  91. <th class="align-center"><?php echo htmlentities(lang('refund_buyer_add_time')); ?></th>
  92. <th class="align-center"><?php echo htmlentities(lang('refund_seller_time')); ?></th>
  93. <th class="align-center"><?php echo htmlentities(lang('refund_order_refund')); ?></th>
  94. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  95. </tr>
  96. </thead>
  97. <?php if(!(empty($refund_list) || (($refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator ) && $refund_list->isEmpty()))): ?>
  98. <tbody>
  99. <?php if(is_array($refund_list) || $refund_list instanceof \think\Collection || $refund_list instanceof \think\Paginator): if( count($refund_list)==0 ) : echo "" ;else: foreach($refund_list as $key=>$val): ?>
  100. <tr class="bd-line" >
  101. <td><?php echo htmlentities($val['order_sn']); ?></td>
  102. <td><?php echo htmlentities($val['refund_sn']); ?></td>
  103. <td><?php echo htmlentities($val['store_name']); ?></td>
  104. <td><?php echo htmlentities($val['goods_name']); ?></td>
  105. <td><?php echo htmlentities($val['buyer_name']); ?></td>
  106. <td class="align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($val['add_time'])? strtotime($val['add_time']) : $val['add_time'])); ?></td>
  107. <td class="align-center"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($val['seller_time'])? strtotime($val['seller_time']) : $val['seller_time'])); ?></td>
  108. <td class="align-center"><?php echo htmlentities($val['refund_amount']); ?></td>
  109. <td class="align-center">
  110. <a href="javascript:dsLayerOpen('<?php echo url('Refund/edit',['refund_id'=>$val['refund_id']]); ?>','<?php echo htmlentities(lang('refund_order')); ?>-<?php echo htmlentities($val['order_sn']); ?>')" class="dsui-btn-add"><?php echo htmlentities(lang('ds_verify')); ?></a>
  111. </td>
  112. </tr>
  113. <?php endforeach; endif; else: echo "" ;endif; ?>
  114. </tbody>
  115. <?php else: ?>
  116. <tbody>
  117. <tr class="no_data">
  118. <td colspan="20"><?php echo htmlentities(lang('no_record')); ?></td>
  119. </tr>
  120. </tbody>
  121. <?php endif; ?>
  122. </table>
  123. <?php echo $show_page; ?>
  124. </div>
  125. <script type="text/javascript">
  126. $(function() {
  127. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  128. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  129. });
  130. </script>