|
|
@ -5,6 +5,7 @@ use yii\widgets\ActiveForm; |
|
|
|
use antgoods\goods\models\ars\Category; |
|
|
|
use antgoods\goods\models\ars\Brand; |
|
|
|
use antgoods\goods\models\ars\ShopCategory; |
|
|
|
use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
|
|
/* @var $this yii\web\View */ |
|
|
|
/* @var $model antgoods\goods\models\ars\Goods */ |
|
|
@ -27,7 +28,7 @@ use antgoods\goods\models\ars\ShopCategory; |
|
|
|
|
|
|
|
<?= $form->field($model, 'code')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'supplier_id')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'supplier_id')->dropDownList(Supplier::modelColumn(), ['prompt' => '请选择']) ?>
|
|
|
|
|
|
|
|
<?= $form->field($model, 'weight')->textInput() ?>
|
|
|
|
|
|
|
|