From d9a7c7c211c15f4a1568c2efdca5b29f5c0f7bf7 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期日, 15 六月 2025 17:46:04 +0800
Subject: [PATCH] #

---
 pages/basics/matQuerySelect.vue |   33 ++++++++-------------------------
 1 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/pages/basics/matQuerySelect.vue b/pages/basics/matQuerySelect.vue
index 4329f21..7f5d42c 100644
--- a/pages/basics/matQuerySelect.vue
+++ b/pages/basics/matQuerySelect.vue
@@ -1,11 +1,11 @@
 <template>
 	<scroll-view scroll-y>
 		<view>
-			<view class="text-box" style="min-height: 100rpx;">
-				<view class="text-title"><text>璁㈠崟锛�</text></view>
-				<uni-data-checkbox v-model="checkOrder" :localdata="orderList" @change="orderChange"></uni-data-checkbox>
-			</view>
 			<view class="container">
+				<view class="text-box">
+					<view class="text-title"><text>璁㈠崟</text></view>
+					<view class="text-title">{{checkOrder}}</view>
+				</view>
 				<view class="text-box">
 					<view class="text-title"><text>鍝佸悕</text></view>
 					<view class="text-title">{{matData.maktx}}</view>
@@ -69,8 +69,6 @@
 				baseIP:'',
 				basePORT:'',
 				checkOrder: null,
-				orderList: [],
-				orderDataList: []
 			}
 		},
 		onLoad(option) {
@@ -84,16 +82,10 @@
 			
 			// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
 			eventChannel.on('matData', function(data) {
-				let list = data.data;
-				let dataList = []
-				list.forEach((item) => {
-					dataList.push({
-						text: item.orderNo,
-						value: item.orderNo
-					})
-				})
-				that.orderList = dataList;
-				that.orderDataList = list;
+				let item = data.data;
+				that.matData = item.matData
+				that.matData.checkOrder = item.orderNo
+				that.checkOrder = item.orderNo
 			})
 			
 			
@@ -124,15 +116,6 @@
 				uni.vibrateShort();
 				uni.navigateBack({
 					
-				})
-			},
-			orderChange() {
-				let that = this
-				this.orderDataList.forEach((item) => {
-					if(item.orderNo == that.checkOrder) {
-						that.matData = item.matData
-						that.matData.checkOrder = item.orderNo
-					}
 				})
 			}
 		}

--
Gitblit v1.9.1