Commit 84e4ce39 by 朱继来

待审核时显示商品删除按钮,其他状态下隐藏

parent 5b2f023a
Showing with 2 additions and 2 deletions
......@@ -312,7 +312,7 @@
<th>供应商</th>
<?php
if ($action_name == 'changeOrder' && count($order_items_info) > 1) {
if ($action_name == 'changeOrder' && count($order_items_info) > 1 && $order_info['status'] == 1) {
echo '<th>操作</th>';
}
?>
......@@ -335,7 +335,7 @@
<td>{{$v['delivery_time']}}</td>
<td>{{$v['supplier_name']}}</td>
@if ($action_name == 'changeOrder' && count($order_items_info) > 1)
@if ($action_name == 'changeOrder' && count($order_items_info) > 1 && $order_info['status'] == 1)
<td><a class="btn btn-danger deletegoods" href="javascript:;" data-id="{{$v['rec_id']}}">删除</a></td>
@endif
</tr>
......
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