作者 王智

daima

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