Browse Source

打印

hella_online_20240829
zhang_li 4 months ago
parent
commit
452761d2b8
  1. 20
      src/api/request2.js
  2. 2
      src/mycomponents/print/print.vue

20
src/api/request2.js

@ -4358,7 +4358,6 @@ export function getPlanByNumber(params) {
} }
//查询生产线 //查询生产线
export function getProductionlineAndWorkStation() { export function getProductionlineAndWorkStation() {
return request({ return request({
@ -4366,4 +4365,23 @@ export function getProductionlineAndWorkStation() {
method: "get", method: "get",
data: {}, 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"
});
} }

2
src/mycomponents/print/print.vue

@ -45,7 +45,7 @@
import { import {
getPrintList, getPrintList,
getPrintTemplateList getPrintTemplateList,
} from '@/api/request2.js'; } from '@/api/request2.js';
export default { export default {
data() { data() {

Loading…
Cancel
Save