From 75bd457ac41967ceec69c3ae389b98f8709740c6 Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Mon, 15 Apr 2024 11:03:20 +0800 Subject: [PATCH] padEntrySave --- common/http.api.js | 2 ++ pages/inventory/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/http.api.js b/common/http.api.js index fb493e0..442019c 100644 --- a/common/http.api.js +++ b/common/http.api.js @@ -134,6 +134,8 @@ const install = (Vue, vm) => { pdaInvByContainerCode:(params={})=>vm.$u.get('/wms/stock/inv/pdaInvByContainerCode',params), //修改接口 确认 entrySave:(params={})=>vm.$u.post('/wms/stock/inv/entrySave',params), + //修改接口 确认 + pdaEntrySave:(params={})=>vm.$u.post('/wms/stock/inv/pdaEntrySave',params), //确认无误 confirm:(params={})=>vm.$u.post('/wms/stock/inv/confirm',params), }, diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index 7fdd20a..bd71b6f 100644 --- a/pages/inventory/index.vue +++ b/pages/inventory/index.vue @@ -309,13 +309,13 @@ this.$u.toast("请输入数量"); return; } - this.$u.api.invPlan.entrySave(this.form).then(res=>{ + this.$u.api.invPlan.pdaEntrySave(this.form).then(res=>{ if(res.code==200){ this.$u.toast("修改完成"); 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("当前托盘内商品不存在"); }else if(res.code == '200'){ this.dataList=res.rows setTimeout(()=>{