forked from verdnatura/salix-front
fix: refs #7187 fix reload
This commit is contained in:
parent
b704692f3f
commit
9468e409ea
|
@ -40,6 +40,12 @@ const deallocatePDA = async (deviceProductionFk) => {
|
|||
}
|
||||
paginate.value.fetch();
|
||||
};
|
||||
|
||||
function reloadData() {
|
||||
initialData.value.deviceProductionFk = null;
|
||||
initialData.value.simSerialNumber = null;
|
||||
paginate.value.fetch();
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -128,7 +134,7 @@ const deallocatePDA = async (deviceProductionFk) => {
|
|||
url-create="DeviceProductionUsers"
|
||||
model="DeviceProductionUser"
|
||||
:form-initial-data="initialData"
|
||||
@on-data-saved="paginate.fetch()"
|
||||
@on-data-saved="reloadData()"
|
||||
>
|
||||
<template #form-inputs="{ data }">
|
||||
<VnRow class="row q-gutter-md q-mb-md">
|
||||
|
|
Loading…
Reference in New Issue