From 69d7929a88c110d050e03ee8a5e9b3ab27bd24d6 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Wed, 20 Nov 2019 10:37:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9antgoods=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=93=81=E7=89=8C=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/antgoods/goods/src/models/searchs/BrandSearch.php | 5 ++--- vendor/antgoods/goods/src/views/brand/_form.php | 2 -- vendor/antgoods/goods/src/views/brand/create.php | 4 ++-- vendor/antgoods/goods/src/views/brand/index.php | 2 +- vendor/antgoods/goods/src/views/brand/update.php | 6 +++--- vendor/antgoods/goods/src/views/brand/view.php | 5 ++--- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/vendor/antgoods/goods/src/models/searchs/BrandSearch.php b/vendor/antgoods/goods/src/models/searchs/BrandSearch.php index 589a2fb..f7fc35e 100644 --- a/vendor/antgoods/goods/src/models/searchs/BrandSearch.php +++ b/vendor/antgoods/goods/src/models/searchs/BrandSearch.php @@ -54,9 +54,8 @@ class BrandSearch extends Brand ], 'id', 'name', - 'is_delete', - 'created_at', - 'updated_at', + 'created_at:datetime', + 'updated_at:datetime', [ 'class' => 'iron\grid\ActionColumn', 'align' => 'center', diff --git a/vendor/antgoods/goods/src/views/brand/_form.php b/vendor/antgoods/goods/src/views/brand/_form.php index 9f7f050..6bd4bbc 100644 --- a/vendor/antgoods/goods/src/views/brand/_form.php +++ b/vendor/antgoods/goods/src/views/brand/_form.php @@ -14,8 +14,6 @@ use yii\widgets\ActiveForm; field($model, 'name')->textInput(['maxlength' => true]) ?> - field($model, 'is_delete')->textInput() ?> -
'btn btn-success']) ?> 'btn btn-info']) ?> diff --git a/vendor/antgoods/goods/src/views/brand/create.php b/vendor/antgoods/goods/src/views/brand/create.php index ca5f84b..7effd14 100644 --- a/vendor/antgoods/goods/src/views/brand/create.php +++ b/vendor/antgoods/goods/src/views/brand/create.php @@ -5,8 +5,8 @@ use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\Brand */ -$this->title = '创建 Brand'; -$this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']]; +$this->title = '创建品牌'; +$this->params['breadcrumbs'][] = ['label' => '品牌管理', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
diff --git a/vendor/antgoods/goods/src/views/brand/index.php b/vendor/antgoods/goods/src/views/brand/index.php index 4abe0dd..7f2b6ba 100644 --- a/vendor/antgoods/goods/src/views/brand/index.php +++ b/vendor/antgoods/goods/src/views/brand/index.php @@ -7,7 +7,7 @@ use iron\grid\GridView; /* @var $searchModel common\models\searchs\BrandSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ -$this->title = 'Brands'; +$this->title = '品牌管理'; $this->params['breadcrumbs'][] = $this->title; ?>
diff --git a/vendor/antgoods/goods/src/views/brand/update.php b/vendor/antgoods/goods/src/views/brand/update.php index 7884a9c..6b13cfe 100644 --- a/vendor/antgoods/goods/src/views/brand/update.php +++ b/vendor/antgoods/goods/src/views/brand/update.php @@ -5,10 +5,10 @@ use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\Brand */ -$this->title = '编辑 Brand: ' . $model->name; -$this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']]; +$this->title = '编辑品牌: ' . $model->name; +$this->params['breadcrumbs'][] = ['label' => '品牌管理', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; -$this->params['breadcrumbs'][] = 'Update '; +$this->params['breadcrumbs'][] = '编辑 '; ?>
diff --git a/vendor/antgoods/goods/src/views/brand/view.php b/vendor/antgoods/goods/src/views/brand/view.php index c592ea0..e31b418 100644 --- a/vendor/antgoods/goods/src/views/brand/view.php +++ b/vendor/antgoods/goods/src/views/brand/view.php @@ -22,9 +22,8 @@ $this->params['breadcrumbs'][] = $this->title; 'attributes' => [ 'id', 'name', - 'is_delete', - 'created_at', - 'updated_at', + 'created_at:datetime', + 'updated_at:datetime', ], ]) ?>