From c722b0a9cfbfe78aae53e98353464848254938f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Mon, 20 Jul 2026 14:44:13 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E6=96=B0=E5=A2=9E=E8=8D=AF=E5=93=81?= =?UTF-8?q?=E7=9A=84ERP=E6=8A=93=E5=8F=96=E6=95=B0=E9=87=8F=E5=80=8D?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/modules/v1/controllers/ErpController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/modules/v1/controllers/ErpController.php b/platform/modules/v1/controllers/ErpController.php index 633d0df..4c3f703 100644 --- a/platform/modules/v1/controllers/ErpController.php +++ b/platform/modules/v1/controllers/ErpController.php @@ -229,9 +229,9 @@ class ErpController extends Controller return [ 'detailId' => $item['id'], 'productSku' => $item['drug_no'], - 'quantity' => $erpQty, + 'quantity' => (string)$erpQty, 'paymentPrice' => $erpPaymentPrice, - 'price' => (string)round($originQty * $item['buy_price'], 2), + 'price' => round($originQty * $item['buy_price'], 2), ]; }