解决冲突

This commit is contained in:
wangshiming
2022-02-25 13:35:38 +08:00
parent 891d346ad1
commit be1ffd4cee

View File

@ -404,7 +404,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
readOnly: true, readOnly: true,
ui: { ui: {
widget: 'checkbox', widget: 'checkbox',
visibleIf: { insuranceType: (value: string) => value === '1' } visibleIf: { insuranceType: (value: string) => value === '0' }
} as SFCheckboxWidgetSchema, } as SFCheckboxWidgetSchema,
default: ['车辆实时定位', '轨迹查询', '数据保护', '赠送基本险'] default: ['车辆实时定位', '轨迹查询', '数据保护', '赠送基本险']
}, },
@ -415,7 +415,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
readOnly: true, readOnly: true,
ui: { ui: {
widget: 'checkbox', widget: 'checkbox',
visibleIf: { insuranceType: (value: string) => value === '2' } visibleIf: { insuranceType: (value: string) => value === '1' }
} as SFCheckboxWidgetSchema, } as SFCheckboxWidgetSchema,
default: ['车辆实时定位', '轨迹查询', '数据保护', '专属技术服务', '赠送综合险'] default: ['车辆实时定位', '轨迹查询', '数据保护', '专属技术服务', '赠送综合险']
}, },