1. 新增药品的ERP抓取数量倍数

This commit is contained in:
李琦
2026-07-20 14:44:13 +08:00
parent 686c188829
commit c722b0a9cf

View File

@@ -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),
];
}