diff --git a/src/api/print/rollPrint.js b/src/api/print/rollPrint.js new file mode 100644 index 0000000..685218c --- /dev/null +++ b/src/api/print/rollPrint.js @@ -0,0 +1,20 @@ +import { createAPI } from "@/utils/httpRequest.js"; + + +// 获取子模版列表 +export const checkRollCustomer = data => createAPI(`/rollPrint/checkRollCustomer`,'post',data) + +// 获取打印的数据 +export const getRollCustomer = data => createAPI(`/rollPrint/getRollCustomer/${data}`,'get',data) + +// 获取可用模板列表 +export const getReportFileByCustomer = data => createAPI(`/outBoxPrint/getReportFileByCustomer/${data.customerId}/${data.reportFamily}`,'get') + +// 获取子模版列表 +export const getReportSubFileList = data => createAPI(`/outBoxPrint/getReportSubFileList`,'post',data) + +// 获取模板手工参数 +export const getReportParameters = data => createAPI(`/outBoxPrint/getReportParameters/${data}`,'get') + +// 打印 +export const printLabel = data => createAPI(`/rollPrint/printLabel`,'post',data) diff --git a/src/views/modules/labelPrint/outer-box-label-roll.vue b/src/views/modules/labelPrint/outer-box-label-roll.vue index b08dca7..fde2593 100644 --- a/src/views/modules/labelPrint/outer-box-label-roll.vue +++ b/src/views/modules/labelPrint/outer-box-label-roll.vue @@ -147,7 +147,7 @@ - 列表 + 打印 diff --git a/src/views/modules/labelPrint/outer-box-label.vue b/src/views/modules/labelPrint/outer-box-label.vue index 5311453..893189a 100644 --- a/src/views/modules/labelPrint/outer-box-label.vue +++ b/src/views/modules/labelPrint/outer-box-label.vue @@ -147,7 +147,7 @@ - 列表 + 打印 diff --git a/src/views/modules/labelPrint/roll-label.vue b/src/views/modules/labelPrint/roll-label.vue new file mode 100644 index 0000000..0974ef4 --- /dev/null +++ b/src/views/modules/labelPrint/roll-label.vue @@ -0,0 +1,605 @@ + + + +