|  |  |  | @ -536,9 +536,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 name: [ | 
			
		
	
		
			
				
					|  |  |  |  |                     {required: true, message: "证书名称", trigger: "blur"} | 
			
		
	
		
			
				
					|  |  |  |  |                 ], | 
			
		
	
		
			
				
					|  |  |  |  |                 foreign: [ | 
			
		
	
		
			
				
					|  |  |  |  |                     {required: true, message: "请选择产地", trigger: "blur"} | 
			
		
	
		
			
				
					|  |  |  |  |                 ], | 
			
		
	
		
			
				
					|  |  |  |  |                  | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             /**--------产品资质设置--------------*/ | 
			
		
	
	
		
			
				
					|  |  |  | @ -617,7 +615,12 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.currentSup.type = 1; | 
			
		
	
		
			
				
					|  |  |  |  |                         addSupCertSet(this.currentSup) | 
			
		
	
		
			
				
					|  |  |  |  |                             .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 if(response.code==20000){ | 
			
		
	
		
			
				
					|  |  |  |  |                                     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 }else{ | 
			
		
	
		
			
				
					|  |  |  |  |                                     this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                                 } | 
			
		
	
		
			
				
					|  |  |  |  |                                 | 
			
		
	
		
			
				
					|  |  |  |  |                             }) | 
			
		
	
		
			
				
					|  |  |  |  |                             .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                             }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -627,6 +630,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.success("保存成功!"); | 
			
		
	
		
			
				
					|  |  |  |  |                             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                         }) | 
			
		
	
	
		
			
				
					|  |  |  | @ -689,7 +693,12 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.currentManufacturer.type = 2; | 
			
		
	
		
			
				
					|  |  |  |  |                         addSupCertSet(this.currentManufacturer) | 
			
		
	
		
			
				
					|  |  |  |  |                             .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getManufacturerList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 if(response.code==20000){ | 
			
		
	
		
			
				
					|  |  |  |  |                                     this.getManufacturerList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                   }else{ | 
			
		
	
		
			
				
					|  |  |  |  |                                       this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                                 } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                             }) | 
			
		
	
		
			
				
					|  |  |  |  |                             .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                             }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -699,6 +708,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getManufacturerList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.success("保存成功!"); | 
			
		
	
		
			
				
					|  |  |  |  |                             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getManufacturerList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                         }) | 
			
		
	
	
		
			
				
					|  |  |  | @ -756,7 +766,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.currentProduct.type = 3; | 
			
		
	
		
			
				
					|  |  |  |  |                         addSupCertSet(this.currentProduct) | 
			
		
	
		
			
				
					|  |  |  |  |                             .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getProductList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 if(response.code==20000){ | 
			
		
	
		
			
				
					|  |  |  |  |                                     this.getProductList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                   }else{ | 
			
		
	
		
			
				
					|  |  |  |  |                                       this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                                 } | 
			
		
	
		
			
				
					|  |  |  |  |                             }) | 
			
		
	
		
			
				
					|  |  |  |  |                             .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                             }); | 
			
		
	
	
		
			
				
					|  |  |  | @ -766,6 +780,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getProductList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.success("保存成功!"); | 
			
		
	
		
			
				
					|  |  |  |  |                             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.getProductList(); | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.error(res.message); | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                         }) | 
			
		
	
	
		
			
				
					|  |  |  | 
 |