This commit is contained in:
2026-08-06 15:36:28 +08:00
parent 33a0c48b78
commit 517199c927
2 changed files with 11 additions and 5 deletions
@@ -39,6 +39,10 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain("warehouse.warehouseType === 'DOMESTIC'")
expect(source).toContain("loaded: optionalBoolean(filters.value.loaded)")
expect(source).toContain("fullContainer: optionalBoolean(filters.value.fullContainer)")
expect(source).toContain("{ value: 'UNRECORDED', label: '未录入' }")
expect(source).not.toContain("{ value: 'DRAFT', label: '草稿' }")
expect(source).not.toContain("{ value: 'CANCELLED', label: '已取消' }")
expect(source).toContain("placeholder: '订单号或客户名称'")
})
it('covers real list states and keeps operation column first and left-fixed', () => {