|
|
|
@ -120,9 +120,6 @@ class ProductController extends AdminController |
|
|
|
->options(ProductStatus::array()) |
|
|
|
->default(ProductStatus::ON_SALE) |
|
|
|
->required(); |
|
|
|
$form->select('supplier_id', '供应商') |
|
|
|
->options(Supplier::where('status', UserStatus::NORMAL)->pluck('name', 'id')) |
|
|
|
->required(); |
|
|
|
$form->editor('know'); |
|
|
|
$form->editor('content'); |
|
|
|
})->saving(function (Form $form) { |
|
|
|
|