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