This commit is contained in:
mayue
2021-11-25 14:35:33 +08:00
parent 36afb288d6
commit f92ba845a3
5 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -205,7 +205,8 @@ class branch extends control
*/
public function ajaxGetDropMenu($productID, $branch = 0, $module, $method, $extra = '')
{
$branches = $this->branch->getPairs($productID, 'all', !empty($extra) ? $extra : 0);
parse_str($extra, $output);
$branches = $this->branch->getPairs($productID, 'all', isset($output['projectID']) ? $output['projectID'] : 0);
$statusList = $this->dao->select('id,status')->from(TABLE_BRANCH)->where('product')->eq($productID)->fetchPairs();
$this->view->link = $this->loadModel('product')->getProductLink($module, $method, $extra, true);