From f82d9ab03664ebdfe4b3aedca6f348de5c166d7e Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 31 Oct 2024 12:00:45 +0800 Subject: [PATCH] =?UTF-8?q?10/31=20=E4=B8=8A=E8=B4=A7=E5=B7=A5=E4=BD=8D?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B4=A7=E4=BD=8D=E4=B8=8A=E6=9E=B6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/workPlace/SysWorkplaceQueue.js | 11 + src/views/basic/workplace/addPlaidDialog.vue | 4 +- .../basic/workplace/cargowWorkplaceManage.vue | 135 ++- src/views/collect/DealOrder.vue | 852 +++++++++--------- .../inoutDrug/DialogSelectInvProduct.vue | 2 + .../inoutDrug/PanelCreateOrderBizDrug.vue | 2 +- 6 files changed, 540 insertions(+), 466 deletions(-) diff --git a/src/api/basic/workPlace/SysWorkplaceQueue.js b/src/api/basic/workPlace/SysWorkplaceQueue.js index cca7f1ae..8ee03e97 100644 --- a/src/api/basic/workPlace/SysWorkplaceQueue.js +++ b/src/api/basic/workPlace/SysWorkplaceQueue.js @@ -53,6 +53,17 @@ export function getByCode(query) { }); } +export function printQueueLabel(query) { + return axios({ + url: "/udiwms/sysWorkplaceQueue/label/print", + method: "post", + data: query, + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + }); +} + + diff --git a/src/views/basic/workplace/addPlaidDialog.vue b/src/views/basic/workplace/addPlaidDialog.vue index 098dba8d..682e161b 100644 --- a/src/views/basic/workplace/addPlaidDialog.vue +++ b/src/views/basic/workplace/addPlaidDialog.vue @@ -6,7 +6,7 @@ > - + - + {{ workPlaceClasss[scope.row.workPlaceClass] }} + + + @@ -147,7 +152,7 @@ - +