diff --git a/src/api/purchase/supCompany.js b/src/api/purchase/supCompany.js index 0c9473e..eeca553 100644 --- a/src/api/purchase/supCompany.js +++ b/src/api/purchase/supCompany.js @@ -132,9 +132,9 @@ export function filterCompanyCertIdList(query) { ); } -export function printSupCertProduction(data) { +export function printSupCertManufacturer(data) { return axios({ - url: "/sup/info/printSupCertProduction", + url: "/sup/info/printSupCertManufacturer", method: "post", headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf diff --git a/src/views/purchase/supCertSearch.vue b/src/views/purchase/supCertSearch.vue index 2f7b2f0..c71d717 100644 --- a/src/views/purchase/supCertSearch.vue +++ b/src/views/purchase/supCertSearch.vue @@ -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)" >打印 @@ -304,7 +304,13 @@ @click.native.stop="registrationDialog(scope.row)" >详情 - + 打印 + @@ -337,7 +343,7 @@