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 }}