fix: adjustment list and entry for material

This commit is contained in:
riefive
2025-09-24 15:34:38 +07:00
parent d0b3d28cdd
commit fcabbc25ff
5 changed files with 35 additions and 48 deletions
+3 -2
View File
@@ -55,7 +55,7 @@ const {
} = usePaginatedList({
fetchFn: async ({ page }) => {
const result = await getSourceMaterials({ page })
return result.data || []
return { success: result.success || false, body: { data: result.data || [], meta: result.meta || {} } }
},
entityName: 'equipment',
})
@@ -105,7 +105,8 @@ watch(recId, () => {
})
onMounted(async () => {
await getUomList();
await getUomList()
await getEquipmentList()
})
</script>