diff --git a/src/modules/unified-orders/pages/UnifiedOrdersView.test.ts b/src/modules/unified-orders/pages/UnifiedOrdersView.test.ts index b163db50..4655fff5 100644 --- a/src/modules/unified-orders/pages/UnifiedOrdersView.test.ts +++ b/src/modules/unified-orders/pages/UnifiedOrdersView.test.ts @@ -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', () => { diff --git a/src/modules/unified-orders/pages/UnifiedOrdersView.vue b/src/modules/unified-orders/pages/UnifiedOrdersView.vue index 1d4aa847..b5aab192 100644 --- a/src/modules/unified-orders/pages/UnifiedOrdersView.vue +++ b/src/modules/unified-orders/pages/UnifiedOrdersView.vue @@ -110,7 +110,7 @@ const primaryQueryFields = computed(() => [ })), 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': '创建日期范围' } }, ]) diff --git a/src/shared/components/QueryToolbar.vue b/src/shared/components/QueryToolbar.vue index f722a601..4dbb511d 100644 --- a/src/shared/components/QueryToolbar.vue +++ b/src/shared/components/QueryToolbar.vue @@ -88,7 +88,6 @@ defineExpose({ search, reset }) >
- {{ field.label }}