Browse Source

修改直接上架修改库位赋值

hella_online_20240821
lijuncheng 3 months ago
parent
commit
f11adc0d0a
  1. 21
      src/pages/putaway/record/putawayRecord.vue

21
src/pages/putaway/record/putawayRecord.vue

@ -483,12 +483,33 @@
this.$refs.comMessage.showQuestionMessage("系统异常:"+res.data.balanceMsg, confirmRes => {
if (confirmRes) {
this.editItem.toLocationCode = code;
var item = this.detailSource.find(res => {
if (res.itemCode == this.editItem.itemCode) {
return res
}
})
if(item){
item.subList.forEach(r=>{
r.toLocationCode =code
})
}
}else {
this.removeRecommendLocation(res.data.expectinNumberList)
}
});
}else {
//
this.editItem.toLocationCode = code;
var item = this.detailSource.find(res => {
if (res.itemCode == this.editItem.itemCode) {
return res
}
})
if(item){
item.subList.forEach(r=>{
r.toLocationCode =code
})
}
}
}

Loading…
Cancel
Save