From 50d3e7652262e74c6d0aef0e573810c7fbcbfc83 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 19 Aug 2024 09:32:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/query/balanceQuery.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mycomponents/query/balanceQuery.vue b/src/mycomponents/query/balanceQuery.vue index 6737c53b..c1949e10 100644 --- a/src/mycomponents/query/balanceQuery.vue +++ b/src/mycomponents/query/balanceQuery.vue @@ -152,6 +152,7 @@ this.showErrorMessage("物料号为空,请先输入物料号") return; } + this.tableData=[] uni.showLoading({ title: "加载中", mask: true @@ -187,7 +188,7 @@ if (res.data && res.data.length > 0) { this.tableData = res.data } else { - this.showErrorMessage(res.data.msg) + this.showErrorMessage("系统异常:按"+res.msg+"未查找到库存") } }).catch(error => {