Merge branch 'zentaopms_239' of https://gitlab.zcorp.cc/easycorp/zentaopms into zentaopms_239_tanghucheng

This commit is contained in:
tanghucheng
2022-09-27 11:12:43 +08:00
+2
View File
@@ -136,6 +136,8 @@ class product extends control
$productID = $this->app->tab != 'project' ? $this->product->saveState($productID, $this->products) : $productID;
$product = $this->product->getById($productID);
if($product && !isset($this->products[$product->id])) $this->products[$product->id] = $product->name;
if($product and $product->type != 'normal')
{
$branchPairs = $this->loadModel('branch')->getPairs($productID, 'all');