diff --git a/backend/modules/goods/models/searchs/GoodsSearch.php b/backend/modules/goods/models/searchs/GoodsSearch.php index e0f62c6..3547f17 100755 --- a/backend/modules/goods/models/searchs/GoodsSearch.php +++ b/backend/modules/goods/models/searchs/GoodsSearch.php @@ -67,6 +67,7 @@ class GoodsSearch extends Goods } ], + 'id', 'name', [ 'attribute' => 'market_price', diff --git a/backend/modules/goods/views/goods/_search.php b/backend/modules/goods/views/goods/_search.php index 7e8e234..8e00aec 100755 --- a/backend/modules/goods/views/goods/_search.php +++ b/backend/modules/goods/views/goods/_search.php @@ -19,6 +19,19 @@ use backend\modules\goods\models\ars\ShopCategory; ]); ?>
+
+ field($model, 'id', [ + "template" => "{input}{error}", + "inputOptions" => [ + "placeholder" => "检索ID", + "class" => "form-control", + ], + "errorOptions" => [ + "class" => "error-tips" + ] + ]) + ?> +
field($model, 'name', [ "template" => "{input}{error}", diff --git a/backend/modules/shop/views/taking-site/create.php b/backend/modules/shop/views/taking-site/create.php index 94319fc..c744c1e 100755 --- a/backend/modules/shop/views/taking-site/create.php +++ b/backend/modules/shop/views/taking-site/create.php @@ -5,8 +5,8 @@ use yii\bootstrap4\Html; /* @var $this yii\web\View */ /* @var $model backend\models\ars\TakingSite */ -$this->title = '创建 Taking Site'; -$this->params['breadcrumbs'][] = ['label' => 'Taking Sites', 'url' => ['index']]; +$this->title = '创建自提点'; +$this->params['breadcrumbs'][] = ['label' => '上门自提', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>