wy
This commit is contained in:
@@ -18,16 +18,17 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
fieldName: 'totalPrice',
|
||||
label: '服务和预订总价格',
|
||||
},
|
||||
{
|
||||
component: 'Input',
|
||||
fieldName: 'searchValue',
|
||||
label: '搜索值',
|
||||
},
|
||||
];
|
||||
|
||||
// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新
|
||||
// export const columns: () => VxeGridProps['columns'] = () => [
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{
|
||||
title: 'id',
|
||||
field: 'id',
|
||||
},
|
||||
{
|
||||
title: '服务id',
|
||||
field: 'ceremonialServeId',
|
||||
@@ -40,6 +41,10 @@ export const columns: VxeGridProps['columns'] = [
|
||||
title: '服务和预订总价格',
|
||||
field: 'totalPrice',
|
||||
},
|
||||
{
|
||||
title: '搜索值',
|
||||
field: 'searchValue',
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
@@ -63,15 +68,24 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
label: '服务id',
|
||||
fieldName: 'ceremonialServeId',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '预订id',
|
||||
fieldName: 'roomBookingId',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '服务和预订总价格',
|
||||
fieldName: 'totalPrice',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '搜索值',
|
||||
fieldName: 'searchValue',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
];
|
||||
|
Reference in New Issue
Block a user