diff --git a/public/assets/js/backend/unishop/order.js b/public/assets/js/backend/unishop/order.js index fb48492..a97390a 100644 --- a/public/assets/js/backend/unishop/order.js +++ b/public/assets/js/backend/unishop/order.js @@ -128,12 +128,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin { name: 'refund', text: __('Refund'), - classname: 'btn btn-xs btn-info btn-toolbar', + classname: 'btn btn-xs btn-info btn-ajax', extend: 'data-toggle="tooltip"', icon: 'fa fa-handshake-o', url:function(row){ - return "unishop/order/refundShow?id="+row.id+"&refund_fee="+row.total_price; - } + return "unishop/order/doRefund?id="+row.id; + }, + confirm:"是否确认退款" }, // { // name: 'delivere',