Changed Back Button
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user