修复:提现审核通过后实际打款数据错误

This commit is contained in:
wuhui_zzw 2023-12-21 15:32:37 +08:00
parent 83ef737b03
commit 69d35e51bd
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -182,7 +182,7 @@
<div class="item">
审核金额:
<span style="color: red;">
[[(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)]]
</span>
</div>
<div class="item">手续费:<span style="color: red;">[[withdraw.actual_poundage||"0.00"]] </span></div>