This commit is contained in:
2026-08-30 17:43:03 +08:00
parent de1b956d43
commit ae52141952
45 changed files with 404 additions and 82 deletions
@@ -92,9 +92,9 @@ describe('UnifiedOrdersView co-load group behavior', () => {
await wrapper.get('[aria-label="查看同柜组 CLG-9001 详情"]').trigger('click')
expect(wrapper.text()).toContain('2 票 · 3 个入仓片段 · 未锁定')
expect(wrapper.text()).toContain('13 箱')
expect(wrapper.text()).toContain('7003')
expect(wrapper.findAll('[data-copy="7003"]')).toHaveLength(1)
expect(wrapper.findAll('[data-copy="5001"]')).toHaveLength(2)
expect(wrapper.text()).toContain('入仓码待补充')
expect(wrapper.text()).not.toContain('7003')
expect(wrapper.text()).not.toContain('5001')
await wrapper.findAll('button').find((button) => button.text().includes('取消同柜组'))!.trigger('click')
await flushPromises()
expect(cancelPlatformCoLoadGroup).toHaveBeenCalledWith('9001', 0, '计划调整')