|  |  |  | @ -260,11 +260,23 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("第三方系统不能为空"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             let numRegExp = '^[0-9]*$'; | 
			
		
	
		
			
				
					|  |  |  |  |             let numReg = new RegExp(numRegExp); | 
			
		
	
		
			
				
					|  |  |  |  |             if (numReg.test(this.inputQuery.name)) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("单据类型名称不得为纯数字类型!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             insertBussinessType(this.inputQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                         this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                         this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
	
		
			
				
					|  |  |  | @ -378,11 +390,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleChange(response, files, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(response); | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code != 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 // console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.success(response.data); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |