...
|
...
|
@@ -243,11 +243,8 @@ var initSort = function () {//初始化分类弹框 |
|
|
if (tabTreeArr.length > 0) {
|
|
|
for (var i = 0; i < tabTreeArr.length; i++) {
|
|
|
Bll.selectSorts.push(tabTreeArr[i].selected);
|
|
|
for (var j = 0; j < tabTreeArr[i].selected.length; j++) {
|
|
|
if (j <= 1) {
|
|
|
ids.push(tabTreeArr[i].selected[j].id);
|
|
|
}
|
|
|
}
|
|
|
ids.push(tabTreeArr[i].selected[tabTreeArr[i].selected.length-1].id);
|
|
|
|
|
|
}
|
|
|
couponBean.sortLimit = ids.join(',');
|
|
|
}
|
...
|
...
|
@@ -262,6 +259,7 @@ var initSort = function () {//初始化分类弹框 |
|
|
for (var k = 0; k < sorts.length; k++) {
|
|
|
sortList.push(sorts[k].join("-"));
|
|
|
}
|
|
|
|
|
|
couponBean.sortsList = sortList.join(";");
|
|
|
Bll.__render(couponBean, type);
|
|
|
}
|
...
|
...
|
|