优化布局推荐

This commit is contained in:
zjl 2024-12-12 14:50:07 +08:00
parent 4e5554cb50
commit 77db92365d
2 changed files with 8 additions and 8 deletions

View File

@ -8,16 +8,16 @@ export const columns = [
fixed: 'left', fixed: 'left',
width: 50, width: 50,
}, },
{
title: '位置编号',
dataIndex: 'location',
width: 100,
},
{ {
title: '位置描述', title: '位置描述',
dataIndex: 'description', dataIndex: 'description',
width: 200, width: 200,
}, },
{
title: '位置编号',
dataIndex: 'location',
width: 100,
},
{ {
title: '排序', title: '排序',
dataIndex: 'sort', dataIndex: 'sort',

View File

@ -11,6 +11,9 @@
:model="formData" :model="formData"
:label-col="{ style: { width: '85px' } }" :label-col="{ style: { width: '85px' } }"
> >
<a-form-item label="描述" name="description">
<a-textarea v-model:value="formData.description" placeholder="请输入描述" />
</a-form-item>
<a-form-item <a-form-item
label="位置编号" label="位置编号"
name="location" name="location"
@ -18,9 +21,6 @@
> >
<number-input v-model="formData.location" placeholder="请输入位置编号" allow-clear /> <number-input v-model="formData.location" placeholder="请输入位置编号" allow-clear />
</a-form-item> </a-form-item>
<a-form-item label="描述" name="description">
<a-textarea v-model:value="formData.description" placeholder="请输入描述" />
</a-form-item>
<a-form-item label="排序" name="sort"> <a-form-item label="排序" name="sort">
<a-input-number v-model:value="formData.sort" /> <a-input-number v-model:value="formData.sort" />
</a-form-item> </a-form-item>