From 1a402cd2884d4bdb07c8a4813e816fd4668b9cc2 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Tue, 1 Jul 2025 13:35:37 +0800 Subject: [PATCH] * [task#145922,done,2h,0h] Finish edit product workflowgroup. --- module/product/control.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/module/product/control.php b/module/product/control.php index d2ce4f6684..f7f85a6c27 100755 --- a/module/product/control.php +++ b/module/product/control.php @@ -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(); }