Some Changes

This commit is contained in:
2024-07-09 21:35:19 +02:00
parent 101b8d3361
commit eb4b8a8d9b
13 changed files with 436 additions and 170 deletions

View File

@@ -11,8 +11,6 @@ const router = useRouter()
const toast = useToast()
const id = ref(route.params.id ? route.params.id : null )
const browserPrint = ZebraBrowserPrintWrapper();
let currentItem = ref(null)
//Working
@@ -58,12 +56,14 @@ function getSpaceProductCount(productId) {
return count
}
/*
const printSpaceLabel = async () => {
axios
.post(`http://${dataStore.ownTenant.value.labelPrinterIp}/pstprnt`, `^XA^FO10,20^BCN,100^FD${currentItem.value.spaceNumber}^XZ` )
.then(console.log)
.catch(console.log)
}
*/
setupPage()
@@ -155,7 +155,7 @@ setupPage()
</USelectMenu>
</UFormGroup>
<UFormGroup
label="Beschreibung.:"
label="Beschreibung:"
>
<UTextarea
v-model="itemInfo.description"