diff --git a/oilAccount/components/accountListItem.vue b/oilAccount/components/accountListItem.vue index 0f418e8..8313647 100644 --- a/oilAccount/components/accountListItem.vue +++ b/oilAccount/components/accountListItem.vue @@ -78,8 +78,11 @@ return '付款完成' case 4: return '取消充值' - // case 5: - // return '待数据中心审核' + // case 5: + // return '待数据中心审核' + case 5: + if (['CALIBRATION_BALANCE'].includes(item.transactionType) || (item.transactionType === + 'TURN' && item.turnType == 4)) return '待财务审核' default: return '---' } diff --git a/oilAccount/page/accountRecharge/details.vue b/oilAccount/page/accountRecharge/details.vue index 7ac73bb..ad643b2 100644 --- a/oilAccount/page/accountRecharge/details.vue +++ b/oilAccount/page/accountRecharge/details.vue @@ -178,6 +178,9 @@ return '取消充值' // case 5: // return '待数据中心审核' + case 5: + if (['CALIBRATION_BALANCE'].includes(details.transactionType) || (details.transactionType === + 'TURN' && details.turnType == 4)) return '待财务审核' default: return '---' } @@ -190,7 +193,7 @@ // auditMark, // transactionType // } = this.details - // let authList = uni.getStorageSync('user').authList + let authList = uni.getStorageSync('user').authList // if (auditMark == 0 && ['RECHARGE_REBETE', 'CONSUME_REBATE', 'CALIBRATION_BALANCE'].includes( // transactionType) && // !authList.includes('finance:site:recharge:operateLeader')) { @@ -207,6 +210,13 @@ // }) // return // } + if (this.details.auditMark == 5 && !authList.includes('finance:site:recharge:finance')) { + uni.showToast({ + title: '无财务审核权限!', + icon: 'none' + }) + return + } this.iShow.examine = true },