diff --git a/src/views/qms/inspectionRecord/index.vue b/src/views/qms/inspectionRecord/index.vue index ed885c7b2..a7863738e 100644 --- a/src/views/qms/inspectionRecord/index.vue +++ b/src/views/qms/inspectionRecord/index.vue @@ -255,7 +255,7 @@ const butttondata = (row) => { hasPermi: 'qms:inspection-recode-main:pub' }), // 发布 defaultButtons.mainListCloseBtn({ - hide: isShowMainButton(row, null), + hide: isShowMainButton(row, 'publish'), hasPermi: 'qms:inspection-recode-main:close' }), // 关闭 defaultButtons.mainListPackageBtn({ hide: isShowPackageBtn(row, ['11']) }), // 包装