|
|
|
|
@ -91,7 +91,7 @@ class ProductController extends CommonController
|
|
|
|
|
"model" => $vo
|
|
|
|
|
]);
|
|
|
|
|
$form->add("_previous", "hidden", ["value" => (url()->previous())]);
|
|
|
|
|
$form->modify("factor_id", 'select', ["label" => "统计价格因素",
|
|
|
|
|
$form->modify("statistic_factor_id", 'select', ["label" => "统计价格因素",
|
|
|
|
|
"choices" => (new Factor())->where('product_id', $request->id)->get()->pluck("name", "id")->toArray()]
|
|
|
|
|
);
|
|
|
|
|
return view($this->bladePath . ".create", compact("form", "project", "vo"));
|
|
|
|
|
|