You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
754 B

  1. <?php
  2. use yii\helpers\Html;
  3. use blobt\grid\GridView;
  4. /* @var $this yii\web\View */
  5. /* @var $searchModel common\models\searchs\GoodsSearch */
  6. /* @var $dataProvider yii\data\ActiveDataProvider */
  7. $this->title = 'Goods';
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="row">
  11. <div class="col-xs-12">
  12. <?= GridView::widget([
  13. 'dataProvider' => $dataProvider,
  14. 'filter' => $this->render("_search", ['model' => $searchModel]),
  15. 'batch' => [
  16. [
  17. "label" => "删除",
  18. "url" => "goods/deletes"
  19. ],
  20. ],
  21. 'columns' => $columns
  22. ]);
  23. ?>
  24. </div>
  25. </div>