fix kashkool
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<div class="dinner physical-receive-page">
|
||||
<div class="dinner__container">
|
||||
<DesktopPageTopbar title="لیست دریافت فیزیکی" show-back />
|
||||
|
||||
<div class="dphysical-list">
|
||||
<RequestItem v-for="item in requestItems" :key="item.id" :item="item" />
|
||||
<div v-if="requestItems.length === 0" class="dinner-surface p-8 text-center text-gray-500">
|
||||
هنوز درخواستی ثبت نشده است.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" class="dphysical-add" @click="$emit('add')">
|
||||
<BasicIcon icon="vuesax-linear:add" />
|
||||
افزودن درخواست جدید
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { Physicalreceive } from '@/models/physicalreceive'
|
||||
import BasicIcon from '@/components/BasicPacks/BasicIcon.vue'
|
||||
import DesktopPageTopbar from '@/layouts/components/DesktopPageTopbar.vue'
|
||||
import RequestItem from '../components/RequestItem.vue'
|
||||
|
||||
defineProps<{
|
||||
requestItems: Physicalreceive[]
|
||||
}>()
|
||||
|
||||
defineEmits<{
|
||||
add: []
|
||||
}>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user