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) {