Commit 6cc3f3bc by 胡悦

修改

1 parent fc2af01a
...@@ -1731,6 +1731,7 @@ ...@@ -1731,6 +1731,7 @@
productData.products.forEach(j => { productData.products.forEach(j => {
var products = item.products.find(n => n.productId == j.productId) var products = item.products.find(n => n.productId == j.productId)
console.log(products) console.log(products)
if (products) {
active.treeTabAdd( active.treeTabAdd(
{ {
name: j.productName, name: j.productName,
...@@ -1747,6 +1748,7 @@ ...@@ -1747,6 +1748,7 @@
$(`#nomenutab_${id}_${j.productId}`).removeClass('show') $(`#nomenutab_${id}_${j.productId}`).removeClass('show')
$(`#nomenutab_${id}_${j.productId}`).addClass('hide') $(`#nomenutab_${id}_${j.productId}`).addClass('hide')
} }
}
}) })
var filterName = 'treeTab' + item.accounttypeId var filterName = 'treeTab' + item.accounttypeId
var productId = 'tab_' + item.accounttypeId + '_' + productData.products[0].productId var productId = 'tab_' + item.accounttypeId + '_' + productData.products[0].productId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!