|
@ -16,12 +16,6 @@ use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
|
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'image')->widget(\iron\widgets\Upload::className(), [ |
|
|
|
|
|
'url' => 'upload', |
|
|
|
|
|
'deleteUrl' => 'imageDel', |
|
|
|
|
|
'dragdropWidth'=> 800 |
|
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'cat_id')->dropDownList(Category::modelColumn(), ['prompt' => '请选择']) ?>
|
|
|
<?= $form->field($model, 'cat_id')->dropDownList(Category::modelColumn(), ['prompt' => '请选择']) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'brand_id')->dropDownList(Brand::modelColumn(), ['prompt' => '请选择']) ?>
|
|
|
<?= $form->field($model, 'brand_id')->dropDownList(Brand::modelColumn(), ['prompt' => '请选择']) ?>
|
|
@ -58,6 +52,12 @@ use antgoods\goods\models\ars\Supplier; |
|
|
|
|
|
|
|
|
<?= $form->field($model, 'price')->textInput() ?>
|
|
|
<?= $form->field($model, 'price')->textInput() ?>
|
|
|
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'image')->widget(\iron\widgets\Upload::className(), [ |
|
|
|
|
|
'url' => 'upload', |
|
|
|
|
|
'deleteUrl' => 'imageDel', |
|
|
|
|
|
'dragdropWidth'=> 800 |
|
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'brief')->textInput(['maxlength' => true]) ?>
|
|
|
<?= $form->field($model, 'brief')->textInput(['maxlength' => true]) ?>
|
|
|
|
|
|
|
|
|
<?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>
|
|
|
<?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>
|
|
|