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.

137 lines
4.5 KiB

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. </div>
  14. <div style="clear:both;"></div>
  15. </div>
  16. <h3 class="sub-header">基本信息</h3>
  17. <!-- 表格开始 -->
  18. <div class="table-responsive"><table class="table table-hover table-bordered">
  19. <thead><tr class="info">
  20. <th>订单编号</th>
  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. </tr></thead>
  30. <tbody>
  31. <tr>
  32. <td><?php echo $post['order_sn']; ?></td>
  33. <td><font color="red"><?php echo $post['order_status_text']; ?></font></td>
  34. <td><?php if($post['user']['mobile']){echo $post['user']['mobile'];}else{echo $post['user']['user_name'];} ?></td>
  35. <td><?php echo date('Y-m-d H:i:s',$post['add_time']); ?></td>
  36. <td><?php echo $post['pay_name']; ?></td>
  37. <td><?php if($post['pay_time']){echo date('Y-m-d H:i:s',$post['pay_time']);} ?></td>
  38. <td><?php echo $post['shipping_name']; ?></td>
  39. <td><?php echo $post['shipping_sn']; ?></td>
  40. <td><?php if($post['shipping_time']){echo date('Y-m-d H:i:s',$post['shipping_time']);} ?></td>
  41. </tr>
  42. <tr>
  43. <td colspan="1">订单来源:<?php echo $post['place_type_text']; ?></td>
  44. <td colspan="8">客户留言:<?php echo $post['message']; ?></td>
  45. </tr>
  46. </tbody>
  47. </table></div><!-- 表格结束 -->
  48. <h3 class="sub-header">收货人信息</h3>
  49. <!-- 表格开始 -->
  50. <div class="table-responsive"><table class="table table-hover table-bordered">
  51. <thead><tr class="info">
  52. <th>收货人姓名</th>
  53. <th>电话</th>
  54. <th>详细地址</th>
  55. </tr></thead>
  56. <tbody>
  57. <tr>
  58. <td><?php echo $post['name']; ?></td>
  59. <td><?php echo $post['mobile']; ?></td>
  60. <td><?php echo $post['province_name'].$post['city_name'].$post['district_name'].' '.$post['address']; ?></td>
  61. </tr>
  62. </tbody>
  63. </table></div><!-- 表格结束 -->
  64. <h3 class="sub-header">商品信息</h3>
  65. <!-- 表格开始 -->
  66. <div class="table-responsive"><table class="table table-striped table-hover table-bordered">
  67. <thead><tr class="info">
  68. <th>商品缩略图</th>
  69. <th>商品名称</th>
  70. <th>商品价格</th>
  71. <th>数量</th>
  72. <th>合计</th>
  73. <th>退货/退款</th>
  74. <th>退货退款理由</th>
  75. </tr></thead>
  76. <tbody>
  77. <?php if($post['goodslist']){foreach($post['goodslist'] as $k=>$v){ ?>
  78. <tr>
  79. <td width="98px"><img src="<?php echo $v['goods_img']; ?>" style="width:80px;height:60px;"></td>
  80. <td><?php echo $v['goods_name']; ?></td>
  81. <td><?php echo $v['goods_price']; ?></td>
  82. <td><?php echo $v['goods_number']; ?></td>
  83. <td><font color="red"><?php echo $v['goods_price']*$v['goods_number']; ?></font></td>
  84. <td><?php echo $v['refund_status_text']; ?></td>
  85. <td><?php echo $v['refund_reason']; ?></td>
  86. </tr>
  87. <?php }} ?>
  88. </tbody>
  89. </table></div><!-- 表格结束 -->
  90. <?php if(empty($post['invoice']) || $post['invoice']!=0){ ?>
  91. <h3 class="sub-header">发票信息</h3>
  92. <!-- 表格开始 -->
  93. <div class="table-responsive"><table class="table table-hover table-bordered">
  94. <thead><tr class="info">
  95. <th>发票类型</th>
  96. <th>发票抬头</th>
  97. <th>纳税人识别号</th>
  98. </tr></thead>
  99. <tbody>
  100. <tr>
  101. <td><?php echo $post['invoice_text']; ?></td>
  102. <td><?php echo $post['invoice_title']; ?></td>
  103. <td><?php echo $post['invoice_taxpayer_number']; ?></td>
  104. </tr>
  105. </tbody>
  106. </table></div><!-- 表格结束 -->
  107. <?php } ?>
  108. <h3 class="sub-header">费用结算</h3>
  109. <!-- 表格开始 -->
  110. <div class="table-responsive"><table class="table table-hover table-bordered">
  111. <thead><tr class="info">
  112. <th>商品总金额</th>
  113. <th>邮费</th>
  114. <th>优惠券</th>
  115. <th>积分</th>
  116. <th>其它费用</th>
  117. <th>应付金额</th>
  118. </tr></thead>
  119. <tbody>
  120. <tr>
  121. <td><?php echo $post['goods_amount']; ?></td>
  122. <td>+<?php echo $post['shipping_fee']; ?></td>
  123. <td>-<?php echo $post['bonus_money']; ?></td>
  124. <td>-<?php echo $post['integral_money']; ?></td>
  125. <td>-<?php echo $post['discount']; ?></td>
  126. <td><font color="red"><?php echo $post['order_amount']; ?></font></td>
  127. </tr>
  128. </tbody>
  129. </table></div><!-- 表格结束 -->
  130. @endsection