|
@@ -130,10 +130,8 @@ var productList = new Vue({
|
|
|
newFlag: this.params.newFlag, // 查询新品标记,默认0,新品1
|
|
|
promotionFlag: this.params.promotionFlag, // 查询促销标记,默认0,促销1
|
|
|
},function (res) {
|
|
|
- console.log(res);
|
|
|
if (res.code === 0 && res.data ) {
|
|
|
var result = JSON.parse(res.data);
|
|
|
- console.log(result.items);
|
|
|
_self.listRecord = result.total;
|
|
|
var resultData = setSearchProductList(result.items, _self.userId, function(){
|
|
|
_self.$forceUpdate();
|
|
@@ -163,7 +161,6 @@ var productList = new Vue({
|
|
|
getCommoditySearchQUeryBrand:function() { // 查询筛选项品牌
|
|
|
var _self = this;
|
|
|
ProductApi.getCommoditySearchQUeryBrand(_self.brandParam,function (response) {
|
|
|
- console.log(response);
|
|
|
if (response.code === 0 && response.data ) {
|
|
|
var data = response.data;
|
|
|
_self.defaultBrandLists = data.map((el, index) => {
|
|
@@ -251,7 +248,6 @@ var productList = new Vue({
|
|
|
handleConfirmScreen:function(){
|
|
|
this.params.num = 1;
|
|
|
this.listData = [];
|
|
|
- console.log('_self.params.brandIds',this.params.brandIds)
|
|
|
this.getListByKeyword();
|
|
|
this.isProductScreen = false;
|
|
|
}
|
|
@@ -266,7 +262,6 @@ var productList = new Vue({
|
|
|
if(this.hrefBrandId){
|
|
|
this.params.brandIds = this.hrefBrandId +',';
|
|
|
}
|
|
|
- console.log('hrefBrandId',this.hrefBrandId)
|
|
|
if(this.params.promotionFlag == 1){
|
|
|
this.isActiviChecked = true;
|
|
|
}else{
|