|
|
@ -105,9 +105,12 @@ watch( |
|
|
|
}, |
|
|
|
{ deep: true }, |
|
|
|
) |
|
|
|
watch(() => formulaStore.currentSelectedIndex, () => { |
|
|
|
watch( |
|
|
|
() => formulaStore.currentSelectedIndex, |
|
|
|
() => { |
|
|
|
formRef.value?.clearValidate() |
|
|
|
}) |
|
|
|
}, |
|
|
|
) |
|
|
|
const formRef = ref() |
|
|
|
|
|
|
|
/** |
|
|
@ -273,7 +276,7 @@ const validateName = (rule: any, value: any, callback: any) => { |
|
|
|
<el-select |
|
|
|
v-model="formData[item.setting_id]" |
|
|
|
v-prevent-keyboard |
|
|
|
style="width: 80%; height: 40px" |
|
|
|
style="width: 80%" |
|
|
|
placeholder="请选择" |
|
|
|
readonly |
|
|
|
> |
|
|
@ -345,6 +348,9 @@ const validateName = (rule: any, value: any, callback: any) => { |
|
|
|
text-align: left; |
|
|
|
height: 40px; |
|
|
|
} |
|
|
|
:deep(.el-select) { |
|
|
|
height: 42px; |
|
|
|
} |
|
|
|
:deep(.el-select__wrapper) { |
|
|
|
height: 42px; |
|
|
|
} |
|
|
|