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