From c7630fa9725de7ec344ef44414cf2bdff62c4590 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Thu, 28 Nov 2019 17:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=89=E6=8B=A9=E4=B8=8A?= =?UTF-8?q?=E7=BA=A7=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/antgoods/goods/src/views/shop-category/_form.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/antgoods/goods/src/views/shop-category/_form.php b/vendor/antgoods/goods/src/views/shop-category/_form.php index 9213502..c5502de 100644 --- a/vendor/antgoods/goods/src/views/shop-category/_form.php +++ b/vendor/antgoods/goods/src/views/shop-category/_form.php @@ -6,6 +6,7 @@ use blobt\widgets\Icheck; use yii\helpers\Url; use antgoods\goods\models\ars\Attribute; use linyao\widgets\Select2; +use antgoods\goods\models\ars\Category; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\ShopCategory */ @@ -20,6 +21,8 @@ use linyao\widgets\Select2; field($model, 'keywords')->textInput(['maxlength' => true]) ?> + field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], Category::modelColumn())) ?> + field($model, 'desc')->textInput(['maxlength' => true]) ?> field($model, 'sort_order')->textInput() ?>