|
|
|
@ -196,9 +196,10 @@ class AgentProductController extends AdminController |
|
|
|
$form->editor('content'); |
|
|
|
} else { |
|
|
|
$form->radio('type') |
|
|
|
->options(['单品销售', '组合销售', '计调云产品']) |
|
|
|
->options(['单品销售']) |
|
|
|
->default(Admin::user()->type == AgentType::CLUSTER ? 1 : 0)->required() |
|
|
|
->help('单品销售无需审核,组合销售需要审核才能上架') |
|
|
|
//->help('单品销售无需审核,组合销售需要审核才能上架')
|
|
|
|
->help('单品销售无需审核') |
|
|
|
->when(0, function (Form $form) { |
|
|
|
/** 单品销售 **/ |
|
|
|
$form->selectTable('product_id', '供应商产品') |
|
|
|
|