update for warehouse

This commit is contained in:
2024-10-10 08:49:50 +02:00
parent 8a2b8c0b20
commit c57eef6e8d
56 changed files with 2250 additions and 451 deletions
@@ -2,7 +2,13 @@ Vue.component('warehouse-item', {
//language=Vue
template: `
<tt-card>
<tt-table-crud @openHistory="historyModal = true; historyModalId = $event.id"/>
<tt-table-crud @openHistory="historyModal = true; historyModalId = $event.id">
<template v-slot:rack="{ row }">
<span v-if="row.rack && row.shelf">{{ row.rack }} | {{ row.shelf }}</span>
<span v-else-if="row.rack">{{ row.rack }}</span>
<span v-else> - </span>
</template>
</tt-table-crud>
<warehouse-history-modal :show.sync="historyModal" :id="historyModalId"/>
</tt-card>
`, data() {