padEntrySave

master
Mr.sun 2 years ago
parent 2cdf8ebf19
commit 75bd457ac4
  1. 2
      common/http.api.js
  2. 4
      pages/inventory/index.vue

@ -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),
},

@ -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(()=>{

Loading…
Cancel
Save