|
@@ -234,6 +234,7 @@ const handleSubmit = ({ values, errors }) => {
|
|
|
})
|
|
|
emit('update:modelValue', false)
|
|
|
emit('submit', true)
|
|
|
+ resetForm()
|
|
|
}
|
|
|
} else {
|
|
|
const { code, data } = await addTariff(formVal)
|
|
@@ -244,6 +245,7 @@ const handleSubmit = ({ values, errors }) => {
|
|
|
})
|
|
|
emit('update:modelValue', false)
|
|
|
emit('submit', true)
|
|
|
+ resetForm()
|
|
|
}
|
|
|
}
|
|
|
}
|