From 557ba4c410f34b4cf32dc372a888f69fbac7a2de Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 28 六月 2025 17:29:31 +0800
Subject: [PATCH] no message

---
 pages/pakin/pakin.vue |   49 ++++++++++++++++++++++++++++++-------------------
 1 files changed, 30 insertions(+), 19 deletions(-)

diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue
index 4c5a965..d37fb3e 100644
--- a/pages/pakin/pakin.vue
+++ b/pages/pakin/pakin.vue
@@ -14,10 +14,10 @@
 					<text style="text-align: right;color: #409EFF;" @click="findMat()">鎻愬彇+</text>
 					<uni-icons type="right" color="#c1c1c1"></uni-icons>
 				</view>
-			</view>
+			</view>
+			<uni-section title="鍟嗗搧鍒楄〃" type="line" class="mat-list-title"></uni-section>
 		</view>
-		<view class="mat-list-title">
-			<div>鍟嗗搧鍒楄〃</div>
+		<view class="list-view">
 			<scroll-view>
 				<view class="list" v-for="(item,i) in dataList" :key="i">
 					<view class="list-left">
@@ -175,15 +175,15 @@
 				// 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏�
 				setTimeout(() => {
 					var len = this.barcode.length
-					if (len != 8) {
-						uni.showToast({
-							title: '鎵樼洏鐮佹湁璇閲嶈瘯',
-							icon: "none",
-							position: 'top'
-						});
-						// this.barcodeFocuss()
-						return;
-					}
+					// if (len != 8) {
+					// 	uni.showToast({
+					// 		title: '鎵樼洏鐮佹湁璇閲嶈瘯',
+					// 		icon: "none",
+					// 		position: 'top'
+					// 	});
+					// 	// this.barcodeFocuss()
+					// 	return;
+					// }
 					// this.focuss()
 				}, 200)
 			},
@@ -396,6 +396,7 @@
 			resst() {
 				this.dataList = []
 				this.barcode = ''
+				this.matnr = ''
 				this.barcodeFocuss()
 			},
 		}
@@ -403,17 +404,30 @@
 </script>
 
 <style>
-	@import url('../../static/css/wms.css/wms.css');
+	@import url('../../static/css/wms.css/wms.css');
+	
+	.uni-section {
+		margin-top: 0rpx;
+
+		.uni-section__content-title {
+			font-size: 16px !important;
+		}
+	}
 
 	.list {
 		border-radius: unset;
 		margin: auto;
 		margin-top: 20rpx;
 		padding: 10rpx;
+	}
+	
+	.list-view {
+		width: 100%;
+		position: relative;
 	}
 
 	.list:first-child {
-		margin-top: 20rpx;
+		margin-top: 320rpx;
 	}
 	.code {
 		width: 100%;
@@ -457,11 +471,8 @@
 		line-height: 80rpx;
 		width: 100%;
 		background-color: white;
-		position: fixed;
-		margin-top: 200rpx;
+		position: relative;
+		font-weight: 500;
 		z-index: 9;
-		/* border-top: 1px solid #DCDFE6; */
-		text-align: center;
-		/* box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); */
 	}
 </style>

--
Gitblit v1.9.1