From 5a9b63bad66a65c110ea38b2bacbc017b734e366 Mon Sep 17 00:00:00 2001
From: big-y <804609860@qq.com>
Date: Thu, 17 Aug 2023 16:20:18 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B4=A7=E4=BD=8D=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basicdata/basicdataGoodsAllocation.js | 13 ++-
.../BasicdataGoodsAllocation.vue | 101 ++++++++++++++----
2 files changed, 87 insertions(+), 27 deletions(-)
diff --git a/src/api/basicdata/basicdataGoodsAllocation.js b/src/api/basicdata/basicdataGoodsAllocation.js
index 51c2d206..b9490424 100644
--- a/src/api/basicdata/basicdataGoodsAllocation.js
+++ b/src/api/basicdata/basicdataGoodsAllocation.js
@@ -47,18 +47,17 @@ export const update = (row) => {
data: row
})
}
-
-
-
-export const getTemplate = (row) => {
+export const getPrintTemplate = (ids) => {
return request({
- url: '/api/logpm-basicdata/goodsAllocation/getTemplate',
+ url: '/api/logpm-basicdata/goodsAllocation/getPrintTemplate',
method: 'post',
- responseType: 'blob',
- data: row
+ params:{
+ ids
+ }
})
}
+
export const getQRCode = (qrCode) => {
return request({
url: '/api/logpm-basicdata/goodsAllocation/QRCodeImg',
diff --git a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue
index 386e81c9..1104af0d 100644
--- a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue
+++ b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue
@@ -32,32 +32,35 @@
icon="el-icon-download"
@click="handleExport">导 出
-
-
-
-
-
+ 查看二维码
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -66,7 +69,7 @@