作者 李忠强

更新

... ... @@ -42,4 +42,5 @@ return [
'Is_index 0' => '未展示',
'Activity_id' => '活动类型',
'Price_description' => '价格说明',
'Keywords' => '搜索关键词',
];
... ...
... ... @@ -7,6 +7,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Keywords')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-keywords" data-rule="required" class="form-control form-control" name="row[keywords]" type="text" value="">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-category_id" data-rule="required" data-source="litestore/litestorecategory/selectpage" class="form-control selectpage form-control" name="row[category_id]" type="text" value="">
... ...
... ... @@ -7,6 +7,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Keywords')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-keywords" data-rule="required" class="form-control form-control" name="row[keywords]" type="text" value="{$row.keywords}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-category_id" data-rule="required" data-source="litestore/litestorecategory/selectpage" class="form-control selectpage form-control" name="row[category_id]" type="text" value="{$row.category_id}">
... ...
... ... @@ -28,9 +28,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','template','litestoreg
[
{checkbox: true},
{field: 'goods_id', title: __('Goods_id')},
{field: 'goods_name', title: __('Goods_name')},
{field: 'category.name', title: __('Category.name')},
{field: 'activity.name', title: __('Activity.name')},
{field: 'goods_name', title: __('Goods_name'),operate: 'LIKE'},
{field: 'keywords', title: __('Keywords'),operate: 'LIKE'},
{field: 'category.name', title: __('Category.name'),operate: false},
{field: 'activity.name', title: __('Activity.name'),operate: false},
{field: 'category_id', visible:false,title: __('Category_id')},
{field: 'image', title: __('Image'), formatter: Table.api.formatter.image},
{field: 'images', title: __('Images'), formatter: Table.api.formatter.images},
... ...