xuxueyang
2024-07-31 d18a571aa4dacab6928dbc8c6c45d5aa3f291afb
sub_pages/customer/trade/detail.vue
@@ -172,7 +172,7 @@
               } else {
                  if (!item.stock || t > item.stock) {
                     this.$message.showToast('库存不足无法修改')
                     this.$message.showToast('库存不足无法修改')
                     return
                  }
                  this.addnum(item, (t - item.shopnum))
@@ -223,7 +223,9 @@
         },
         async refreshShopNum() {
            this.shopnum = await this.$store.dispatch('countShopping');
            this.shopnum = await this.$store.dispatch('countShopping');
            this.$store.dispatch('sign_add','shopnum')
         },
         async collectItem(dto) {
            if (!this.currentInfo.id) {