diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 20bf60358..77de5e34e 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -629,7 +629,7 @@ const handleImport = () => { clicKRowId.value = row.id // 合同附件 - if(row.status=='1'||row.status=='2'||row.status=='6'){ + if((roleList.value.indexOf('purchase')>-1&&row.status=='2')||(roleList.value.indexOf('supplier_operator')>-1&&(row.status=='1'||row.status=='6'))){ detailAnnexTable.value[0].hiddenDelete = false detailAnnexTable.value[0].hiddenUpload = false }else{ @@ -637,7 +637,7 @@ const handleImport = () => { detailAnnexTable.value[0].hiddenUpload = true } // 发票附件 - if(row.status=='3'||row.status=='7'){ + if(roleList.value.indexOf('supplier_operator')>-1&&(row.status=='3'||row.status=='7')){ detailAnnexTable.value[1].hiddenDelete = false detailAnnexTable.value[1].hiddenUpload = false }else{