36 lines
763 B
Vue
36 lines
763 B
Vue
<script setup>
|
|
import ItemDescriptor from './ItemDescriptor.vue';
|
|
import ItemSummary from './ItemSummary.vue';
|
|
|
|
const $props = defineProps({
|
|
id: {
|
|
type: [Number, String],
|
|
required: true,
|
|
},
|
|
dated: {
|
|
type: String,
|
|
default: null,
|
|
},
|
|
saleFk: {
|
|
type: Number,
|
|
default: null,
|
|
},
|
|
warehouseFk: {
|
|
type: Number,
|
|
default: null,
|
|
},
|
|
});
|
|
</script>
|
|
<template>
|
|
<QPopupProxy style="max-width: 10px" data-cy="ItemDescriptor">
|
|
<ItemDescriptor
|
|
v-if="$props.id"
|
|
:id="$props.id"
|
|
:summary="ItemSummary"
|
|
:dated="dated"
|
|
:sale-fk="saleFk"
|
|
:warehouse-fk="warehouseFk"
|
|
/>
|
|
</QPopupProxy>
|
|
</template>
|