恢复尾程订单合托关联展示
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user