fixed ont info

This commit is contained in:
Luca Haid
2025-12-29 10:26:48 +01:00
parent a76153745f
commit bc2c62bbdd
5 changed files with 138 additions and 4 deletions
@@ -0,0 +1,23 @@
Vue.component('warehouse-category', {
//language=Vue
template: `
<tt-card>
<warehouse-administration-switch/>
<tt-table-crud
@openHistory="historyModal = true; historyModalId = $event.id"
@printLabels="printLabels($event)"
/>
<warehouse-history-modal :show.sync="historyModal" :id="historyModalId"/>
</tt-card>
`, data() {
return {
window: window, historyModal: false, historyModalId: null,
}
},
methods: {
printLabels(event) {
const url = window.TT_CONFIG.BASE_PATH + "/WarehouseCategory/printLabels?id=" + event.id;
window.open(url, '_blank');
}
}
})