fix: 调整商品管理页搜索表单字段顺序

将规格编码和规格名称字段位置对调,使表单布局更合理

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
小蟑螂
2026-05-08 01:32:44 +08:00
co-authored by Claude Opus 4.7
parent 7ad981c712
commit 499881514e
@@ -65,17 +65,6 @@ const [SearchForm, formApi] = useVbenForm({
fieldName: 'productCode',
label: '商品编码',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入规格编码(回车搜索)',
allowClear: true,
onPressEnter: () => void searchFormSubmitRef.value?.(),
},
defaultValue: '',
fieldName: 'specCode',
label: '规格编码',
},
{
component: 'Input',
componentProps: {
@@ -87,6 +76,17 @@ const [SearchForm, formApi] = useVbenForm({
fieldName: 'specName',
label: '规格名称',
},
{
component: 'Input',
componentProps: {
placeholder: '请输入规格编码(回车搜索)',
allowClear: true,
onPressEnter: () => void searchFormSubmitRef.value?.(),
},
defaultValue: '',
fieldName: 'specCode',
label: '规格编码',
},
],
showCollapseButton: false,
showDefaultActions: true,