From f8ef6300b340892bdfe3cdca676498dbfd7c771e Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 5 Feb 2026 10:23:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:this=E6=8C=87=E5=90=91=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/inmIn.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index dd344070..0ed59434 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -515,10 +515,11 @@ export default { }, //合批 batchConcat(){ - this.changebatch = true; + let that = this; + that.changebatch = true; let handoverb = []; - if(this.selection.length>0){ - this.selection.forEach(item=>{ + if(that.selection.length>0){ + that.selection.forEach(item=>{ that.Mmodel = item.material_.model; let obj = {}; obj.id = item.id; @@ -531,11 +532,11 @@ export default { handoverb.push(obj) }) } - this.type = 10; - this.tag = 'todo'; - this.dialog.scrap = true; - this.$nextTick(() => { - this.$refs.scrapDialog.open("add",handoverb,30); + that.type = 10; + that.tag = 'todo'; + that.dialog.scrap = true; + that.$nextTick(() => { + that.$refs.scrapDialog.open("add",handoverb,30); }); }, handleScrapSuccess(){