From 1cf0d6313e14caa618fc6dfbbe44a01fad25df3e Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 18 五月 2023 15:12:59 +0800 Subject: [PATCH] # --- pages/order/orderPakin.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/order/orderPakin.vue b/pages/order/orderPakin.vue index 27c1397..54522dd 100644 --- a/pages/order/orderPakin.vue +++ b/pages/order/orderPakin.vue @@ -157,7 +157,8 @@ content: '', barcodeFocus: true, matFocus: false, - matData: '' + matData: '', + removeNum: 0 } }, onShow() { @@ -359,6 +360,7 @@ }, // 鍒楄〃绉婚櫎鎸夐挳 remove(item, i, type) { + this.removeNum = i this.msgType = type this.title = '璀﹀憡' this.content = '鏄惁绉婚櫎褰撳墠鍟嗗搧!' @@ -368,7 +370,7 @@ removeConfirm(i) { this.messageText = "绉婚櫎鎴愬姛" this.messageToggle('success') - this.dataList.splice(i, 1) + this.dataList.splice(this.removeNum, 1) }, reviseConfirm() { this.dataList[this.rowNum].anfme = this.count -- Gitblit v1.9.1