Browse Source

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

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

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

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

Loading…
Cancel
Save