| 
					
				 | 
			
			
				@@ -167,10 +167,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.dto.id = uni.getStorageSync('merchantId')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.dto.id = uni.getStorageSync('merchantId')
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.$api.detectionContent(this.dto.name).then(result => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				let newDto = JSON.parse(JSON.stringify(this.dto));
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				newDto.idCard = this.$aesTm.encrypt(newDto.idCard);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				newDto.legalPerson = this.$aesTm.encrypt(newDto.legalPerson);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				newDto.linkName = this.$aesTm.encrypt(newDto.linkName);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				newDto.phone = this.$aesTm.encrypt(newDto.phone);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				// return console.log(newDto,'this.dto');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.$api.detectionContent(newDto.name).then(result => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (result.code !== 0) return this.$showToast(result.msg);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.$api.put('/api/merchant/food/updateMerchantInfo', this.dto).then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.$api.put('/api/merchant/food/updateMerchantInfo', newDto).then(res => {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						if (res.data.code == 0) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							this.$showToast('保存成功');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						}
 
			 |