From a6a8a5d583d03f6b6db4881d6c70bb4334506250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 5 May 2022 15:11:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/cart/cartList.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue index 0b3949f..0623bfa 100644 --- a/pages/tabbar/cart/cartList.vue +++ b/pages/tabbar/cart/cartList.vue @@ -51,7 +51,7 @@ - + @@ -110,7 +110,9 @@ 预估到手价 ¥{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[0]}} .{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[1] }} - +
+ {{skuItem.errorMessage}} +
@@ -192,8 +194,8 @@ export default { }, ], isInvalid(val) { - //是否无效商品 - if (val.invalid == 1) { + //是否无效商品/没库存商品 + if (val.invalid == 1 || (!val.checked && val.errorMessage)) { return true; } else { return false;