|
@@ -89,7 +89,7 @@ var productList = new Vue({
|
|
|
// 商品价格仅资质机构可见
|
|
|
if(pros.priceFlag === 2 && pros.svipProductFlag === 1 && GLOBAL_USER_IDENTITY === 2) return true;
|
|
|
// 商品价格仅医美机构可见
|
|
|
- if(pros.priceFlag === 3 && pros.svipProductFlag === 1 && GLOBAL_USER_IDENTITY === 2 && GLOBAL_CLUB_TYPE == 1) return true;
|
|
|
+ if(pros.priceFlag === 3 && pros.svipProductFlag === 1 && GLOBAL_USER_IDENTITY === 2 && GLOBAL_CLUB_TYPE === 1) return true;
|
|
|
// 其它
|
|
|
return false;
|
|
|
},
|
|
@@ -115,7 +115,7 @@ var productList = new Vue({
|
|
|
},
|
|
|
PromotionsFormat:function(promo){//促销活动类型数据处理
|
|
|
if(promo!=null){
|
|
|
- if(promo.type == 1 && promo.mode == 1){
|
|
|
+ if(promo.type === 1 && promo.mode === 1){
|
|
|
return true
|
|
|
}else{
|
|
|
return false
|
|
@@ -153,12 +153,7 @@ var productList = new Vue({
|
|
|
}else{
|
|
|
_self.listData = _self.listData.concat(resultData);
|
|
|
}
|
|
|
- console.log('listData',_self.listData)
|
|
|
- if( _self.listData.length>0){
|
|
|
- _self.isListEmpty = false;
|
|
|
- }else{
|
|
|
- _self.isListEmpty = true;
|
|
|
- }
|
|
|
+ _self.isListEmpty = _self.listData.length <= 0;
|
|
|
_self.listLoading = false;
|
|
|
_self.requestFlag = true;
|
|
|
}else {
|