From 452761d2b8d8eaaaf9161fc9db9ead95b89f8a29 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 31 Jul 2024 08:28:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 20 +++++++++++++++++++- src/mycomponents/print/print.vue | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/api/request2.js b/src/api/request2.js index 1ab89ad3..41be514a 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -4358,7 +4358,6 @@ export function getPlanByNumber(params) { } - //查询生产线 export function getProductionlineAndWorkStation() { return request({ @@ -4366,4 +4365,23 @@ export function getProductionlineAndWorkStation() { method: "get", data: {}, }); +} + +/** + * 打印机列表 + */ +export function getPrintList(params) { + return request({ + url: baseApi + "/wms/print/printerList", + method: "post" + }); +} +/** + * 打印模板列表 + */ +export function getPrintTemplateList(params) { + return request({ + url: baseApi + "/wms/print/modelList", + method: "post" + }); } \ No newline at end of file diff --git a/src/mycomponents/print/print.vue b/src/mycomponents/print/print.vue index f7e5439d..562bb0cb 100644 --- a/src/mycomponents/print/print.vue +++ b/src/mycomponents/print/print.vue @@ -45,7 +45,7 @@ import { getPrintList, - getPrintTemplateList + getPrintTemplateList, } from '@/api/request2.js'; export default { data() {