|
@@ -118,10 +118,12 @@
|
|
|
return this.priceList.slice(1,4)
|
|
|
}
|
|
|
// 特约价
|
|
|
- if(this.dealerData.dealerType1 == 'special'){
|
|
|
- return this.priceList.splice(1,1)
|
|
|
- }else{
|
|
|
- return this.priceList.splice(2,1)
|
|
|
+ if(this.dealerData){
|
|
|
+ if(this.dealerData.dealerType1 == 'special'){
|
|
|
+ return this.priceList.filter((item, index) => index !== 1)
|
|
|
+ }else{
|
|
|
+ return this.priceList.filter((item, index) => index !== 2)
|
|
|
+ }
|
|
|
}
|
|
|
return this.priceList
|
|
|
}
|