|  |  | @ -321,6 +321,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 isDefault: null, |  |  |  |                 isDefault: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 page: 1, |  |  |  |                 page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 limit: 20, |  |  |  |                 limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 parentId: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 thirdSysFk: null, |  |  |  |                 thirdSysFk: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |             mergeList: [], |  |  |  |             mergeList: [], | 
			
		
	
	
		
		
			
				
					|  |  | @ -464,7 +465,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$refs["dataForm"].clearValidate(); |  |  |  |                 this.$refs["dataForm"].clearValidate(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 // 刷新表单 |  |  |  |                 // 刷新表单 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$refs["dataForm"].resetFields(); |  |  |  |                 this.$refs["dataForm"].resetFields(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.getList(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // 隐藏表单 |  |  |  |         // 隐藏表单 | 
			
		
	
	
		
		
			
				
					|  |  | @ -530,7 +530,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     return false; |  |  |  |                                     return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 } |  |  |  |                                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 this.$message.success("删除成功"); |  |  |  |                                 this.$message.success("删除成功"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 this.loadSubData(row.parentId); |  |  |  |                                 let param = { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                     code: row.parentId, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                     thirdSysFk: row.thirdSysFk | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                 this.loadSubData(param); | 
			
		
	
		
		
			
				
					
					|  |  |  |                             }) |  |  |  |                             }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                             .catch(() => { |  |  |  |                             .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 this.deleteLoading = false; |  |  |  |                                 this.deleteLoading = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -544,14 +548,17 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //添加分库 |  |  |  |         //添加分库 | 
			
		
	
		
		
			
				
					
					|  |  |  |         forSubSubmit() { |  |  |  |         forSubSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.$isBlank(this.subData.name)) { |  |  |  |             if (this.$isBlank(this.subData.name)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error("分库名称不能为空!"); |  |  |  |                 this.$message.error("分库名称不能为空!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return; |  |  |  |                 return; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             saveSubWarehouse(this.subData, this.subFromName).then((response) => { |  |  |  |             saveSubWarehouse(this.subData, this.subFromName).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (response.code == 20000) { |  |  |  |                 if (response.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loadSubData(this.subData.parentId); |  |  |  |                     let row = { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         code: this.subData.parentId, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         thirdSysFk: this.subData.thirdSysFk | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.loadSubData(row); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.subFormVisible = false; |  |  |  |                     this.subFormVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } else { |  |  |  |                 } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.$message.error(response.message); |  |  |  |                     this.$message.error(response.message); | 
			
		
	
	
		
		
			
				
					|  |  | @ -560,10 +567,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch(() => { |  |  |  |             }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.subFormVisible = false; |  |  |  |                 this.subFormVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         formSubmit() { |  |  |  |         formSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (!isBlank(this.formData.code)) { |  |  |  |             if (!isBlank(this.formData.code)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (Number(this.formData.code) + '' === NaN + '') { |  |  |  |                 if (Number(this.formData.code) + '' === NaN + '') { | 
			
		
	
	
		
		
			
				
					|  |  | @ -604,9 +609,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     } |  |  |  |                                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                                 } |  |  |  |                                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |                             } |  |  |  |                             } | 
			
		
	
		
		
			
				
					
					|  |  |  |                             // 刷新表单 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.resetForm(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.getList(); |  |  |  |                             this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             // 刷新表单验证 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                             this.resetForm(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                         }) |  |  |  |                         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                         .catch(() => { |  |  |  |                         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                             this.formLoading = false; |  |  |  |                             this.formLoading = false; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |