From f2232657e8109b0ed4f76b3913e0d4b9713e2af6 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 18 三月 2024 07:54:56 +0800
Subject: [PATCH] #

---
 pages/project/jmAGV/home.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/pages/project/jmAGV/home.vue b/pages/project/jmAGV/home.vue
index 02e5634..61a83ab 100644
--- a/pages/project/jmAGV/home.vue
+++ b/pages/project/jmAGV/home.vue
@@ -40,7 +40,7 @@
 			<uni-popup ref="inputPopup" type="dialog">
 				<view class="popup3">
 					<view class="popup3-input-title">{{tipsTitle}}</view>
-					<view class="popup3-input-box2" :class="item.chose"
+					<view class="popup3-input-box2"  :class="item.chose" 
 						v-if="!meterShow" v-for="item in emptyMatList" @click="chose(item.matnr)">
 						<view>
 							{{item.maktx}}
@@ -122,7 +122,7 @@
 		},
 		methods: {
 			jump() {
-				uni.navigateTo({
+				uni.redirectTo({
 					url: '/pages/project/jmAGV/floorOne'
 				})
 			},
@@ -148,6 +148,7 @@
 					} else {
 						k.chose = ''
 					}
+					this.$forceUpdate() // 寮哄埗鍒锋柊
 				}
 				this.code = matnr
 			},
@@ -208,6 +209,7 @@
 						success(res) {
 							res = res.data
 							if (res.code === 200) {
+								res.data['chose'] = ''
 								that.emptyMatList = res.data
 								
 							}
@@ -329,7 +331,7 @@
 		margin: 10rpx 0rpx;
 		/* padding: 20rpx 70rpx; */
 		/* background-color: azure; */
-		min-width: 150rpx;
+		min-width: 100rpx;
 		/* margin: 0 auto; */
 		height: 50rpx;
 		text-align: center;
@@ -400,8 +402,8 @@
 		background-color: #FFF;
 	}
 	.chosed {
-		background-color: #09d174;
-		color: #cecece;
+		background-color: #67C23A;
+		color: #e8e8e8;
 	}
 	.select {
 		position: absolute;

--
Gitblit v1.9.1