songxingwei 3 years ago
parent
commit
b055dadc65
1 changed files with 3 additions and 0 deletions
  1. 3 0
      application/store/view/order/index.html

+ 3 - 0
application/store/view/order/index.html

@@ -114,6 +114,9 @@
                 {if auth("store/order/order_status")}
                 <a data-title="订单记录" class="layui-btn layui-btn-sm" data-modal='{:url("order_status")}?id={$vo.id}'>订单记录</a>
                 {/if}
+                {if auth("store/order/del")}
+                <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除数据吗?" data-action="{:url('del')}" data-value="id#{$vo.id}">删 除</a>
+                {/if}
                 {if $vo.status eq 0 || $vo.status eq 1}
                 {if auth("store/order/cancel_order")}
                 <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要取消订单吗?" data-action="{:url('cancel_order')}" data-value="id#{$vo.id}">取消订单</a>