From 2e838088dbd1ef0aaa888823c36fe414b8cbd8b5 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Wed, 2 Apr 2025 00:23:18 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3581=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BC=80=E5=90=AF=E4=BA=86?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E9=9D=A2=E8=AE=AE=E7=9A=84=E5=95=86=E5=93=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=EF=BC=8C=E7=82=B9=E5=87=BB=E3=80=90?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=E8=B4=AD=E7=89=A9=E8=BD=A6=E3=80=91=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=B2=A1=E6=9C=89=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index ae19de3..fb0e9be 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -1365,6 +1365,10 @@ export default { }, // 点击加入购物车按钮 joinCart() { + if(this.storeInfo.isNegotiable === 1) { + this.$u.toast('该商品为面议商品,无法加入购物车') + return + } if ((this.attr.productSelect.stock === 0 && this.attr.cartAttr) || this.storeInfo.stock === 0 || this.storeInfo.isNegotiable === 1) { return }