Browse Source

修改运费模板列表,增加计算方式资源,删除详情按钮

antshop
linyaostalker 5 years ago
parent
commit
7a869f6d76
  1. 15
      backend/modules/shop/models/searchs/ExpressTemplateSearch.php

15
backend/modules/shop/models/searchs/ExpressTemplateSearch.php

@ -52,17 +52,18 @@ class ExpressTemplateSearch extends ExpressTemplate
'width' => '2%',
'align' => 'center'
],
'id',
'name',
'id',
'name',
[
'attribute' => 'calculation_type',
'value' => function ($model) {
return ExpressTemplate::$calculationType[$model->calculation_type];
}
],
[
'class' => 'iron\grid\ActionColumn',
'align' => 'center',
'config' => [
[
'name' => 'view',
'icon' => 'list',
'title' => '详情',
],
[
'name' => 'update',
'icon' => 'pencil',

Loading…
Cancel
Save