Browse Source

checkredis

undefined
娄梦宁 4 years ago
parent
commit
e29a71a9da
1 changed files with 18 additions and 14 deletions
  1. +18
    -14
      public/assets/js/backend/unishop/order.js

+ 18
- 14
public/assets/js/backend/unishop/order.js View File

@@ -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',


Loading…
Cancel
Save