Task:多店铺选择
This commit is contained in:
@@ -1363,7 +1363,7 @@ export default {
|
||||
},
|
||||
// 点击加入购物车按钮
|
||||
joinCart() {
|
||||
if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0 || storeInfo.isNegotiable === 1) {
|
||||
if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0 || this.storeInfo.isNegotiable === 1) {
|
||||
return
|
||||
}
|
||||
// 0=加入购物车
|
||||
@@ -1372,7 +1372,7 @@ export default {
|
||||
},
|
||||
// 立即购买
|
||||
tapBuy() {
|
||||
if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0 || storeInfo.isNegotiable === 1) {
|
||||
if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0 || this.storeInfo.isNegotiable === 1) {
|
||||
return
|
||||
}
|
||||
// 1=直接购买
|
||||
|
||||
Reference in New Issue
Block a user