|  |  |  | @ -196,7 +196,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                             type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                             size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                             v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native="printSupCertProductionPdf(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native="printSupCertManufacturerPdf(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                         >打印 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
	
		
			
				
					|  |  |  | @ -304,7 +304,13 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native.stop="registrationDialog(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                         >详情 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                             type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                             size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                             v-if="scope.row.auditStatus !=6 && scope.row.auditStatus !=3" | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native="printSupCertProductionPdf(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                         >打印 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table> | 
			
		
	
	
		
			
				
					|  |  |  | @ -337,7 +343,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  |  | import {getSupComapnys, delSupComapnys, printSupCert, verifyTemplateFile,filterCompanyCertIdList,printSupCertProduction} from "@/api/purchase/supCompany"; | 
			
		
	
		
			
				
					|  |  |  |  | import {getSupComapnys, delSupComapnys, printSupCert, verifyTemplateFile,filterCompanyCertIdList,printSupCertManufacturer} from "@/api/purchase/supCompany"; | 
			
		
	
		
			
				
					|  |  |  |  | import supCompanyEditAdudit from "./supCompanyAduditDialog"; | 
			
		
	
		
			
				
					|  |  |  |  | import supManufacturerAuditDialog from "@/views/purchase/supManufacturerAuditDialog"; | 
			
		
	
		
			
				
					|  |  |  |  | import {deleteCompany, getCompanyList} from "@/api/purchase/supManufacturer"; | 
			
		
	
	
		
			
				
					|  |  |  | @ -708,7 +714,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         //生产企业打印 | 
			
		
	
		
			
				
					|  |  |  |  |         printSupCertProductionPdf(row) { | 
			
		
	
		
			
				
					|  |  |  |  |         printSupCertManufacturerPdf(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             let query = {moduleId: 9}; | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |             verifyTemplateFile(query).then((res) => { | 
			
		
	
	
		
			
				
					|  |  |  | @ -725,7 +731,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                                 ids: req.data, | 
			
		
	
		
			
				
					|  |  |  |  |                                 id: row.id | 
			
		
	
		
			
				
					|  |  |  |  |                             }; | 
			
		
	
		
			
				
					|  |  |  |  |                             printSupCertProduction(printParams).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                             printSupCertManufacturer(printParams).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                                 //将pdf文件转换为url。 | 
			
		
	
		
			
				
					|  |  |  |  |                                 const binaryData = []; | 
			
		
	
		
			
				
					|  |  |  |  |                                 binaryData.push(response); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |