|
|
|
@ -139,8 +139,8 @@ class ProductController extends AdminController |
|
|
|
$form->mobile('verify_mobile')->required(); |
|
|
|
|
|
|
|
//信息收集表单
|
|
|
|
$options = DiyForm::where('supplier_id', 2)->pluck('name', 'id'); |
|
|
|
$form->select('diy_form_id', '信息收集表单')->options($options); |
|
|
|
$options = DiyForm::where('supplier_id', Admin::user()->id)->pluck('name', 'id'); |
|
|
|
$form->select('diy_form_id', '信息收集表单')->options($options)->required(); |
|
|
|
|
|
|
|
//扩展字段
|
|
|
|
$publish_type = array_intersect_key( |
|
|
|
|