From 81e136096d05dc5cc14e985c84dd06b10fe0be88 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Fri, 27 Sep 2024 08:53:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oilAccount/components/accountListItem.vue | 7 +++++-- oilAccount/page/accountRecharge/details.vue | 12 +++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) 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 },