|
@@ -39,7 +39,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
@@ -39,7 +39,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
39
|
{field: 'phone', title: __('Phone'), operate: 'LIKE'},
|
39
|
{field: 'phone', title: __('Phone'), operate: 'LIKE'},
|
40
|
{field: 'store.name', title: __('Store.name'), operate: 'LIKE'},
|
40
|
{field: 'store.name', title: __('Store.name'), operate: 'LIKE'},
|
41
|
{field: 'coupon.name', title: __('Coupon.name'), operate: 'LIKE'},
|
41
|
{field: 'coupon.name', title: __('Coupon.name'), operate: 'LIKE'},
|
42
|
- {field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.status},
|
42
|
+ {field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.toggle,yes:"0",no:"1"},
|
43
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
43
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
44
|
]
|
44
|
]
|
45
|
]
|
45
|
]
|