fix(admin): refine loading and fulfillment displays

This commit is contained in:
2026-10-23 18:45:47 +08:00
parent 9542b71cc7
commit 047cfb3d0b
12 changed files with 85 additions and 43 deletions
@@ -286,6 +286,12 @@ describe('CarrierScheduleQueryPanel loading states', () => {
expect(wrapper.find('.duplicate-node-history').text()).toContain('历史重复实际节点(1)')
expect(wrapper.find('.duplicate-node-history').text()).toContain('2026-09-09 10:00')
expect(wrapper.find('.duplicate-node-history').text()).toContain('人工提柜-旧')
await wrapper.setProps({ hideTechnicalDetails: true })
expect(wrapper.findAll('.technical-details')).toHaveLength(0)
expect(wrapper.text()).not.toContain('查询任务摘要、异常与变更历史')
expect(wrapper.findAll('.fulfillment-timeline li').filter((row) => row.text().includes('已提柜'))).toHaveLength(1)
expect(wrapper.find('.fulfillment-timeline').text()).toContain('2026-09-24 10:00')
})
it('allows correcting the current node without sequence restrictions', async () => {