|  |  | @@ -28,7 +28,8 @@ Page({ | 
		
	
		
			
			|  |  |  | spellStatusList: spellStatus, | 
		
	
		
			
			|  |  |  | isMyself: false, | 
		
	
		
			
			|  |  |  | showErr: false, | 
		
	
		
			
			|  |  |  | showAlert: false | 
		
	
		
			
			|  |  |  | showAlert: false, | 
		
	
		
			
			|  |  |  | disabled:false | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | gotoAgain() { | 
		
	
		
			
			|  |  |  | let data = this.data.data; | 
		
	
	
		
			
				|  |  | @@ -121,6 +122,9 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .then(res => { | 
		
	
		
			
			|  |  |  | wx.hideLoading() | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | disabled: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (res.data.orderStatus == 14) { | 
		
	
		
			
			|  |  |  | _this.setData({ | 
		
	
		
			
			|  |  |  | showErr: true | 
		
	
	
		
			
				|  |  | @@ -137,6 +141,9 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
		
			
			|  |  |  | console.log(err); | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | disabled: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (err.code!=12002){ | 
		
	
		
			
			|  |  |  | setTimeout(function () { | 
		
	
		
			
			|  |  |  | _this.payOrderUpdate(orderId, payOrderId, status, reason, _this, orderGroupId); | 
		
	
	
		
			
				|  |  | @@ -149,6 +156,9 @@ Page({ | 
		
	
		
			
			|  |  |  | wx.showLoading({ | 
		
	
		
			
			|  |  |  | title: '支付创建中...', | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | disabled:true | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | Http.post({ | 
		
	
		
			
			|  |  |  | url: config.api.payOrderCreate, | 
		
	
		
			
			|  |  |  | data: { | 
		
	
	
		
			
				|  |  | @@ -186,7 +196,8 @@ Page({ | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | showbutton: false, | 
		
	
		
			
			|  |  |  | canSpell: true, | 
		
	
		
			
			|  |  |  | canBuyIf: true | 
		
	
		
			
			|  |  |  | canBuyIf: true, | 
		
	
		
			
			|  |  |  | disabled: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | return; | 
		
	
		
			
			|  |  |  | }, | 
		
	
	
		
			
				|  |  | @@ -197,7 +208,8 @@ Page({ | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
		
			
			|  |  |  | that.setData({ | 
		
	
		
			
			|  |  |  | canSpell: true, | 
		
	
		
			
			|  |  |  | canBuyIf: true | 
		
	
		
			
			|  |  |  | canBuyIf: true, | 
		
	
		
			
			|  |  |  | disabled: false | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | wx.showToast({ | 
		
	
		
			
			|  |  |  | title: err.message, | 
		
	
	
		
			
				|  |  | 
 |