This commit is contained in:
qsh
2024-08-09 11:47:56 +08:00
parent e60eb51f45
commit a3dc76e6a8
5 changed files with 21 additions and 25 deletions

View File

@@ -171,6 +171,8 @@ 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
}
if (it.field == 'convertPeople') {
it.options = props.allUserOptions.map((it) => ({ ...it, name: it.nickname }))