From 9dba76a130bf214aa540c8c5ffbd781590afe4f1 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 06 四月 2024 12:28:24 +0800
Subject: [PATCH] #

---
 pages/phyz/stationManage/stationManage.vue |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/pages/phyz/stationManage/stationManage.vue b/pages/phyz/stationManage/stationManage.vue
index 77b6f92..02646d8 100644
--- a/pages/phyz/stationManage/stationManage.vue
+++ b/pages/phyz/stationManage/stationManage.vue
@@ -9,7 +9,7 @@
 			<view class="list-left">
 				<view>宸ヤ綅缂栧彿锛歿{item.devNo}}</view>
 				<view>绔欑偣鐘舵�侊細{{item.locSts$}}</view>
-				<view>鏉″舰鐮侊細{{item.barcode}}</view>
+				<view>璐ф灦鐮侊細{{item.barcode}}</view>
 				<view>绔欑偣绫诲瀷锛歿{item.locType1$}}</view>
 				<!-- <view class="card-id">{{i + 1}}</view> -->
 			</view>
@@ -118,13 +118,11 @@
 				option: 'pick'
 			}
 		},
-		onLoad() {
+		onShow() {
 			this.baseUrl = uni.getStorageSync('baseUrl');
 			this.token = uni.getStorageSync('token');
 			this.getBasDevp('all')
-		},
-		onShow() {
-			
+			this.searchValueFocus = true
 		},
 		methods: {
 			searchValueInput() {
@@ -165,14 +163,15 @@
 								}
 								_this.stations = res.data.records  
 							} else {
+								console.log(123213);
 								for (let item of res.data.records) {
-									_this.station = item
-									if (item.barcode) {
-										_this.getWrkMast(item.barcode)
-										_this.getWaitPakin(item.barcode)
-										
+									if (item.locSts != 'O') {
+										item['style'] = 'station-wrk'
 									} else {
+										item['style'] = 'station-nowrk'
 									}
+									_this.station = item
+									_this.getOrderDetl(_this.station)
 								}
 							}
 							
@@ -380,13 +379,13 @@
 						// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�   鍚戝彟澶栦竴涓〉闈紶閫掑�肩殑
 						res.eventChannel.emit('item', {
 							item: item
-						})
+						}),
+						_this.searchValue = ''
 					},
 					events: {
 						// 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�  鍙﹀涓�涓〉闈紶杩囨潵鐨�
 						acceptDataFromOpenedPage: function(data) {
-							// _this.matnr = data.data
-							_this.input(_this.matnr)
+							_this.searchValueFocus = true
 						},
 					},
 				});

--
Gitblit v1.9.1