From 3b9a0380f8dfb24964c0afbd635dc7d2f013d475 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 08 五月 2023 10:38:58 +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