fixed ont info
This commit is contained in:
@@ -423,7 +423,6 @@ Vue.component('warehouse-article-modal', {
|
||||
v-model="formData.articleNumber"
|
||||
placeholder="Wird automatisch generiert"
|
||||
required
|
||||
disabled
|
||||
form-label
|
||||
sm/>
|
||||
</div>
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user