| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -60,22 +60,22 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  onLoad: function (options) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  onLoad: function(options) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    let that = this; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (Object.keys(options).length!=0){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (Object.keys(options).length != 0) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      that.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        flags: options.flags | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  jumpTo: function () { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  jumpTo: function() { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    // 返回 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    wx.navigateBack({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      url: '/index/passCar' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  handleTap: function (e) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  handleTap: function(e) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.buttonStatus(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      choose: e.target.dataset.cardata, | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -116,7 +116,7 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  chooseNum: function (e) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  chooseNum: function(e) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (e.target.dataset.msg == 'I') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      return | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -340,7 +340,7 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.buttonStatus(); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  submit: function () { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  submit: function() { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (this.data.title != "" && this.data.numFir != "" && this.data.numSco != "" && this.data.numThr != "" && this.data.numFor != "" && this.data.numFive != "" && this.data.numSix != "") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      var carNumber = '' | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      carNumber += this.data.title + this.data.numFir + this.data.numSco + this.data.numThr + this.data.numFor + this.data.numFive + this.data.numSix | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -351,12 +351,11 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      prevPage.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        addCar: carNumber | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      if (this.data.flags =='managepalte'){ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      if (this.data.flags == 'managepalte') { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        wx.navigateBack({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          url: '/pages/managelicenseplate/managelicenseplate?addcar=' + carNumber, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      else{ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      } else { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        wx.navigateBack({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          url: '/index/passCar?addcar=' + carNumber, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        }) | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -364,7 +363,7 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  }, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  buttonStatus: function () { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  buttonStatus: function() { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (this.data.title != "" && this.data.numFir != "" && this.data.numSco != "" && this.data.numThr != "" && this.data.numFor != "" && this.data.numFive != "" && this.data.numSix != "") { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      this.setData({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        buttonStatus: true | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -375,5 +374,4 @@ Page({ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      }); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			}) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			}) |