|
|
|
|
@ -52,7 +52,7 @@ class ProductForm extends Form
|
|
|
|
|
'label' => false
|
|
|
|
|
]
|
|
|
|
|
]);
|
|
|
|
|
$this->add("factor_item_ids", Field::SELECT, ["label" => "统计价格因素", "rules" => "required", "attr" => ["multiple" => true, "data-plugin" => "select2"]]);
|
|
|
|
|
$this->add("factor_item_ids[]", Field::SELECT, ["label" => "统计价格因素", "rules" => "required", "attr" => ["multiple" => true, "data-plugin" => "select2"]]);
|
|
|
|
|
$this->add('buttons', 'buttongroup', ["splitted" => true, "buttons" => [
|
|
|
|
|
["label" => "保存", "attr" => ["class" => "btn btn-primary mr-1", "type" => "submit"]],
|
|
|
|
|
["label" => "返回", "attr" => ["class" => "btn btn-light btn-back", "type" => "button"]]
|
|
|
|
|
|