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 @@