|  |  | @@ -76,10 +76,12 @@ Page({ | 
		
	
		
			
			|  |  |  | quanid: quanid, | 
		
	
		
			
			|  |  |  | showTicketModal: false, | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | wx.setStorage({ | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | that.bindCoupon(that.data.quanid); | 
		
	
		
			
			|  |  |  | /* wx.setStorage({ | 
		
	
		
			
			|  |  |  | key: 'chosed', | 
		
	
		
			
			|  |  |  | data: 'chosed', | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }) */ | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | /* | 
		
	
		
			
			|  |  |  | */ | 
		
	
	
		
			
				|  |  | @@ -93,7 +95,7 @@ Page({ | 
		
	
		
			
			|  |  |  | url: config.api.couponOrderCarList, | 
		
	
		
			
			|  |  |  | data: { | 
		
	
		
			
			|  |  |  | pageNum: pageNum, | 
		
	
		
			
			|  |  |  | pageSize: 15, | 
		
	
		
			
			|  |  |  | pageSize: 4, | 
		
	
		
			
			|  |  |  | couponOrderStatus: key | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }).then(res => { | 
		
	
	
		
			
				|  |  | @@ -242,14 +244,14 @@ Page({ | 
		
	
		
			
			|  |  |  | * 只有用户选择了优惠券 | 
		
	
		
			
			|  |  |  | * 才会进行券和车牌的绑定 | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | if (wx.getStorageSync("chosed") && that.data.quanid) { | 
		
	
		
			
			|  |  |  | /* if (wx.getStorageSync("chosed") && that.data.quanid) { | 
		
	
		
			
			|  |  |  | that.getStopFee(that.data.listCardNum); | 
		
	
		
			
			|  |  |  | that.bindCoupon(that.data.quanid); | 
		
	
		
			
			|  |  |  | wx.setStorage({ | 
		
	
		
			
			|  |  |  | key: 'chosed', | 
		
	
		
			
			|  |  |  | data: '', | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | }; | 
		
	
		
			
			|  |  |  | }; */ | 
		
	
		
			
			|  |  |  | if (app.globalData.token) { | 
		
	
		
			
			|  |  |  | // that.initUsrCarList(); | 
		
	
		
			
			|  |  |  | that.initUsrCarList("flags"); | 
		
	
	
		
			
				|  |  | @@ -446,6 +448,7 @@ Page({ | 
		
	
		
			
			|  |  |  | data: postCouponData | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .then(res => { | 
		
	
		
			
			|  |  |  | that.getStopFee(that.data.listCardNum); | 
		
	
		
			
			|  |  |  | that.initUsrCarList(); | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | .catch(err => { | 
		
	
	
		
			
				|  |  | @@ -488,11 +491,14 @@ Page({ | 
		
	
		
			
			|  |  |  | this.setData({ | 
		
	
		
			
			|  |  |  | showTicketModal: true, | 
		
	
		
			
			|  |  |  | allow_load: true, | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | ticketList: [], | 
		
	
		
			
			|  |  |  | curPageNum: 1, | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | if (!this.data.ticketList.length){ | 
		
	
		
			
			|  |  |  | this.getTicketList(0, 1); | 
		
	
		
			
			|  |  |  | /* if (!this.data.ticketList.length){ | 
		
	
		
			
			|  |  |  | this.getTicketList(0, 1); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } */ | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  |  | 
		
	
	
		
			
				|  |  | @@ -503,7 +509,7 @@ Page({ | 
		
	
		
			
			|  |  |  | url: config.api.couponOrderCarList + "?type=5&couponOrderStatus=0", | 
		
	
		
			
			|  |  |  | data: { | 
		
	
		
			
			|  |  |  | pageNum: 1, | 
		
	
		
			
			|  |  |  | pageSize: 15, | 
		
	
		
			
			|  |  |  | pageSize: 4, | 
		
	
		
			
			|  |  |  | couponOrderStatus: 0 | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }).then(res => { | 
		
	
	
		
			
				|  |  | 
 |