feat:多项功能优化

This commit is contained in:
zhoujianjin
2026-09-18 18:54:54 +08:00
parent 672cd23329
commit 543655d441
48 changed files with 1289 additions and 447 deletions
@@ -28,7 +28,8 @@ async function loadScopeDicts() {
try {
const z = await request.get('/zone/picker')
const arr = Array.isArray(z) ? z : (z?.list || [])
zonesDict.value = arr.map(x => x.zoneCode || x.code).filter(Boolean)
// picker 每行是一个货位,同一区域会重复出现,去重后区域选项才不重复
zonesDict.value = [...new Set(arr.map(x => x.zoneCode || x.code).filter(Boolean))]
} catch { /* 忽略 */ }
}