title = $model->name; $this->params['breadcrumbs'][] = ['label' => 'Goods', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>
= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'id', 'pid', 'cat_id', 'brand_id', 'shop_cat_id', 'name', 'sn', 'code', 'supplier_id', 'weight', 'length', 'width', 'height', 'diameter', 'unit', 'sold_count', 'limit_count', 'stock', 'stock_warn', 'market_price', 'price', 'brief', 'description:ntext', 'image', 'model_id', 'is_sale', 'sort_order', 'bouns_points', 'experience_points', 'is_delete', 'express_template', 'created_at', 'updated_at', ], ]) ?>