优化
This commit is contained in:
@@ -33,12 +33,12 @@ describe('last-mile order presentation adapter', () => {
|
||||
expect(row.orderType).toBe(expected)
|
||||
})
|
||||
|
||||
it('shows the actual related order numbers returned after pallet merge', () => {
|
||||
it('shows related inbound numbers instead of the shared tail-leg order number', () => {
|
||||
const row = toLastMileOrderListItem({
|
||||
id: '11', customerId: '100', orderNo: 'LMO-1', palletMergeFlag: 'MERGED',
|
||||
palletMergeBatchId: 'PMG-1', palletMergeOrderNos: ['LMO-2', 'LMO-3'],
|
||||
palletMergeBatchId: 'PMG-1', palletMergeInboundNos: ['NYEXX2608280001', 'NYEXX2608280002'],
|
||||
})
|
||||
|
||||
expect(row.palletMergeRelation).toBe('LMO-2、LMO-3')
|
||||
expect(row.palletMergeRelation).toBe('NYEXX2608280001、NYEXX2608280002')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user