|  | @@ -221,7 +221,7 @@
 | 
	
		
			
				|  |  |  					onlyFromCamera: true,
 | 
	
		
			
				|  |  |  					success: (res) => {
 | 
	
		
			
				|  |  |  						// uni.getStorageSync('homestayId'))
 | 
	
		
			
				|  |  | -						console.log('扫描二维码成功,结果:' + JSON.parse(res.result));
 | 
	
		
			
				|  |  | +						console.log('扫描二维码成功,结果:' + JSON.parse(res.result).orderStatus);
 | 
	
		
			
				|  |  |  						let obj = {
 | 
	
		
			
				|  |  |  							orderId: JSON.parse(res.result).orderCode,
 | 
	
		
			
				|  |  |  							isDel: 1
 | 
	
	
		
			
				|  | @@ -233,6 +233,12 @@
 | 
	
		
			
				|  |  |  								icon: 'none',
 | 
	
		
			
				|  |  |  								duration: 1500
 | 
	
		
			
				|  |  |  							})
 | 
	
		
			
				|  |  | +						} else if (JSON.parse(res.result).orderStatus == 2) {
 | 
	
		
			
				|  |  | +							uni.showToast({
 | 
	
		
			
				|  |  | +								title: '该核销码已核销',
 | 
	
		
			
				|  |  | +								icon: 'none',
 | 
	
		
			
				|  |  | +								duration: 1500
 | 
	
		
			
				|  |  | +							})
 | 
	
		
			
				|  |  |  						} else {
 | 
	
		
			
				|  |  |  							uni.navigateTo({
 | 
	
		
			
				|  |  |  								url: '/pages/house/orderDetails?obj=' + JSON.stringify(obj)
 |