|  | @ -40,25 +40,30 @@
 | 
	
		
			
				|  |  |                 if(!me.$form.ligerAutoForm("validate")){
 | 
	
		
			
				|  |  |                     return;
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |                 var data = me.$form.ligerAutoForm("validate");
 | 
	
		
			
				|  |  |                 $.ajax({ //ajax处理
 | 
	
		
			
				|  |  |                     type: "POST",
 | 
	
		
			
				|  |  |                     url : me.actionUrl,
 | 
	
		
			
				|  |  |                     dataType : "json",
 | 
	
		
			
				|  |  |                     data:data,
 | 
	
		
			
				|  |  |                     cache:false,
 | 
	
		
			
				|  |  |                     success :function(data){
 | 
	
		
			
				|  |  |                         if(data.successFlg) {
 | 
	
		
			
				|  |  |                             parent.dimensioncate.dialogSuccess(data.message);
 | 
	
		
			
				|  |  |                 var validate = me.$form.ligerAutoForm("validate");
 | 
	
		
			
				|  |  |                 var name = $("#name").val();
 | 
	
		
			
				|  |  |                 if(validate){
 | 
	
		
			
				|  |  |                     $.ajax({ //ajax处理
 | 
	
		
			
				|  |  |                         type: "POST",
 | 
	
		
			
				|  |  |                         url : me.actionUrl,
 | 
	
		
			
				|  |  |                         dataType : "json",
 | 
	
		
			
				|  |  |                         data:{
 | 
	
		
			
				|  |  |                             name:name
 | 
	
		
			
				|  |  |                         },
 | 
	
		
			
				|  |  |                         cache:false,
 | 
	
		
			
				|  |  |                         success :function(data){
 | 
	
		
			
				|  |  |                             if(data.successFlg) {
 | 
	
		
			
				|  |  |                                 parent.dimensioncate.dialogSuccess(data.message);
 | 
	
		
			
				|  |  |                             }
 | 
	
		
			
				|  |  |                             else{
 | 
	
		
			
				|  |  |                                 $.ligerDialog.error(data.message);
 | 
	
		
			
				|  |  |                             }
 | 
	
		
			
				|  |  |                         },
 | 
	
		
			
				|  |  |                         error :function(data){
 | 
	
		
			
				|  |  |                             $.ligerDialog.error("Status:"+data.status +"(" +data.statusText+")");
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  |                         else{
 | 
	
		
			
				|  |  |                             $.ligerDialog.error(data.message);
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  |                     },
 | 
	
		
			
				|  |  |                     error :function(data){
 | 
	
		
			
				|  |  |                         $.ligerDialog.error("Status:"+data.status +"(" +data.statusText+")");
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                 });
 | 
	
		
			
				|  |  |                     });
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  |             });
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             $("#btnCancel").click(function(){
 |