lilei 3 سال پیش
والد
کامیت
35613838da
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      pages/latePlay/chooseBulk.vue

+ 4 - 3
pages/latePlay/chooseBulk.vue

@@ -5,10 +5,11 @@
 			placeholder="请输入货柜名称搜索" 
 			placeholder="请输入货柜名称搜索" 
 			v-model="queryWord" 
 			v-model="queryWord" 
 			:show-action="isGobleSearch" 
 			:show-action="isGobleSearch" 
-			@focus="isGobleSearch=true" 
+			@focus="isGobleSearch=true"
+			@blur="isGobleSearch=false"
 			@custom="searchPart" 
 			@custom="searchPart" 
 			@search="searchPart" 
 			@search="searchPart" 
-			@clear="searchPart"
+			@clear="clearSearch"
 			:action-style="{'color': '#fff', 'font-size': '24upx', 'background-color': '#57a3f3', 'border-radius': '6upx', 'padding': '12upx 0'}">
 			:action-style="{'color': '#fff', 'font-size': '24upx', 'background-color': '#57a3f3', 'border-radius': '6upx', 'padding': '12upx 0'}">
 			</u-search>
 			</u-search>
 		</view>
 		</view>
@@ -62,11 +63,11 @@
 				this.queryWord = ''
 				this.queryWord = ''
 				this.pageNo = 1
 				this.pageNo = 1
 				this.shelfList = []
 				this.shelfList = []
+				this.getShelfList()
 			},
 			},
 			// 搜索配件
 			// 搜索配件
 			searchPart(){
 			searchPart(){
 				if(this.queryWord != ''){
 				if(this.queryWord != ''){
-					this.clearSearch()
 					this.getShelfList()
 					this.getShelfList()
 				}
 				}
 			},
 			},