feat(specialist): finishing integrate specialist

This commit is contained in:
riefive
2025-09-30 14:40:50 +07:00
parent 2f6528e12a
commit e62d84b812
6 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ const getUnitList = async () => {
const result = await getUnits()
if (result.success) {
const currentUnits = result.body?.data || []
units.value = currentUnits.map((item: Unit) => ({ value: item.code, label: item.name }))
units.value = currentUnits.map((item: Unit) => ({ value: item.id ? Number(item.id) : item.code, label: item.name }))
}
}