...
|
...
|
@@ -26,12 +26,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
|
|
|
{field: 'btype.name', title: __('Btype.name')},//品牌名称
|
|
|
{field: 'btype.name', title: __('Btype.name'),operate:'LIKE'},//品牌名称
|
|
|
{field: 'btype.address', title: __('Btype.address')},//品牌产地
|
|
|
|
|
|
{field: 'name', title: __('Name')},//商品名称
|
|
|
{field: 'name_en', title: __('Name_en')},//商品名称(英文)
|
|
|
{field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image},//商品图
|
|
|
{field: 'name', title: __('Name'),operate:'LIKE'},//商品名称
|
|
|
{field: 'name_en', title: __('Name_en'),operate:'LIKE'},//商品名称(英文)
|
|
|
{field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},//商品图
|
|
|
{field: 'flag', title: __('Flag'),formatter:
|
|
|
function(value,row,index){
|
|
|
var value1 = '';
|
...
|
...
|
@@ -48,15 +48,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
value1 += '<span style="color:blue">新人特惠</span>';
|
|
|
}
|
|
|
return value1;
|
|
|
}
|
|
|
},searchList: {'': __('选择'), 1: __('推荐'), 2: __('设计师作品'), 3: __('新人特惠')}
|
|
|
},//商品标识
|
|
|
// {field: 'sale_price', title: __('Sale_price')},//销售价格
|
|
|
{field: 'market_price', title: __('Market_price')},//市场价格
|
|
|
{field: 'expense_price', title: __('Expense_price')},//运费
|
|
|
{field: 'hots', title: __('Hots'),sortable: true},//浏览量
|
|
|
{field: 'sales', title: __('Sales'),sortable: true},//销量
|
|
|
{field: 'collections', title: __('Collections'),sortable: true},//收藏量
|
|
|
{field: 'sort', title: __('Sort'),sortable: true},//排序
|
|
|
{field: 'market_price', title: __('Market_price'),operate:false},//市场价格
|
|
|
{field: 'expense_price', title: __('Expense_price'),operate:false},//运费
|
|
|
{field: 'hots', title: __('Hots'),sortable: true,operate:false},//浏览量
|
|
|
{field: 'sales', title: __('Sales'),sortable: true,operate:false},//销量
|
|
|
{field: 'collections', title: __('Collections'),sortable: true,operate:false},//收藏量
|
|
|
{field: 'sort', title: __('Sort'),sortable: true,operate:false},//排序
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
...
|
...
|
|