|
@@ -135,7 +135,7 @@
|
|
|
$hasPermission('main:bomcategory:convertmbom') &&
|
|
$hasPermission('main:bomcategory:convertmbom') &&
|
|
|
currentNodeData.bomType == 1 &&
|
|
currentNodeData.bomType == 1 &&
|
|
|
(searchObj.isProduct ||
|
|
(searchObj.isProduct ||
|
|
|
- ['1', '9'].includes(searchObj.rootPathIdParent)) &&
|
|
|
|
|
|
|
+ ['1', '9', '23'].includes(searchObj.rootPathIdParent)) &&
|
|
|
(currentNodeData.parentId == '0' || !currentNodeData.parentId)
|
|
(currentNodeData.parentId == '0' || !currentNodeData.parentId)
|
|
|
"
|
|
"
|
|
|
>转换MBOM</el-button
|
|
>转换MBOM</el-button
|
|
@@ -152,7 +152,7 @@
|
|
|
$hasPermission('main:bomcategory:convertabom') &&
|
|
$hasPermission('main:bomcategory:convertabom') &&
|
|
|
currentNodeData.bomType == 1 &&
|
|
currentNodeData.bomType == 1 &&
|
|
|
(searchObj.isProduct ||
|
|
(searchObj.isProduct ||
|
|
|
- ['1', '9'].includes(searchObj.rootPathIdParent)) &&
|
|
|
|
|
|
|
+ ['1', '9', '23'].includes(searchObj.rootPathIdParent)) &&
|
|
|
(currentNodeData.parentId == '0' || !currentNodeData.parentId)
|
|
(currentNodeData.parentId == '0' || !currentNodeData.parentId)
|
|
|
"
|
|
"
|
|
|
>转换ABOM</el-button
|
|
>转换ABOM</el-button
|