Browse Source

refactor:商品检索修改前端商品分类和后台商品分类下拉方法

antshop
linyaostalker 5 years ago
parent
commit
74e541afe7
  1. 4
      backend/modules/goods/views/goods/_search.php

4
backend/modules/goods/views/goods/_search.php

@ -68,7 +68,7 @@ use backend\modules\goods\models\ars\ShopCategory;
"errorOptions" => [
"class" => "error-tips"
]
])->dropDownList(Category::modelColumn(), ['prompt' => '后台商品类别']);
])->dropDownList(Category::modelColumn(0, 0), ['prompt' => '后台商品类别']);
?>
</div>
<div class="col">
@ -81,7 +81,7 @@ use backend\modules\goods\models\ars\ShopCategory;
"errorOptions" => [
"class" => "error-tips"
]
])->dropDownList(ShopCategory::modelColumn(), ['prompt' => '前端商品类别']);
])->dropDownList(ShopCategory::modelColumn(0,0), ['prompt' => '前端商品类别']);
?>
</div>
<div class="col">

Loading…
Cancel
Save