作者 王智

daima

... ... @@ -32,7 +32,7 @@ class Order extends Model
public function getStatusList()
{
return ['1' => __('Status 1'), '0' => __('Status 0')];
return ['1' => __('Status 1'), '0' => __('Status 0'),'2' => __('Status 2')];
}
... ...
... ... @@ -28,7 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'order_sn', title: __('Order_sn')},
{field: 'user.nickname', title: __('User.nickname')},
// {field: 'user_id', title: __('User_id')},
{field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"0":__('Status 0')}, formatter: Table.api.formatter.status},
{field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"0":__('Status 0')}, formatter: Table.api.formatter.status},
// {field: 'vip_id', title: __('Vip_id')},
{field: 'vip.title', title: __('Vip.title')},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
... ...