{{ supplier.name }}
@@ -57,12 +62,14 @@ const editSupplier = (id: number) => {
router.push(`/admin/supplier/${id}`)
}
-const deleteSupplier = (id: number) => {
+const goToSupplier = (id: number) => {
+ router.push(`/admin/supplier/${id}`)
}
onMounted(async () => {
supplierList.value = (await getSupplierList(false)) ?? []
})
+