You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

138 lines
4.6 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. @extends('admin.layouts.app')
  2. @section('title', '订单列表')
  3. @section('content')
  4. <script language="javascript" type="text/javascript" src="http://<?php echo env('APP_DOMAIN'); ?>/js/My97DatePicker/WdatePicker.js"></script>
  5. <div class="bg-info" style="margin:10px 0;padding:10px;">
  6. <div class="form-inline">
  7. <div class="form-group">
  8. 当前可执行操作:
  9. </div>
  10. <button class="btn btn-info" onclick="show_search()">发货</button>
  11. <button class="btn btn-success">设为已付款</button>
  12. <button class="btn btn-danger" onclick="show_search()">设为无效</button>
  13. <button class="btn btn-warning" onclick="javascript:history.back(-1);">返回</button>
  14. </div>
  15. <div style="clear:both;"></div>
  16. </div>
  17. <h3 class="sub-header">基本信息</h3>
  18. <!-- 表格开始 -->
  19. <div class="table-responsive"><table class="table table-hover table-bordered">
  20. <thead><tr class="info">
  21. <th>订单编号</th>
  22. <th>订单状态</th>
  23. <th>下单人</th>
  24. <th>下单时间</th>
  25. <th>支付方式</th>
  26. <th>支付时间</th>
  27. <th>配送方式</th>
  28. <th>快递单号</th>
  29. <th>发货时间</th>
  30. </tr></thead>
  31. <tbody>
  32. <tr>
  33. <td><?php echo $post['order_sn']; ?></td>
  34. <td><font color="red"><?php echo $post['order_status_text']; ?></font></td>
  35. <td><?php if($post['user']['mobile']){echo $post['user']['mobile'];}else{echo $post['user']['user_name'];} ?></td>
  36. <td><?php echo date('Y-m-d H:i:s',$post['add_time']); ?></td>
  37. <td><?php echo $post['pay_name']; ?></td>
  38. <td><?php if($post['pay_time']){echo date('Y-m-d H:i:s',$post['pay_time']);} ?></td>
  39. <td><?php echo $post['shipping_name']; ?></td>
  40. <td><?php echo $post['shipping_sn']; ?></td>
  41. <td><?php if($post['shipping_time']){echo date('Y-m-d H:i:s',$post['shipping_time']);} ?></td>
  42. </tr>
  43. <tr>
  44. <td colspan="1">订单来源:<?php echo $post['place_type_text']; ?></td>
  45. <td colspan="8">客户留言:<?php echo $post['message']; ?></td>
  46. </tr>
  47. </tbody>
  48. </table></div><!-- 表格结束 -->
  49. <h3 class="sub-header">收货人信息</h3>
  50. <!-- 表格开始 -->
  51. <div class="table-responsive"><table class="table table-hover table-bordered">
  52. <thead><tr class="info">
  53. <th>收货人姓名</th>
  54. <th>电话</th>
  55. <th>详细地址</th>
  56. </tr></thead>
  57. <tbody>
  58. <tr>
  59. <td><?php echo $post['name']; ?></td>
  60. <td><?php echo $post['mobile']; ?></td>
  61. <td><?php echo $post['province_name'].$post['city_name'].$post['district_name'].' '.$post['address']; ?></td>
  62. </tr>
  63. </tbody>
  64. </table></div><!-- 表格结束 -->
  65. <h3 class="sub-header">商品信息</h3>
  66. <!-- 表格开始 -->
  67. <div class="table-responsive"><table class="table table-striped table-hover table-bordered">
  68. <thead><tr class="info">
  69. <th>商品缩略图</th>
  70. <th>商品名称</th>
  71. <th>商品价格</th>
  72. <th>数量</th>
  73. <th>合计</th>
  74. <th>退货/退款</th>
  75. <th>退货退款理由</th>
  76. </tr></thead>
  77. <tbody>
  78. <?php if($post['goodslist']){foreach($post['goodslist'] as $k=>$v){ ?>
  79. <tr>
  80. <td width="98px"><img src="<?php echo $v['goods_img']; ?>" style="width:80px;height:60px;"></td>
  81. <td><?php echo $v['goods_name']; ?></td>
  82. <td><?php echo $v['goods_price']; ?></td>
  83. <td><?php echo $v['goods_number']; ?></td>
  84. <td><font color="red"><?php echo $v['goods_price']*$v['goods_number']; ?></font></td>
  85. <td><?php echo $v['refund_status_text']; ?></td>
  86. <td><?php echo $v['refund_reason']; ?></td>
  87. </tr>
  88. <?php }} ?>
  89. </tbody>
  90. </table></div><!-- 表格结束 -->
  91. <?php if(empty($post['invoice']) || $post['invoice']!=0){ ?>
  92. <h3 class="sub-header">发票信息</h3>
  93. <!-- 表格开始 -->
  94. <div class="table-responsive"><table class="table table-hover table-bordered">
  95. <thead><tr class="info">
  96. <th>发票类型</th>
  97. <th>发票抬头</th>
  98. <th>纳税人识别号</th>
  99. </tr></thead>
  100. <tbody>
  101. <tr>
  102. <td><?php echo $post['invoice_text']; ?></td>
  103. <td><?php echo $post['invoice_title']; ?></td>
  104. <td><?php echo $post['invoice_taxpayer_number']; ?></td>
  105. </tr>
  106. </tbody>
  107. </table></div><!-- 表格结束 -->
  108. <?php } ?>
  109. <h3 class="sub-header">费用结算</h3>
  110. <!-- 表格开始 -->
  111. <div class="table-responsive"><table class="table table-hover table-bordered">
  112. <thead><tr class="info">
  113. <th>商品总金额</th>
  114. <th>邮费</th>
  115. <th>优惠券</th>
  116. <th>积分</th>
  117. <th>其它费用</th>
  118. <th>应付金额</th>
  119. </tr></thead>
  120. <tbody>
  121. <tr>
  122. <td><?php echo $post['goods_amount']; ?></td>
  123. <td>+<?php echo $post['shipping_fee']; ?></td>
  124. <td>-<?php echo $post['bonus_money']; ?></td>
  125. <td>-<?php echo $post['integral_money']; ?></td>
  126. <td>-<?php echo $post['discount']; ?></td>
  127. <td><font color="red"><?php echo $post['order_amount']; ?></font></td>
  128. </tr>
  129. </tbody>
  130. </table></div><!-- 表格结束 -->
  131. @endsection