From 385c5d9e9e0ccc0f87995b8d0b373f1134fd38ab Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Fri, 11 Sep 2026 11:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/inbounds/core/InboundHistoryPanel.test.ts | 3 ++- src/modules/inbounds/core/InboundHistoryPanel.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/inbounds/core/InboundHistoryPanel.test.ts b/src/modules/inbounds/core/InboundHistoryPanel.test.ts index 39c72c8a..e8582b14 100644 --- a/src/modules/inbounds/core/InboundHistoryPanel.test.ts +++ b/src/modules/inbounds/core/InboundHistoryPanel.test.ts @@ -16,6 +16,7 @@ describe('InboundHistoryPanel dropship pallet result', () => { it('keeps the existing scoped pallet-label action available', () => { expect(source).toContain('downloadDropshipPalletLabel(props.customerId, props.inboundId, pallet.palletId)') - expect(source).toContain('打印托盘唛') + expect(source).toContain("pallet.status === 'SEALED' && pallet.palletNo") + expect(source).toContain('打印托盘码') }) }) diff --git a/src/modules/inbounds/core/InboundHistoryPanel.vue b/src/modules/inbounds/core/InboundHistoryPanel.vue index ff8c85a9..7fb1b019 100644 --- a/src/modules/inbounds/core/InboundHistoryPanel.vue +++ b/src/modules/inbounds/core/InboundHistoryPanel.vue @@ -55,7 +55,7 @@ async function printPallet(pallet: InboundDropshipPallet) {
{{ value(pallet.palletNo) }}{{ dropshipPalletStatus(pallet.status) }}
- 打印托盘唛 + 打印托盘码
箱数
{{ pallet.cartonCount }}