feat:房屋收费选择单位
This commit is contained in:
@@ -35,8 +35,8 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{type: 'checkbox', width: 60},
|
||||
{
|
||||
title: '房屋',
|
||||
field: 'roomName',
|
||||
title: '单位',
|
||||
field: 'residentUnitText',
|
||||
minWidth: 150,
|
||||
},
|
||||
{
|
||||
@@ -104,12 +104,33 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '房屋',
|
||||
fieldName: 'roomId',
|
||||
component: 'TreeSelect',
|
||||
label: '单位',
|
||||
fieldName: 'residentUnitId',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
},
|
||||
rules: 'selectRequired',
|
||||
formItemClass: 'col-span-2',
|
||||
},
|
||||
{
|
||||
label: '入驻房间',
|
||||
fieldName: 'roomInfo',
|
||||
component: 'Input',
|
||||
dependencies: {
|
||||
show: (fromValue) => fromValue.residentUnitId,
|
||||
triggerFields: ['residentUnitId'],
|
||||
},
|
||||
formItemClass: 'col-span-2',
|
||||
},
|
||||
{
|
||||
label: '单位面积',
|
||||
fieldName: 'area',
|
||||
component: 'Input',
|
||||
dependencies: {
|
||||
show: (fromValue) => fromValue.residentUnitId,
|
||||
triggerFields: ['residentUnitId'],
|
||||
},
|
||||
formItemClass: 'col-span-2',
|
||||
},
|
||||
{
|
||||
label: '业主',
|
||||
|
Reference in New Issue
Block a user