diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index fdbdb1e01..72031bc2e 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -1074,12 +1074,11 @@ const importSuccess = () => { }else{ roleList.value = [] } - detailButtonIsShowAddStatusArray.value = ['1','6'] - // if(roleList.value.indexOf('supplier_operator')>-1){ - // detailButtonIsShowAddStatusArray.value = ['1','6'] - // }else{ - // detailButtonIsShowAddStatusArray.value = [] - // } + if(roleList.value.indexOf('supplier_operator')>-1){ + detailButtonIsShowAddStatusArray.value = ['1','6'] + }else{ + detailButtonIsShowAddStatusArray.value = [] + } } /** 初始化 **/