|
@@ -7,7 +7,8 @@ var supportMixins = function () {
|
|
|
skuIndex:0,
|
|
|
skuSupportingIndex:0,
|
|
|
isbtnDisable:false,
|
|
|
- handldSku:{}
|
|
|
+ handldSku:{},
|
|
|
+ handlePros:{}
|
|
|
}
|
|
|
},
|
|
|
mounted: function() {
|
|
@@ -29,8 +30,11 @@ var supportMixins = function () {
|
|
|
pros.isSkuPopup = false;
|
|
|
},
|
|
|
handleSupportingChoisSku(pros,sku,index){// 配套商品选择规格
|
|
|
- this.handldSku = sku
|
|
|
+ this.handlePros = pros;
|
|
|
+ this.handldSku = sku;
|
|
|
this.skuSupportingIndex = index;
|
|
|
+ this.handlePros.price = sku.price
|
|
|
+ this.handlePros.originalPrice = sku.originalPrice
|
|
|
this.isbtnDisable = sku.stock === 0;
|
|
|
},
|
|
|
handleSupportingSubmit (type) {
|