chore: 修改分类

This commit is contained in:
dap 2024-12-20 08:50:53 +08:00
parent 8b01f8316d
commit cf044cc679

View File

@ -21,11 +21,7 @@ export const columns: VxeGridProps['columns'] = [
treeNode: true,
},
{
field: 'categoryCode',
title: '分类编码',
},
{
field: 'sortNum',
field: 'orderNum',
title: '排序',
},
{
@ -39,8 +35,8 @@ export const columns: VxeGridProps['columns'] = [
export const modalSchema: FormSchemaGetter = () => [
{
label: 'id',
fieldName: 'id',
label: 'categoryId',
fieldName: 'categoryId',
component: 'Input',
dependencies: {
show: () => false,
@ -61,15 +57,8 @@ export const modalSchema: FormSchemaGetter = () => [
rules: 'required',
},
{
fieldName: 'categoryCode',
label: '分类编码',
component: 'Input',
rules: 'required',
},
{
fieldName: 'sortNum',
fieldName: 'orderNum',
label: '排序',
component: 'InputNumber',
rules: 'required',
},
];