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.

33 lines
753 B

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model antgoods\models\ars\Supplier */
  6. $this->title = $model->name;
  7. $this->params['breadcrumbs'][] = ['label' => '供应商管理', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. \yii\web\YiiAsset::register($this);
  10. ?>
  11. <div class="supplier-view">
  12. <p>
  13. <?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
  14. </p>
  15. <?= DetailView::widget([
  16. 'model' => $model,
  17. 'attributes' => [
  18. 'id',
  19. 'name',
  20. 'full_name',
  21. 'phone',
  22. 'address',
  23. 'created_at:datetime',
  24. 'updated_at:datetime',
  25. ],
  26. ]) ?>
  27. </div>