列表清空

master
Mr.sun 2 years ago
parent deea410d2c
commit ad3728fffe
  1. 5
      pages/inventory/index.vue

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

Loading…
Cancel
Save