|
@@ -122,17 +122,12 @@
|
|
|
|
|
|
if(this.dealerData){
|
|
|
// 特约价不显示市级
|
|
|
- if(this.dealerData.dealerLevel == 'SPECIAL'){
|
|
|
+ if(this.dealerData.dealerLevel == 'SPECIAL' || !this.$hasPermissions('M_showAllCityPrice_mobile')){
|
|
|
ret = ret.filter((item, index) => index !== 1)
|
|
|
- }else{
|
|
|
- // 不显示特约
|
|
|
- if(this.dealerData.isShowSpecialPrice != '1'){
|
|
|
- ret = ret.filter((item, index) => index !== 2)
|
|
|
- }
|
|
|
- // 市级价不显示
|
|
|
- if(!this.$hasPermissions('M_showAllCityPrice_mobile')){
|
|
|
- ret = ret.filter((item, index) => index !== 1)
|
|
|
- }
|
|
|
+ }
|
|
|
+ // 不显示特约
|
|
|
+ if(this.dealerData.isShowSpecialPrice != '1'){
|
|
|
+ ret = ret.filter((item, index) => index !== 2)
|
|
|
}
|
|
|
}
|
|
|
|