This commit is contained in:
2024-07-02 18:38:11 +02:00
parent d2da96eaa3
commit d327277bac
14 changed files with 288 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<script setup>
import axios from "axios";
import ZebraBrowserPrintWrapper from "zebra-browser-print-wrapper"
definePageMeta({
middleware: "auth"
})
@@ -11,6 +11,8 @@ const router = useRouter()
const toast = useToast()
const id = ref(route.params.id ? route.params.id : null )
const browserPrint = ZebraBrowserPrintWrapper();
let currentItem = ref(null)
//Working
@@ -36,6 +38,8 @@ const setupPage = async () => {
}
if(mode.value === "edit") itemInfo.value = currentItem.value
}
const cancelEditorCreate = () => {