|  |  |  | @ -179,42 +179,6 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-row :gutter="20" class="el-row" type="flex"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="允许无批次号"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select v-model="inputQuery.allowNoBatch" style="width: 100%" size="small"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="是" :value="true"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="否" :value="false"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="允许无失效日期"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select v-model="inputQuery.allowNoExpire" style="width: 100%" size="small"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="是" :value="true"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="否" :value="false"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-row :gutter="20" class="el-row" type="flex"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="允许无生产日期"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select v-model="inputQuery.allowNoProduct" style="width: 100%" size="small"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="是" :value="true"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="否" :value="false"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="10" class="el-col"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item label="允许无序列号"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-select v-model="inputQuery.allowNoSerial" style="width: 100%" size="small"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="是" :value="true"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-option label="否" :value="false"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |               </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-row> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <!--        <el-row :gutter="20" class="el-row" type="flex">--> | 
			
		
	
	
		
			
				
					|  |  |  | @ -585,30 +549,39 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$message.error("生产企业未通过审核不能提交!"); | 
			
		
	
		
			
				
					|  |  |  |  |           return; | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       this.$refs['inputQuery'].validate(valid => { | 
			
		
	
		
			
				
					|  |  |  |  |         if (valid) { | 
			
		
	
		
			
				
					|  |  |  |  |           // this.inputQuery.auditStatus = val; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           let formData = JSON.parse(JSON.stringify(this.inputQuery)); | 
			
		
	
		
			
				
					|  |  |  |  |           formData.manufacturerIdFk = this.manufacturerId; | 
			
		
	
		
			
				
					|  |  |  |  |           formData.auditStatus = val; | 
			
		
	
		
			
				
					|  |  |  |  |           this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |           let urlName = this.editType == 0 ? 'add' : 'update'; | 
			
		
	
		
			
				
					|  |  |  |  |           addOrModifyRegistration(formData, urlName).then(response => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |               this.closeRegistrationDialog(true); | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.success("保存成功"); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |           return false; | 
			
		
	
		
			
				
					|  |  |  |  |         if(val==3){ | 
			
		
	
		
			
				
					|  |  |  |  |           this.$confirm( "已审核通过,是否需要重新提交变更", { | 
			
		
	
		
			
				
					|  |  |  |  |             confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |             type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |             showCancelButton: false, | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |             .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$refs['inputQuery'].validate(valid => { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (valid) { | 
			
		
	
		
			
				
					|  |  |  |  |                   // this.inputQuery.auditStatus = val; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                   let formData = JSON.parse(JSON.stringify(this.inputQuery)); | 
			
		
	
		
			
				
					|  |  |  |  |                   formData.manufacturerIdFk = this.manufacturerId; | 
			
		
	
		
			
				
					|  |  |  |  |                   formData.auditStatus = val; | 
			
		
	
		
			
				
					|  |  |  |  |                   this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |                   let urlName = this.editType == 0 ? 'add' : 'update'; | 
			
		
	
		
			
				
					|  |  |  |  |                   addOrModifyRegistration(formData, urlName).then(response => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                       this.closeRegistrationDialog(true); | 
			
		
	
		
			
				
					|  |  |  |  |                       this.$message.success("保存成功"); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                       this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                   }); | 
			
		
	
		
			
				
					|  |  |  |  |                 } else { | 
			
		
	
		
			
				
					|  |  |  |  |                   return false; | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |               }); | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     toViewCompanyCert(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       window.open(this.certFileUrl + row.filePath); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |