|
@@ -135,10 +135,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.skuList = this.skuProduct.skus
|
|
|
- this.productCount = this.skuList[0].minBuyNumber
|
|
|
- this.handleMinNumber = this.skuList[0].minBuyNumber
|
|
|
- this.handleStock = this.skuList[0].stock
|
|
|
this.initData()
|
|
|
},
|
|
|
computed: {
|
|
@@ -152,7 +148,11 @@ export default {
|
|
|
} else {
|
|
|
this.isShowButton = false
|
|
|
}
|
|
|
- if(this.skuProduct.skuList[0].ladderPriceList){ this.isShowLadder = true }
|
|
|
+ this.skuList = this.skuProduct.skus
|
|
|
+ this.productCount = this.skuList[0].minBuyNumber
|
|
|
+ this.handleMinNumber = this.skuList[0].minBuyNumber
|
|
|
+ this.handleStock = this.skuList[0].stock
|
|
|
+ if(this.skuList[0].ladderPriceList){ this.isShowLadder = true }
|
|
|
},
|
|
|
//popup弹窗数量增加按钮
|
|
|
changeCountAdd() {
|