feat(wms-warehouse): 添加钢卷右键领料功能
新增仓库视图右键菜单触发钢卷选择弹窗,支持平面视图和3D视图右键选中钢卷,实现快速领料流程,包含领料弹窗、工序选择和接口调用逻辑
This commit is contained in:
@@ -49,13 +49,10 @@ const permission = {
|
||||
arr.forEach(item => {
|
||||
const title = (item.meta && item.meta.title) || item.name || ''
|
||||
const styleVal = item.meta && item.meta.style
|
||||
console.log('[permission] depth=' + depth, title, 'meta.style=', styleVal)
|
||||
if (item.children) logMetaStyle(item.children, depth + 1)
|
||||
})
|
||||
}
|
||||
console.log('[permission] === getRouters 原始数据 ===')
|
||||
logMetaStyle(res.data)
|
||||
console.log('[permission] === getRouters 数据结束 ===')
|
||||
const sdata = JSON.parse(JSON.stringify(res.data))
|
||||
const rdata = JSON.parse(JSON.stringify(res.data))
|
||||
const sidebarRoutes = filterAsyncRouter(sdata)
|
||||
|
||||
Reference in New Issue
Block a user