From a0a9eaff459bc97c9924f5b8a41c0efe37ec9483 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Fri, 15 Nov 2024 16:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9Bbug=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/repair/stockOperate/Components/WaresItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/repair/stockOperate/Components/WaresItem.vue b/src/views/repair/stockOperate/Components/WaresItem.vue index 0079e3c..d9022a9 100644 --- a/src/views/repair/stockOperate/Components/WaresItem.vue +++ b/src/views/repair/stockOperate/Components/WaresItem.vue @@ -327,7 +327,7 @@ export default { item.waresCount = this.type ? count : item.waresAlreadyCount item.isStock = this.type ? count <= item.wares.stock : true }) - this.items = this.items.filter(item => this.type ? (item.waresCount > item.waresAlreadyCount) : (item.waresAlreadyCount > 0)) + this.items = this.items.filter(item => this.type ? item.waresCount > 0 : item.waresAlreadyCount > 0) } finally { this.dialogLoading = false }