From 8dbb816d0159ec31cfb5d0df267ee7ce9e42fc45 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Sat, 22 Aug 2026 11:29:26 +0800 Subject: [PATCH] feat(pl): add blank slip print commands to plan list toolbar Co-authored-by: Cursor --- web-admin/src/views/pl/plan/index.vue | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/web-admin/src/views/pl/plan/index.vue b/web-admin/src/views/pl/plan/index.vue index eafc4e08c..ac8032700 100644 --- a/web-admin/src/views/pl/plan/index.vue +++ b/web-admin/src/views/pl/plan/index.vue @@ -126,12 +126,8 @@ > 等客户通知 - - + + 打印单据 @@ -155,6 +151,9 @@ > 分装单 + 空白入库单 + 空白送(提)货单 + 空白分装单 @@ -1132,6 +1131,19 @@ function handleViewPrintSlipCommand(command: string) { } function handleToolbarPrintSlip(command: string) { + if (command === 'blank-inbound') { + inboundSlipPrintRef.value?.openBlank() + return + } + if (command === 'blank-delivery') { + deliverySlipPrintRef.value?.openBlank() + return + } + if (command === 'blank-subpack') { + subpackSlipPrintRef.value?.openBlank() + return + } + const cmd = command as PlPrintSlipCommand const plans = selectedRows.value const check = canBatchPrintSlip(plans, cmd)