From af3bb1cd6eef29c7d028625649ee326499128e8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com>
Date: Sun, 8 Jan 2023 14:23:06 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=96=B9=E6=B3=95=E5=90=8D?=
=?UTF-8?q?=E5=AD=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/purchase/supCompany.js | 4 ++--
src/views/purchase/supCertSearch.vue | 16 +++++++++++-----
.../purchase/supManufacturerAuditDialog.vue | 6 +++---
3 files changed, 16 insertions(+), 10 deletions(-)
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 @@