Commit 25060136 by 朱继来

添加快递信息

parent 9b9e843d
......@@ -1409,6 +1409,7 @@ Class OrderController extends Controller
'order_pay_log' => $temp['data']['order_pay_log'],
'order_price_info' => $temp['data']['order_price_info'],
'order_temp_info' => $temp['data']['order_temp_info'],
'order_shipping_inside' => $temp['data']['order_shipping_inside'],
'actionLog' => $actionLog,
];
......
......@@ -544,9 +544,9 @@
@if (in_array($order_info['status'], [4, 8]) && in_array('self_order_invoice_express', $userPerms))
<a class="btn btn-default self_invoice_express" data-id="{{$order_info['order_id']}}" href="javascript:;" class="btn btn-default">填写发票快递</a>
@endif
</div>
<!-- 快递公司 -->
@if ($shippings)
<script>
var shippings = '{!! json_encode($shippings) !!}';
......@@ -554,13 +554,35 @@
var shippings_info = eval('('+shippings+')');
</script>
@endif
@endif
@if (!empty($order_shipping_inside))
<p>物流信息</p>
<div class="tabs-box">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>物流时间</th>
<th>物流信息</th>
</tr>
</thead>
<tbody>
@foreach ($order_shipping_inside as $v)
<tr>
<td>{{date('Y-m-d H:i:s', $v['create_time'])}}</td>
<td>{{$v['info']}}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
<!-- 二期处理 -->
@if (!empty($actionLog))
<p>操作记录</p>
<div class="tabs-box">
<table class="table table-bordered table-hover log">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>操作时间</th>
......@@ -569,7 +591,6 @@
</tr>
</thead>
<tbody>
@if (!empty($actionLog))
@foreach ($actionLog as $v)
<tr>
<td>{{date('Y-m-d H:i:s', $v->create_time)}}</td>
......@@ -577,12 +598,10 @@
<td>{{$v->event}}</td>
</tr>
@endforeach
@else
<tr><td colspan="3">无操作记录</td></tr>
@endif
</tbody>
</table>
</div>
@endif
</div>
<script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment