Authored by weiqingting

提交

@@ -243,11 +243,8 @@ var initSort = function () {//初始化分类弹框 @@ -243,11 +243,8 @@ var initSort = function () {//初始化分类弹框
243 if (tabTreeArr.length > 0) { 243 if (tabTreeArr.length > 0) {
244 for (var i = 0; i < tabTreeArr.length; i++) { 244 for (var i = 0; i < tabTreeArr.length; i++) {
245 Bll.selectSorts.push(tabTreeArr[i].selected); 245 Bll.selectSorts.push(tabTreeArr[i].selected);
246 - for (var j = 0; j < tabTreeArr[i].selected.length; j++) {  
247 - if (j <= 1) {  
248 - ids.push(tabTreeArr[i].selected[j].id);  
249 - }  
250 - } 246 + ids.push(tabTreeArr[i].selected[tabTreeArr[i].selected.length-1].id);
  247 +
251 } 248 }
252 couponBean.sortLimit = ids.join(','); 249 couponBean.sortLimit = ids.join(',');
253 } 250 }
@@ -262,6 +259,7 @@ var initSort = function () {//初始化分类弹框 @@ -262,6 +259,7 @@ var initSort = function () {//初始化分类弹框
262 for (var k = 0; k < sorts.length; k++) { 259 for (var k = 0; k < sorts.length; k++) {
263 sortList.push(sorts[k].join("-")); 260 sortList.push(sorts[k].join("-"));
264 } 261 }
  262 +
265 couponBean.sortsList = sortList.join(";"); 263 couponBean.sortsList = sortList.join(";");
266 Bll.__render(couponBean, type); 264 Bll.__render(couponBean, type);
267 } 265 }