This commit is contained in:
2026-06-09 11:14:03 +08:00
parent c6a8bc39da
commit 7d0fa506b6
19 changed files with 25 additions and 31 deletions
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { reactive, ref } from 'vue'
import { reactive, ref, onMounted } from 'vue'
import { useInventory } from '@/modules/inventory/composables/useInventory'
import { apiRequest } from '@/shared/api'
import { addNotification, handleApiError } from '@/shared/notification'
@@ -81,6 +81,7 @@ async function deleteItem(id: number) {
handleApiError(e, '删除物料库存')
}
}
onMounted(() => { loadInventory() })
</script>
<template>