2026-06-14 10:08:46 +03:30
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<div
|
2026-06-23 09:18:41 +02:00
|
|
|
class="flex flex-col gap-4 mpage-content px-2 pb-[calc(var(--app-bottom-chrome-height)+var(--app-add-card-height)+1rem)]"
|
2026-06-14 10:08:46 +03:30
|
|
|
>
|
|
|
|
|
<RequestItem v-for="item in requestItems" :key="item.id" :item="item" />
|
|
|
|
|
</div>
|
|
|
|
|
<Teleport to="body">
|
|
|
|
|
<div class="add-request app-dock-add-bar" @click="openAdd()">
|
|
|
|
|
<div>افزودن درخواست جدید</div>
|
|
|
|
|
<BasicIcon icon="vuesax-linear:add" />
|
|
|
|
|
</div>
|
|
|
|
|
</Teleport>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
|
|
|
|
import RequestItem from '../components/RequestItem.vue'
|
|
|
|
|
import { usePhysicalReceiveListContext } from '../composables/usePhysicalReceiveList'
|
|
|
|
|
|
|
|
|
|
const { requestItems, openAdd } = usePhysicalReceiveListContext()
|
|
|
|
|
</script>
|