From 4e4414bc9d1604fd2a3ed443cb9484143eab7e2c Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 15 一月 2026 13:52:19 +0800
Subject: [PATCH] #

---
 pages/listing/matnrPalletising.vue |   32 ++++++++++++++++++--------------
 1 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/pages/listing/matnrPalletising.vue b/pages/listing/matnrPalletising.vue
index a2b82ab..b362b9e 100644
--- a/pages/listing/matnrPalletising.vue
+++ b/pages/listing/matnrPalletising.vue
@@ -6,12 +6,12 @@
 			<view class="cu-form-group margin-top">
 				<view class="title">璁㈠崟鍙�</view>
 				<input placeholder="璇疯緭鍏ヨ鍗曞彿" v-model="asnCode"></input>
-				<text class='cuIcon-search text-blue' @click="search"></text>
+				<!-- <text class='cuIcon-search text-blue' @click="search"></text> -->
 			</view>
 			<view class="cu-form-group">
 				<view class="title">瀹瑰櫒鍙�</view>
-				<input placeholder="璇锋壂鎻忓鍣ㄧ紪鐮�" v-model="container" focus></input>
-				<text class='cuIcon-search text-blue' @click="getList"></text>
+				<input placeholder="璇锋壂鎻忓鍣ㄧ紪鐮�" v-model="container" @input="getList" focus></input>
+				<!-- <text class='cuIcon-search text-blue' @click="getList"></text> -->
 			</view>			
 			<view class="cu-form-group">
 				<view class="title">鐗╂枡鍙�</view>
@@ -27,7 +27,7 @@
 		
 		</view>
 
-		<view class="padding-lr margin-top-sm">
+		<view class="padding-lr margin-top-sm" style="padding-bottom: 120upx;">
 			<block v-for="(item, index) in list" :key="index">
 				<view class="cu-list det menu sm-border margin-bottom-sm " :class="[item.trackCode===barcode&&'act']"
 					:ref="item.trackCode+'ref'">
@@ -154,7 +154,7 @@
 					<view class="form-item">
 						<text class="form-label">鐩爣搴撳尯</text>
 						<view class="input-wrapper picker-wrapper">
-							<picker mode="selector" :range="rangeText" @change="pickerChange">
+							<picker class="picker" mode="selector" :range="rangeText" @change="pickerChange">
 								<view class="picker-view">
 									<text>{{ whAreaId ? selectedText : '璇烽�夋嫨搴撳尯' }}</text>
 									<text class="cuIcon-right picker-arrow"></text>
@@ -205,7 +205,7 @@
 		computed: {
 			...mapState('user', ['dynamicFields']),
 			allCount() {
-				return this.list.reduce((acc, row) => +row.anfme + acc, 0) || 0
+				return this.list.reduce((acc, row) => +row.receiptQty + acc, 0) || 0
 			},
 			rangeText() {
 				return this.range.map(item => item.text)
@@ -216,7 +216,7 @@
 			}
 		},
 		mounted() {
-			this.getRece()
+			// this.getRece()
 			// 鑾峰彇鎸夐挳鏉冮檺
 			this.buttonPermissions = uni.getStorageSync('buttonPermissions') || [];
 			console.log('褰撳墠椤甸潰鎸夐挳鏉冮檺:', this.buttonPermissions);
@@ -323,11 +323,12 @@
 					barcode: this.container
 				})
 				if (code === 200) {
-					uni.showToast({
-						title: msg,
-						icon: "success",
-						position: 'top'
-					})
+					this.range = data.map(item => ({
+						value: item.id,
+						text:  item.name
+					}));
+					
+					this.whAreaId = this.range[0].value					
 				} else {
 					uni.showToast({
 						title: msg,
@@ -534,7 +535,7 @@
 			if (code === 200) {
 				this.range = data.map(item => ({
 					value: item.id,
-					text: item.warehouseId$ + "-- " + item.name
+					text:  item.name
 				}));
 			}
 		},
@@ -664,6 +665,9 @@
 		color: #333;
 		background-color: transparent;
 	}
+	.picker{
+		width: 100%;
+	}
 	
 	.picker-view {
 		width: 100%;
@@ -672,7 +676,7 @@
 		font-size: 30rpx;
 		color: #333;
 		display: flex;
-		justify-content: space-between;
+		justify-content:space-between;
 		align-items: center;
 	}
 	

--
Gitblit v1.9.1