feat(admin): show single-remainder fulfillment aggregate
This commit is contained in:
@@ -150,6 +150,14 @@ describe('UnifiedOrdersView contract', () => {
|
||||
expect(source).toContain('await loadOrders()')
|
||||
})
|
||||
|
||||
it('exposes the single-remainder fulfillment aggregate in row expansion and detail', () => {
|
||||
expect(source).toContain("{ key: 'fulfillment', type: 'expand', width: 52, fixed: 'left'")
|
||||
expect(source).toContain('<template #fulfillment="{ row }">')
|
||||
expect(source).toContain("{ key: 'fulfillment', label: '拆分履约', icon: ListChecks }")
|
||||
expect(source).toContain("activeDetailTab === 'fulfillment'")
|
||||
expect(source).toContain('根单、已完成分片与当前余量')
|
||||
})
|
||||
|
||||
it('distinguishes overflow action buttons by row and keeps a stable missing-field fallback', () => {
|
||||
expect(source).toContain('function moreUnifiedOrderActionsLabel(row: UnifiedOrderResource)')
|
||||
expect(source).toContain('[compatibleOrder.inboundCode, compatibleOrder.orderNo, compatibleOrder.orderId, compatibleOrder.id]')
|
||||
|
||||
Reference in New Issue
Block a user