From 69d35e51bd51d21bd6d9398d77cf1dcedeab4026 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Thu, 21 Dec 2023 15:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=8F=90=E7=8E=B0?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87=E5=90=8E=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E6=89=93=E6=AC=BE=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/services/withdraw/AuditService.php | 4 +++- resources/views/withdraw/detail.blade.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/common/services/withdraw/AuditService.php b/app/common/services/withdraw/AuditService.php index b46bc8c0..d218357d 100644 --- a/app/common/services/withdraw/AuditService.php +++ b/app/common/services/withdraw/AuditService.php @@ -88,8 +88,10 @@ class AuditService private function _withdrawAudit() { DB::transaction(function () { + // 减少冻结金额 + $this->audit_amount = $this->audit_amount - $this->withdrawModel->freeze_money; + // 计算实际提现信息 并且修改申请状态 $this->audit(); - //提现收入申请表 WithdrawIncomeApplyService::apply($this->withdrawModel,'backend'); // 判断:如果存在冻结金额 根据类型进行对应的解冻操作 $incomeFreezeSet = IncomeFreezeSet::getInfo($this->withdrawModel->member_id); diff --git a/resources/views/withdraw/detail.blade.php b/resources/views/withdraw/detail.blade.php index 60cabbec..404145e2 100644 --- a/resources/views/withdraw/detail.blade.php +++ b/resources/views/withdraw/detail.blade.php @@ -182,7 +182,7 @@
审核金额: - [[(Number(withdraw.actual_amounts)+Number(withdraw.actual_servicetax)+Number(withdraw.actual_poundage)+Number(withdraw.freeze_money)).toFixed(2)]] 元 + [[(Number(withdraw.actual_amounts)+Number(withdraw.actual_servicetax)+Number(withdraw.actual_poundage)).toFixed(2)]] 元
手续费:[[withdraw.actual_poundage||"0.00"]] 元