|
|
|
@ -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 })) |
|
|
|
|
} |
|
|
|
|