From 9e5b151d30e892c94207aeb20e78a82b35995947 Mon Sep 17 00:00:00 2001 From: lq Date: Wed, 29 Oct 2025 10:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=AF=95=E5=88=86=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/forms/LedgerForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/forms/LedgerForm.php b/common/forms/LedgerForm.php index 4a19a7d..2362ca6 100644 --- a/common/forms/LedgerForm.php +++ b/common/forms/LedgerForm.php @@ -727,7 +727,7 @@ class LedgerForm extends BaseModel $logDecoct->saveOrFail(); } - $processPriceTotal = 0; + $platformProcessTotal = 0; //增加加工费 if($productOrder->process_price > 0){ $platformProcessTotal = Ledger::find()->where(['order_id' => $this->order_id, 'user_type' => 2, 'order_type' => 1, 'fee_type' => 5])->sum('money'); // 该订单加工费用 @@ -763,7 +763,7 @@ class LedgerForm extends BaseModel $logDelivery->saveOrFail(); } - $money1 = bcadd($platformDrugTotal, $processPriceTotal, 2); + $money1 = bcadd($platformDrugTotal, $platformProcessTotal, 2); $money2 = bcadd($platformDeliveryTotal, $platformDecoctTotal, 2); $platformTotal = round(bcadd($money1, $money2, 2), 2); //该订单平台分佣总金额 //可提现金额表更新