forked from verdnatura/salix-front
fix: TicketDmsImportForm
This commit is contained in:
parent
7896e3d7f9
commit
6482dbad22
|
@ -20,10 +20,6 @@ const route = useRoute();
|
|||
const dmsOptions = ref([]);
|
||||
const dmsId = ref(null);
|
||||
|
||||
const onDataSaved = (formData, requestResponse) => {
|
||||
emit('onDataSaved', formData, requestResponse);
|
||||
};
|
||||
|
||||
const importDms = async () => {
|
||||
try {
|
||||
if (!dmsId.value) throw new Error(t(`The document identifier can't be empty`));
|
||||
|
@ -56,7 +52,6 @@ const importDms = async () => {
|
|||
:title="t('Select document id')"
|
||||
:form-initial-data="{}"
|
||||
:save-fn="importDms"
|
||||
@on-data-saved="onDataSaved"
|
||||
>
|
||||
<template #form-inputs>
|
||||
<VnRow class="row q-gutter-md q-mb-md">
|
||||
|
|
Loading…
Reference in New Issue