恢复尾程订单合托关联展示

This commit is contained in:
2026-08-28 16:30:33 +08:00
parent f7b8159d30
commit ea1d06448b
4 changed files with 12 additions and 4 deletions
@@ -32,4 +32,13 @@ describe('last-mile order presentation adapter', () => {
const row = toLastMileOrderListItem({ id: '1', customerId: '100', orderNo: 'LL-1', orderType })
expect(row.orderType).toBe(expected)
})
it('shows the actual related order numbers returned after pallet merge', () => {
const row = toLastMileOrderListItem({
id: '11', customerId: '100', orderNo: 'LMO-1', palletMergeFlag: 'MERGED',
palletMergeBatchId: 'PMG-1', palletMergeOrderNos: ['LMO-2', 'LMO-3'],
})
expect(row.palletMergeRelation).toBe('LMO-2、LMO-3')
})
})