fix(admin): refine loading and fulfillment displays
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user