| 
					
				 | 
			
			
				@@ -186,7 +186,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.self_data[0] = '河北省三河市燕郊开发区理想新城一期南区';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.self_data[1] = '北京';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.bottom[this.index] = this;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.freight_price = this.item.goods.freight.price;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if (this.item.goods.freight) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.freight_price = this.item.goods.freight.price;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.getInfo();
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.getData(1);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	},
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -301,6 +304,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.payPrice = parseFloat(this.item.goods.price.list[this.attrKey].price) * this.buyNum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if (this.item.goods.freight) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				this.item.goods.freight.first_num = parseInt(this.item.goods.freight.first_num);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				var price = parseFloat(this.item.goods.freight.first_price);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if (this.kuNum > this.item.goods.freight.first_num) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					var num = this.kuNum - this.item.goods.freight.first_num;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					price = parseFloat(price + (this.item.goods.freight.next_price*num));
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				if (this.item.goods.freight.type == 2) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.freight_price = this.payPrice*(price/100);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} else {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					this.freight_price = price;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		},
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		showModal : function() {
 
			 |