@ -52,8 +52,8 @@ class Attribute extends \yii\db\ActiveRecord
{
return [
'id' => 'id',
'name' => '属性名',
'value' => '属性值',
'name' => '规格名称',
'value' => '规格内容(每项以逗号隔开)',
'type' => '类型',
'sort_order' => '排序',
'is_delete' => '是否删除,1为已删除',
@ -16,8 +16,6 @@ use yii\bootstrap4\ActiveForm;
<?= $form->field($model, 'value')->textarea(['rows' => 6]) ?>
<?= $form->field($model, 'type')->textInput() ?>
<?= $form->field($model, 'sort_order')->textInput() ?>
<div class="form-group">