| 
					
				 | 
			
			
				@@ -403,6 +403,11 @@ function initDivide() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         onClickCell: function(field, value, row, $element) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(field == 'oldAmount'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                var rows= $('#tb_table').bootstrapTable('getSelections'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(row.serial == rows[0].serial){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    errorMesageSimaple("新包装和旧包装规格相同,请重新选择!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $element.attr('contenteditable', true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $element.html(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $element.focus(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -428,7 +433,6 @@ function initDivide() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         $element.html(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    var rows= $('#tb_table').bootstrapTable('getSelections'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     updateDivideDrugMap(rows[0].serial); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 |