Commit 1ea1486d by 王志慧

修复次新车导致的bug

1 parent f8b46852
......@@ -552,6 +552,7 @@ export default {
this.minPirceForAll = goods[0].retailPrice
goods.forEach((item, index) => {
if (item.retailPrice < this.minPirceForAll) {
console.log(item)
this.minPirceForAll = item.retailPrice
}
})
......
......@@ -523,7 +523,7 @@ export default {
} else {
this.$refs.proGroupRef.tableHeightValues = ''
this.$refs.proGroupRef.data.forEach(item => {
item.saleAmount = item.goodsStatistics.saleAmount
item.saleAmount = item.goodsStatistics&&item.goodsStatistics.saleAmount
if (item.specificationDetailList && item.specificationDetailList.length > 1) {
let retailPriceList = JSON.parse(JSON.stringify(item.specificationDetailList))
retailPriceList.sort((a, b) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!