From 80bac354819c2656468da6e9c43e6344c887f02b Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 7 Aug 2024 14:09:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basicdata/basicdataTray.js | 12 ++++++++ src/components/tablecmt/tablecmt.vue | 15 ++++++---- .../warehouse/tray/basicdataTray.vue | 29 +++++++++++++++++++ .../inventory/distributionStockListMarket.vue | 12 ++++---- 4 files changed, 57 insertions(+), 11 deletions(-) diff --git a/src/api/basicdata/basicdataTray.js b/src/api/basicdata/basicdataTray.js index fb747ddb..bee5c8bc 100644 --- a/src/api/basicdata/basicdataTray.js +++ b/src/api/basicdata/basicdataTray.js @@ -67,6 +67,7 @@ export const getinventoryListhistory = (current, size, params) => { }); }; +/** 获取打印模板 */ export const getPrintTemplate = ids => { return request({ url: '/api/logpm-basicdata/tray/barCode', @@ -77,6 +78,17 @@ export const getPrintTemplate = ids => { }); }; +/** 获取托盘码PDF */ +export const getDownloadTrayCode = ids => { + return request({ + url: '/api/logpm-basicdata/tray/getPDF', + method: 'get', + params: { + ids, + }, + }); +}; + export const getlclListhistory = (current, size, params) => { return request({ url: '/api/logpm-basicdata/tray/lclListhistory', diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index 7c873d85..84af6699 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -99,7 +99,8 @@