* finish task #75328

This commit is contained in:
lanzongjun
2022-11-08 14:12:37 +08:00
parent 70fd479801
commit 6367ecd138
+6 -1
View File
@@ -128,6 +128,11 @@ function loadProductBranches(productID)
loadModuleForSiblings(productID, 0, 0)
loadPlanForSiblings(productID, 0, 0)
}
else
{
loadProductModules(productID, 0);
loadProductPlans(productID, 0);
}
}
else
{
@@ -191,7 +196,7 @@ function loadProductPlans(productID, branch)
if(!branch) branch = 0;
var expired = config.currentMethod == 'create' ? 'unexpired' : '';
planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branch + '&planID=' + $('#plan').val() + '&fieldID=&needCreate=true&expired='+ expired +'&param=skipParent,' + config.currentMethod);
var $planIdBox = $('#planIdBox');
var $planIdBox = $('.switchBranch #planIdBox');
$planIdBox.load(planLink, function()
{
$planIdBox.find('#plan').chosen();