修改传out

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

@ -259,7 +259,6 @@
setTimeout(()=>{
flag = true
this.firstFocus=false
this.$u.api.invPlan.pdaInvByContainerCode(this.dataForm).then(res=>{
if(!res.rows || res.rows.length == 0){
this.$u.toast("当前托盘内商品不存在");
@ -310,12 +309,12 @@
return;
}
this.$u.api.invPlan.pdaEntrySave(this.form).then(res=>{
if(res.code==200){
if(res.code == 2022){
if(res.msg){
this.$u.toast(res.msg);
}
setTimeout(()=>{
this.$u.api.invPlan.pdaInvByContainerCode({containerCode:this.form.containerCode}).then(res=>{
this.$u.api.invPlan.pdaInvByContainerCode({containerCode:this.form.containerCode,invStatus:'out' }).then(res=>{
if(!res.rows || res.rows.length == 0){
this.$u.toast("当前托盘内商品不存在");
this.dataList=[]

Loading…
Cancel
Save