Changed Back Button

This commit is contained in:
2025-02-03 11:05:47 +01:00
parent c207329a3e
commit cc81d18344
3 changed files with 25 additions and 5 deletions

View File

@@ -233,6 +233,11 @@ const setupPage = async () => {
}
}
if(route.query.plant) {
itemInfo.value.plant = Number(route.query.plant)
}
if(route.query.contact) itemInfo.value.contact = Number(route.query.contact)
if(route.query.customer) {
itemInfo.value.customer = Number(route.query.customer)
@@ -1023,6 +1028,15 @@ const setRowData = (row) => {
<template>
<UDashboardNavbar>
<template #left>
<UButton
icon="i-heroicons-chevron-left"
variant="outline"
@click="router.back()/*router.push(`/standardEntity/${type}`)*/"
>
<!-- {{dataType.label}}-->
</UButton>
</template>
<template #right>
<ButtonWithConfirm
v-if="itemInfo.state === 'Entwurf'"