|
|
@@ -285,13 +285,13 @@ export default {
|
|
|
this.thirdSend = res.data.thirdSend
|
|
|
this.thirdSendFee = res.data.thirdSendFee
|
|
|
// 加载零售配置
|
|
|
- this.flowerMaterials = res.data.hcMap ? JSON.parse(res.data.hcMap) : [{num:0,price:0,distance:0}]
|
|
|
+ this.flowerMaterials = res.data.hcMap ? JSON.parse(res.data.hcMap) : []
|
|
|
this.hcFreeKm = res.data.hcFreeKm ? res.data.hcFreeKm : 0
|
|
|
this.hsFreeKm = res.data.hsFreeKm ? res.data.hsFreeKm : 0
|
|
|
this.hsAddFee = res.data.hsAddFee ? res.data.hsAddFee : 0
|
|
|
|
|
|
// 加载批发配置
|
|
|
- this.pfFlowerMaterials = res.data.pfHcMap ? JSON.parse(res.data.pfHcMap) : [{num:0,price:0,distance:0}]
|
|
|
+ this.pfFlowerMaterials = res.data.pfHcMap ? JSON.parse(res.data.pfHcMap) : []
|
|
|
this.pfHcFreeKm = res.data.pfHcFreeKm ? res.data.pfHcFreeKm : 0
|
|
|
}
|
|
|
})
|