|  |  | @ -191,7 +191,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card class="el-card"> |  |  |  |     <el-card class="el-card"> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="top-right-btn"> |  |  |  |       <div class="top-right-btn"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-button-group style="display:flex;"> |  |  |  |         <el-button-group style="display:flex;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" icon="el-icon-refresh" @click="addCertMuti">新增注册/备案证</el-button> |  |  |  |           <el-button type="primary" icon="el-icon-refresh" @click="addCertMuti">新增产品批次</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         </el-button-group> |  |  |  |         </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </div> |  |  |  |       </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -344,7 +344,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | import indexDialog from "@/views/anno/anncmnt/productDialog"; |  |  |  | import indexDialog from "@/views/anno/anncmnt/productDialog"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import manuCertDialog from "@/views/anno/anncmnt/productCertDialog"; |  |  |  | import manuCertDialog from "@/views/anno/anncmnt/productCertDialog"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {deletegg, list} from "@/api/anno/anncmntProduct"; |  |  |  | import {deletegg, list} from "@/api/anno/anncmntProduct"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {deletCert, listCert} from "@/api/anno/anncmntProductBatch"; |  |  |  | import {deleteCert, listCert} from "@/api/anno/anncmntProductBatch"; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; |  |  |  | import {executeFuc, getHead} from "@/utils/customConfig"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
	
		
		
			
				
					|  |  | @ -369,8 +369,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       formCertName: 1, |  |  |  |       formCertName: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |       formCertMap: { |  |  |  |       formCertMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: "新增产品信息明细", |  |  |  |         1: "新增产品批次", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         2: "编辑产品信息明细", |  |  |  |         2: "编辑产品批次", | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       inputCertQuery:{}, |  |  |  |       inputCertQuery:{}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       manuCertDialogVisible: false, |  |  |  |       manuCertDialogVisible: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -381,6 +381,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |        changeCode:"", | 
			
		
	
		
		
			
				
					
					|  |  |  |       actDateRange: [], |  |  |  |       actDateRange: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       pickerOptions: { |  |  |  |       pickerOptions: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         shortcuts: [ |  |  |  |         shortcuts: [ | 
			
		
	
	
		
		
			
				
					|  |  | @ -426,6 +427,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.filterQuery.page = 1; |  |  |  |       this.filterQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.changeCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.manuCertList = [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.manuCertTotal = 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onReset() { |  |  |  |     onReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({ |  |  |  |       this.$router.push({ | 
			
		
	
	
		
		
			
				
					|  |  | @ -436,12 +440,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.changeCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.manuCertList = [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.manuCertTotal = 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onCertReset() { |  |  |  |     onCertReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({ |  |  |  |       this.$router.push({ | 
			
		
	
		
		
			
				
					
					|  |  |  |         path: "", |  |  |  |         path: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.filterCertQuery = { |  |  |  |       this.filterCertQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         productIdFk:this.changeCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -479,9 +487,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getCertList(); |  |  |  |       this.getCertList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     addCertMuti(){ |  |  |  |     addCertMuti(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.inputCertQuery={ |  |  |  |      var changeCode =  this.changeCode; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |      if(!changeCode){ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |        this.$message.error("请先选择产品"); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |        return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      this.inputCertQuery={ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |          productIdFk:changeCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |          productName:this.changeName | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formCertName=1; |  |  |  |       this.formCertName=1; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.manuCertDialogVisible = true; |  |  |  |       this.manuCertDialogVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -491,6 +505,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       _this.manuCertDialogVisible = true; |  |  |  |       _this.manuCertDialogVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     supCertClick(_this,row) { |  |  |  |     supCertClick(_this,row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       _this.changeCode= row.id | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       _this.changeName= row.productName | 
			
		
	
		
		
			
				
					
					|  |  |  |       _this.onCertReset(); |  |  |  |       _this.onCertReset(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getList() { |  |  |  |     getList() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -538,7 +554,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteCertDialog(_this,row) { |  |  |  |     deleteCertDialog(_this,row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       deletCert(row) |  |  |  |       deleteCert(row) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if(response.code == 20000){ |  |  |  |           if(response.code == 20000){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             _this.getCertList() |  |  |  |             _this.getCertList() | 
			
		
	
	
		
		
			
				
					|  |  | 
 |