From e1ccef44a4804c403601869ff7db62e9814d896a Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 22 Sep 2025 14:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E7=A5=A8=E8=81=94=E6=8B=89=E5=8F=96?= =?UTF-8?q?=E8=A5=BF=E8=8D=AF=E7=9A=84=E4=BE=9B=E8=B4=A7=E4=BB=B7=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=8Clj=E4=BC=A0=E8=85=BE=E7=95=99=E5=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/modules/v1/controllers/ErpController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/modules/v1/controllers/ErpController.php b/platform/modules/v1/controllers/ErpController.php index 646e2de..7f365e8 100644 --- a/platform/modules/v1/controllers/ErpController.php +++ b/platform/modules/v1/controllers/ErpController.php @@ -78,7 +78,7 @@ class ErpController extends Controller 'productSku' => $vv['drug_no'], 'quantity' => $vv['number'], 'paymentPrice' => $vv['price'], - 'price' => round($vv['number'] * $vv['price'], 2) + 'price' => round($vv['number'] * $vv['buy_price'], 2) ]; } $erpData[$k]['orderItems'] = $orderItems;