|
|
@@ -23,13 +23,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
- {field: 'user_id', title: __('User_id')},
|
|
|
- {field: 'product_id', title: __('Product_id')},
|
|
|
+ //users,productlists'
|
|
|
+ {field: 'users.address', title: __('User_id')},
|
|
|
+ {field: 'productlists.zh_name', title: __('Product_id')},
|
|
|
{field: 'min_price', title: __('Min_price'), operate: false},
|
|
|
{field: 'stock', title: __('Stock')},
|
|
|
{field: 'num', title: __('Num'), operate: false},
|
|
|
{field: 'total_price', title: __('Total_price'), operate:false},
|
|
|
- {field: 'status', title: __('Status')},
|
|
|
{field: 'status', title: __('Status'), searchList: {0:__('关闭'),1 :__('正常'), 2:__('已出售')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'operate', title: __('Operate'),
|