From 69a250cf6bb606f8e2d6a1d8e69be4966fa3cd90 Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Tue, 16 Apr 2024 15:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/inventory/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index 565a043..85de627 100644 --- a/pages/inventory/index.vue +++ b/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=[]