v-Brocloni 3 years ago
parent
commit
bdee9f2f10
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      public/assets/js/backend/unishop/order.js

+ 4
- 3
public/assets/js/backend/unishop/order.js View File

@@ -128,12 +128,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{ {
name: 'refund', name: 'refund',
text: __('Refund'), text: __('Refund'),
classname: 'btn btn-xs btn-info btn-toolbar',
classname: 'btn btn-xs btn-info btn-ajax',
extend: 'data-toggle="tooltip"', extend: 'data-toggle="tooltip"',
icon: 'fa fa-handshake-o', icon: 'fa fa-handshake-o',
url:function(row){ 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', // name: 'delivere',


Loading…
Cancel
Save