diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 025c41c68..b19da08e7 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -334,7 +334,7 @@ const getSelectionRows = (currentPage,currentPageSelectionRows) => { { label: t('ts.采购通过'), name: 'purchase_mainPlanSub', - hide: isShowMainButton(row, ['2','7']), + hide: isShowMainButton(row, ['2','7']) || !row.currentIsProcurementCreator, type: 'primary', icon: '', color: '', @@ -343,7 +343,7 @@ const getSelectionRows = (currentPage,currentPageSelectionRows) => { },{ label: t('ts.采购驳回'), name: 'purchase_mainPlanTur', - hide: isShowMainButton(row, ['2','7']), + hide: isShowMainButton(row, ['2','7']) || !row.currentIsProcurementCreator, type: 'danger', color: '', link: true, // 文本展现按钮