diff --git a/src/views/extend/processEquMaterialBom/add-or-updata.vue b/src/views/extend/processEquMaterialBom/add-or-updata.vue index b53d1dce..97b4d05e 100644 --- a/src/views/extend/processEquMaterialBom/add-or-updata.vue +++ b/src/views/extend/processEquMaterialBom/add-or-updata.vue @@ -123,14 +123,6 @@ const tableProps = [ label: '备注', }, ]; - -const topBtnConfig = [ - { - type: 'add', - btnName: 'btn.add' - } -] - export default { mixins: [basicAdd], components: { SmallTitle, attrAdd }, @@ -153,7 +145,14 @@ export default { }, ], tableProps, - topBtnConfig, + topBtnConfig:[ + { + type: this.$auth.hasPermi('extend:process-equ-material-bom-det:add') + ? 'add' + : '', + btnName: 'btn.add' + } + ], addOrUpdateVisible: false, urlOptions: { isGetCode: false, diff --git a/src/views/extend/processEquValueBom/add-or-updata.vue b/src/views/extend/processEquValueBom/add-or-updata.vue index a7c8cacc..275171ab 100644 --- a/src/views/extend/processEquValueBom/add-or-updata.vue +++ b/src/views/extend/processEquValueBom/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zhp - * @LastEditTime: 2024-04-12 14:27:07 + * @LastEditTime: 2024-04-12 14:28:44 * @Description: -->