diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index f6f0eb8..242fbd2 100644 --- a/pages/inventory/index.vue +++ b/pages/inventory/index.vue @@ -317,7 +317,9 @@ if(!res.rows || res.rows.length == 0){ this.$u.toast("当前托盘内商品不存在"); }else if(res.code == '200'){ - this.$u.toast(res.msg); + if(res.msg){ + this.$u.toast(res.msg); + } this.dataList=res.rows setTimeout(()=>{ this.dataForm.containerCode=''