作者 王智

222

... ... @@ -27,29 +27,29 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'id', title: __('Id')},
{field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'name', title: __('Name')},
{field: 'class_id', title: __('Class_id')},
{field: 'class_con_id', title: __('Class_con_id')},
{field: 'logo_id', title: __('Logo_id')},
// {field: 'class_id', title: __('Class_id')},
// {field: 'class_con_id', title: __('Class_con_id')},
// {field: 'logo_id', title: __('Logo_id')},
{field: 'classa.class', title: __('Classa.class')},
{field: 'classcon.class_con', title: __('Classcon.class_con')},
{field: 'logo.logo', title: __('Logo.logo')},
{field: 'fengzhuang', title: __('Fengzhuang')},
{field: 'con', title: __('Con')},
{field: 'stock', title: __('Stock')},
{field: 'book_avatar', title: __('Book_avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'price', title: __('Price'), operate:'BETWEEN'},
{field: 'tidu1', title: __('Tidu1')},
{field: 'price1', title: __('Price1'), operate:'BETWEEN'},
{field: 'tidu2', title: __('Tidu2')},
{field: 'tidu3', title: __('Tidu3')},
{field: 'tidu4', title: __('Tidu4')},
{field: 'price2', title: __('Price2'), operate:'BETWEEN'},
{field: 'price1', title: __('Price1'), operate:'BETWEEN'},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'tidu3', title: __('Tidu3')},
{field: 'price3', title: __('Price3'), operate:'BETWEEN'},
{field: 'tidu4', title: __('Tidu4')},
{field: 'price4', title: __('Price4'), operate:'BETWEEN'},
{field: 'price5', title: __('Price5'), operate:'BETWEEN'},
{field: 'tidu5', title: __('Tidu5')},
{field: 'price', title: __('Price'), operate:'BETWEEN'},
{field: 'classa.class', title: __('Classa.class')},
{field: 'classcon.class_con', title: __('Classcon.class_con')},
{field: 'logo.logo', title: __('Logo.logo')},
{field: 'price5', title: __('Price5'), operate:'BETWEEN'},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'updatetime', title: __('Updatetime'), 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}
]
]
... ...