diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index 242fbd2..565a043 100644 --- a/pages/inventory/index.vue +++ b/pages/inventory/index.vue @@ -311,11 +311,14 @@ } this.$u.api.invPlan.pdaEntrySave(this.form).then(res=>{ if(res.code==200){ - this.$u.toast("修改完成"); + if(res.msg){ + this.$u.toast(res.msg); + } setTimeout(()=>{ this.$u.api.invPlan.pdaInvByContainerCode({containerCode:this.form.containerCode}).then(res=>{ if(!res.rows || res.rows.length == 0){ - this.$u.toast("当前托盘内商品不存在"); + this.$u.toast("当前托盘内商品不存在"); + this.dataList=[] }else if(res.code == '200'){ if(res.msg){ this.$u.toast(res.msg);