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() {