This commit is contained in:
qsh
2024-08-09 16:25:11 +08:00
parent a3dc76e6a8
commit a5e1a97d93
3 changed files with 20 additions and 4 deletions

View File

@@ -171,9 +171,10 @@ const formSchema = computed(() => {
it.componentProps['disabled-date'] = dateAfterToday
// it.componentProps['disabled'] = formType.value != 'create'
it.componentProps['disabled'] = true
} else if (it.field == 'convertPeople' && formType.value == 'update') {
it.componentProps['disabled'] = true
}
// else if (it.field == 'convertPeople' && formType.value == 'update') {
// it.componentProps['disabled'] = true
// }
if (it.field == 'convertPeople') {
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))
}