优化
This commit is contained in:
@@ -521,6 +521,14 @@ describe('UnifiedOrdersView contract', () => {
|
||||
expect(source).not.toContain('title="更多操作"')
|
||||
})
|
||||
|
||||
it('batch prints stable carton labels from the list toolbar instead of adding another row action', () => {
|
||||
expect(source).toContain('downloadInboundCartonLabelsBatch')
|
||||
expect(source).toContain('const selectedCartonLabelOrders = computed')
|
||||
expect(source).toContain('@click="printSelectedCartonLabels"')
|
||||
expect(source).toContain('批量箱唛-${selectedCartonLabelOrders.value.length}单.pdf')
|
||||
expect(source).not.toContain("type UnifiedOrderRowAction = 'note' | 'approve' | 'printCartonLabels'")
|
||||
})
|
||||
|
||||
it('renders order detail as a routed full page instead of a drawer', () => {
|
||||
expect(source).toContain('<template v-if="isDetailRoute">')
|
||||
expect(source).toContain('class="order-detail-header"')
|
||||
|
||||
Reference in New Issue
Block a user