This commit is contained in:
2026-08-06 18:34:57 +08:00
parent 08982b87ff
commit 7034a40aa8
3 changed files with 2 additions and 4 deletions
@@ -42,7 +42,7 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain("{ value: 'UNRECORDED', label: '未录入' }")
expect(source).not.toContain("{ value: 'DRAFT', label: '草稿' }")
expect(source).not.toContain("{ value: 'CANCELLED', label: '已取消' }")
expect(source).toContain("placeholder: '订单号或客户名称'")
expect(source).toContain("placeholder: '请输入订单号'")
})
it('covers real list states and keeps operation column first and left-fixed', () => {
@@ -110,7 +110,7 @@ const primaryQueryFields = computed<QueryField[]>(() => [
})),
props: { 'aria-label': '客户', filterable: true, loading: customerLoading.value, disabled: Boolean(customerLoadError.value) },
},
{ key: 'keyword', type: 'input', width: 260, label: '综合搜索', placeholder: '订单号或客户名称', props: { 'aria-label': '订单关键词' } },
{ key: 'keyword', type: 'input', width: 260, label: '综合搜索', placeholder: '请输入订单号', props: { 'aria-label': '订单号关键词' } },
{ key: 'orderNo', type: 'input', width: 220, label: '订单号', placeholder: '请输入订单号', props: { 'aria-label': '订单号' } },
{ key: 'createdRange', type: 'daterange', width: 300, label: '创建日期', placeholder: '创建日期范围', props: { 'aria-label': '创建日期范围' } },
])