|
|
|
@ -144,7 +144,7 @@ class DemandController extends AdminController |
|
|
|
$form->select('bidding_user_type','竞标用户类型') |
|
|
|
->when([0],function (Form $form){ |
|
|
|
$form->select('demand_product_id','产品')->options(function (){ |
|
|
|
return DemandProduct::query()->where('supplier_id',Admin::user()->id)->where('agent_id',0)->pluck('title','id'); |
|
|
|
return DemandProduct::query()->where('supplier_id',Admin::user()->id)->where('status',1)->pluck('title','id'); |
|
|
|
}); |
|
|
|
}) |
|
|
|
->options([ |
|
|
|
|