From 98945badb71cd48e66fd64af2c8f3528f19a18ad Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期六, 26 二月 2022 10:24:05 +0800
Subject: [PATCH] #

---
 pages/basics/stockQuery.vue |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/pages/basics/stockQuery.vue b/pages/basics/stockQuery.vue
index df2f787..ac832a3 100644
--- a/pages/basics/stockQuery.vue
+++ b/pages/basics/stockQuery.vue
@@ -6,7 +6,7 @@
 		</view>
 		<view class="cu-form-group margin-top">
 			<view class="title">浜у搧</view>
-			<input v-model="matNo" placeholder="浜у搧淇℃伅" name="input" @input="findByMatNo()"></input>
+			<input v-model="matNo" placeholder="浜у搧ID" name="input" @input="findByMatNo()"></input>
 		</view>
 		<view class="margin-top">
 			<uni-table border stripe emptyText="鏆傛棤鏇村鏁版嵁">
@@ -49,6 +49,7 @@
 				let that = this;
 				that.locNo = '';
 				that.matNo = '';
+				that.locDetlData = [];
 			},
 			// 鏍规嵁搴撲綅鍙锋煡鎵惧簱瀛樻槑缁�
 			findByLocNo(){
@@ -85,12 +86,9 @@
 							if(res.data.data != null){
 								that.locDetlData = res.data.data
 							} else if (res.data.code ===403){
-								uni.navigateBack({
-								    delta: 1
-								})
+								
 							} else {
-								this.messageToggle('error')
-								this.messageText = res.data.msg
+								
 							}
 						}
 					}
@@ -102,16 +100,19 @@
 </script>
 
 <style>
-	.reset {
+	/* .reset {
 		
 		position: absolute;
 		width: 750upx;
-		bottom: 80upx;
-	}
+		bottom: 280upx;
+	} */
 	.pda-btn1 {
-		display: flex;
-		flex-direction:row;
-		justify-content: center;
-		width: 150upx;
+		margin-left:260rpx;
+		margin-right: auto;
+		margin-top: 150rpx;
+		width: 200rpx;
+		height: 80rpx;
+		font-size: 30upx;
+		font-weight: bold;
 	}
 </style>

--
Gitblit v1.9.1