From b2c94e2cd0e249f58b81676b9181f5541654a73f Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Mon, 17 Jan 2022 11:36:00 +0800 Subject: [PATCH] update --- src/pages/counter/list/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) {