From 7f09d201300debc7b3d1f17de4452afd3639161a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Mon, 9 Jan 2023 15:34:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E9=80=81=E4=BA=A7=E5=93=81=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/purchase/supCompany.js | 11 +++ src/views/purchase/supCertSearch.vue | 44 ++++++++- src/views/purchase/supCompanyAduditDialog.vue | 4 + .../purchase/supManufacturerAuditDialog.vue | 4 + src/views/purchase/supProductAuditDialog.vue | 98 ++++++++++++++++++- 5 files changed, 158 insertions(+), 3 deletions(-) diff --git a/src/api/purchase/supCompany.js b/src/api/purchase/supCompany.js index eeca553..5a017cd 100644 --- a/src/api/purchase/supCompany.js +++ b/src/api/purchase/supCompany.js @@ -142,6 +142,17 @@ export function printSupCertManufacturer(data) { }); } +export function printSupCertProduction(data) { + return axios({ + url: "/sup/info/printSupCertProduction", + method: "post", + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + data: data + }); +} + + diff --git a/src/views/purchase/supCertSearch.vue b/src/views/purchase/supCertSearch.vue index c71d717..0d121c0 100644 --- a/src/views/purchase/supCertSearch.vue +++ b/src/views/purchase/supCertSearch.vue @@ -343,7 +343,7 @@