From 52728d73e675dcdd31ab708e1c1eb1cf2e4a3cb1 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 12 May 2023 14:22:26 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/product.vue | 6 ++++++ .../supplier/company/basicCompanyproductEdit.vue | 15 +++++++++++++++ src/views/system/dept/invWarehouse.vue | 6 +++--- src/views/userManage/param/basicProductConfig.vue | 4 +++- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 1be8d4e..95b582b 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -1973,6 +1973,12 @@ export default { isAdavence: row.isAdavence, }; this.editFormat = JSON.parse(JSON.stringify(row)); + if( this.editFormat.overStockNum == null){ + this.editFormat.overStockNum = 0; + } + if( this.editFormat.lowStockNum == null){ + this.editFormat.lowStockNum = 0; + } this.editDiDialogVisible = true; }, closeDialog() { diff --git a/src/views/supplier/company/basicCompanyproductEdit.vue b/src/views/supplier/company/basicCompanyproductEdit.vue index 4e5bfe8..d934962 100644 --- a/src/views/supplier/company/basicCompanyproductEdit.vue +++ b/src/views/supplier/company/basicCompanyproductEdit.vue @@ -133,6 +133,20 @@ + + + + + + + + + + { diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index 59c7b49..b75ce5e 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -124,7 +124,7 @@ { this.systemLoading = false; - this.systemList = response.data.list || []; + this.systemLists = response.data.list || []; + this.systemList = this.systemLists.filter(item => item.paramValue !=0); this.systemTotal = response.data.total || 0; }) .catch(() => {