|
|
@@ -264,7 +264,6 @@ class StoreProduct extends AuthController
|
|
|
['is_benefit', 0],
|
|
|
['is_best', 0],
|
|
|
['is_new', 0],
|
|
|
- ['is_vip', 0],
|
|
|
['mer_use', 0],
|
|
|
['is_postage', 0],
|
|
|
['is_good', 0],
|
|
|
@@ -433,9 +432,8 @@ class StoreProduct extends AuthController
|
|
|
Form::radio('is_benefit', '促销单品', $product->getData('is_benefit'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
Form::radio('is_best', '精品推荐', $product->getData('is_best'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
Form::radio('is_new', '首发新品', $product->getData('is_new'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
- Form::radio('is_vip', '是否会员商品', $product->getData('is_vip'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
Form::radio('is_postage', '是否包邮', $product->getData('is_postage'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
- Form::radio('is_good', '是否优品推荐', $product->getData('is_good'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
+ Form::radio('is_good', '是否会员商品', $product->getData('is_good'))->options([['label' => '是', 'value' => 1], ['label' => '否', 'value' => 0]])->col(8),
|
|
|
];
|
|
|
$form = Form::make_post_form('编辑产品', $field, Url::buildUrl('update', array('id' => $id)), 2);
|
|
|
$this->assign(compact('form'));
|
|
|
@@ -473,7 +471,6 @@ class StoreProduct extends AuthController
|
|
|
['is_benefit', 0],
|
|
|
['is_best', 0],
|
|
|
['is_new', 0],
|
|
|
- ['is_vip', 0],
|
|
|
['mer_use', 0],
|
|
|
['is_postage', 0],
|
|
|
['is_good', 0],
|