* [task#145922,done,2h,0h] Finish edit product workflowgroup.

This commit is contained in:
wangyuting
2025-07-15 09:22:47 +08:00
parent 83231344c8
commit 1a402cd288
+7 -4
View File
@@ -270,12 +270,15 @@ class product extends control
$productID = $this->product->checkAccess($productID, $this->products);
$this->productZen->setEditMenu($productID, $programID);
parse_str($extra, $output);
$product = $this->product->getByID($productID);
if(!empty($output['workflowGroup'])) $product->workflowGroup = (int)$output['workflowGroup'];
$this->view->title = $this->lang->product->edit . $this->lang->hyphen . $product->name;
$this->view->product = $product;
$this->view->fields = $this->productZen->getFormFields4Edit($product);
$this->view->title = $this->lang->product->edit . $this->lang->hyphen . $product->name;
$this->view->product = $product;
$this->view->fields = $this->productZen->getFormFields4Edit($product);
$this->view->action = $action;
$this->view->programID = $programID;
$this->display();
}