fix: adjustment list and entry for material
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user