diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 9caba51..3017dba 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -984,8 +984,10 @@ export default { if(that.$refs.popUp) { if(that.myMap) { - that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) - that.pushThings({ idArr: [that.goodsShelfTotalData[evt.oldIndex].id], name: that.myMap}) + const id = that.goodsShelfTotalData[evt.oldIndex].id + + that.outThingsGoods([id]) + that.pushThings({ idArr: [id], name: that.myMap}) }else{ for(var i=0;i { if(this.myMap) { + console.log(item.id) this.outThingsGoods([ item.id ]) this.pushThings({ idArr: [item.id], name: this.myMap}) + }else { const index = this.receptionList.findIndex(item2 => item2.id === item.id) if(index === -1) {