Browse Source

bug 修复

lilei 2 years ago
parent
commit
ffdeead632
1 changed files with 7 additions and 3 deletions
  1. 7 3
      pages/digitalShelf/stockPutDetail.vue

+ 7 - 3
pages/digitalShelf/stockPutDetail.vue

@@ -88,12 +88,12 @@
 	   computed: {
 	   },
 	   methods: {
-		   // 复制
-		   copyVin(){
+		// 复制
+		copyVin(){
 			uni.setClipboardData({
 				data: this.vinNumber||'',
 			})
-		   },
+		},
 		 message(title){
 		 	uni.showToast({
 		 		icon:'none',
@@ -102,11 +102,15 @@
 		 }, 
 		 // 查询详情
 		 getPageInfo(val){
+			uni.showLoading({
+				title: "正在加载..."
+			})
 			findShelfReplenishBill({sn:val}).then(res=>{
 				if(res.status==200){
 					this.pageInfo=res.data||null
 					this.partList=res.data.clzReplenishBillDetailApiEntityList||[]
 				}
+				uni.hideLoading()
 			})
 		 }
 	   }