xuxueyang
2024-07-30 e4233b5c4e123c4b79a38d0a9b0c8b60631e1683
sub_pages/customer/shop/shop.vue
@@ -316,6 +316,13 @@
            if (!item.shopnum) {
               item.shopnum = 0
            }
            if (!item.stock) {
               item.stock = 0
            }
            if (item.shopnum + addnum > item.stock) {
               this.$message.showToast('库存不足,无法添加')
               return
            }
            if (item.shopnum + addnum >= 0) {
            } else {