|
@@ -6,9 +6,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
Table.api.init({
|
|
|
extend: {
|
|
|
index_url: 'order/order/index' + location.search,
|
|
|
- add_url: 'order/order/add',
|
|
|
- edit_url: 'order/order/edit',
|
|
|
- del_url: 'order/order/del',
|
|
|
+ // add_url: 'order/order/add',
|
|
|
+ // edit_url: 'order/order/edit',
|
|
|
+ // del_url: 'order/order/del',
|
|
|
multi_url: 'order/order/multi',
|
|
|
import_url: 'order/order/import',
|
|
|
table: 'order',
|
|
@@ -30,7 +30,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'user.nickname', title: __('用户')},
|
|
|
{field: 'order_on', title: __('Order_on'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'status', title: __('订单状态'), searchList: {"-1":__('已取消'),"0":__('未支付'),"1":__('Status 1')}, formatter: Table.api.formatter.status},
|
|
|
+ {field: 'status', title: __('订单状态'), searchList: {"-1":__('已取消'),"0":__('未支付'),"1":__('已支付')}, formatter: Table.api.formatter.status},
|
|
|
// {field: 'is_deleted', title: __('Is_deleted'), searchList: {"0":__('Is_deleted 0'),"1":__('Is_deleted 1')}, formatter: Table.api.formatter.normal},
|
|
|
|
|
|
{field: 'paytime', title: __('Paytime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|