|
|
@@ -121,13 +121,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
events: Table.api.events.operate, |
|
|
|
formatter: Table.api.formatter.operate, |
|
|
|
buttons:[ |
|
|
|
// { |
|
|
|
// name: 'refund', |
|
|
|
// text: __('Refund'), |
|
|
|
// classname: 'btn btn-xs btn-info btn-refund', |
|
|
|
// extend: 'data-toggle="tooltip"', |
|
|
|
// icon: 'fa fa-handshake-o' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
name: 'refund', |
|
|
|
text: __('Refund'), |
|
|
|
classname: 'btn btn-xs btn-info btn-ajax', |
|
|
|
extend: 'data-toggle="tooltip"', |
|
|
|
icon: 'fa fa-handshake-o', |
|
|
|
url:function(row){ |
|
|
|
return "unishop/order/doRefund?id="+row.id; |
|
|
|
}, |
|
|
|
confirm:"是否确认退款" |
|
|
|
}, |
|
|
|
// { |
|
|
|
// name: 'delivere', |
|
|
|
// text: __('Delivere'), |
|
|
@@ -135,13 +139,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
// extend: 'data-toggle="tooltip"', |
|
|
|
// icon: 'fa fa-plane' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
name: 'product', |
|
|
|
text: __('Product'), |
|
|
|
classname: 'btn btn-xs btn-info btn-product', |
|
|
|
extend: 'data-toggle="tooltip"', |
|
|
|
icon: 'fa fa-star-half' |
|
|
|
}, |
|
|
|
// { |
|
|
|
// name: 'product', |
|
|
|
// text: __('Product'), |
|
|
|
// classname: 'btn btn-xs btn-info btn-product', |
|
|
|
// extend: 'data-toggle="tooltip"', |
|
|
|
// icon: 'fa fa-star-half' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
name: 'edit', |
|
|
|
icon: 'fa fa-pencil', |
|
|
|