From dbef3271d79bb7a997e067d3b8314e05f371986d Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 26 Feb 2025 13:48:36 +0800 Subject: [PATCH] FWHL-234 --- src/views/qms/inspectionRecord/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/qms/inspectionRecord/index.vue b/src/views/qms/inspectionRecord/index.vue index 5d96ad648..4d015d342 100644 --- a/src/views/qms/inspectionRecord/index.vue +++ b/src/views/qms/inspectionRecord/index.vue @@ -258,10 +258,7 @@ const butttondata = (row) => { hide: isShowMainButton(row, 'publish'), hasPermi: 'qms:inspection-recode-main:pub' }), // 发布 - defaultButtons.mainListCloseBtn({ - hide: isShowMainButton(row, 'publish'), - hasPermi: 'qms:inspection-recode-main:close' - }), // 关闭 + defaultButtons.mainListPackageBtn({ hide: isShowPackageBtn(row, ['11']) }), // 包装 // defaultButtons.mainListJobExeBtn({ // hide:row.useDecision, @@ -269,7 +266,11 @@ const butttondata = (row) => { // }), // 执行 defaultButtons.mainListEditBtn({ hide: isShowEditBtn(row, ['11']) }), // 编辑 defaultButtons.mainListPlanCheckQualityReportBtn({}), // 查看质检报告 - defaultButtons.mainListSupplierResumeBtn({}) // 查看履历表 + defaultButtons.mainListSupplierResumeBtn({}), // 查看履历表 + defaultButtons.mainListCloseBtn({ + hide: isShowMainButton(row, 'publish'), + hasPermi: 'qms:inspection-recode-main:close' + }), // 关闭 ] }