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