Commit 88eafc49 by 朱继来

Merge branch 'zjl_exception_20181221' into development

parents e84b9b6b d52bb5a0
Showing with 10 additions and 2 deletions
......@@ -662,7 +662,7 @@
@endif
@if (in_array($order_info['status'], array(3, 4, 7)))
<a href="{{URL('refund', ['order_id'=>$order_info['order_id']])}}" class="btn btn-info">退货退款</a>
<a href="{{URL('refund', ['order_id'=>$order_info['order_id']])}}" class="btn btn-info order_refund">退货退款</a>
@endif
<!-- 已发货之后的状态 -->
......@@ -818,7 +818,14 @@
</div>
</div>
<script>
// 退款申请已处理或已拒绝,则隐藏退款按钮
var refund = "{{!empty($order_refund_info) && ($order_refund_info['status'] == -1 || $order_refund_info['status'] == 10) ? false : true}}";
if (refund) {
$('.order_refund').show();
} else {
$('.order_refund').hide();
}
$.lie.order.details();
</script>
\ No newline at end of file
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