| 
					
				 | 
			
			
				@@ -266,11 +266,11 @@ $(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (lastMaterialListNum === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             console.log(newMaterialData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // postData(preUrl + '/measure/material/add', newMaterialData, function (result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //     window.location.href = preUrl + '/measure/material/' + result.order; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // }, function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            postData(preUrl + '/measure/material/add', newMaterialData, function (result) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                window.location.href = preUrl + '/measure/material/' + result.order; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _self.attr('disabled', false).text('确认添加'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $('#add-qi').modal('hide'); 
			 |