购物车功能,手机号码兼容台湾香港
This commit is contained in:
@@ -454,7 +454,7 @@
|
||||
this.$refs.commonSelectGoods.open();
|
||||
},
|
||||
//点击下单按钮
|
||||
onHandleClickBuy() {
|
||||
onHandleClickBuy(e) {
|
||||
if(this.buttonType==0){ //如果是加入购物车
|
||||
console.log('剩余', this.selectGoodsData.productStock)
|
||||
if(this.selectGoodsData.productStock==0){
|
||||
@@ -476,7 +476,10 @@
|
||||
productImages: this.selectGoodsData.productImages,
|
||||
productId: this.selectGoodsData.productId,
|
||||
productName: this.selectGoodsData.productName,
|
||||
activityPrice: this.selectGoodsData.activityPrice,
|
||||
price: this.selectGoodsData.price,
|
||||
goodsType: this.selectGoodsData.goodsType,
|
||||
productAmount: 1,
|
||||
}],
|
||||
typeId: 0
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user