erp订单抓取参数

This commit is contained in:
2025-10-29 09:16:58 +08:00
parent e50a0cd8dc
commit 3b430a3b59

View File

@@ -313,8 +313,8 @@ class LedgerForm extends BaseModel
foreach($productOrderItems as $v){
$ledger = [];
$number = $v['number'];
$totalPrice = round($number * $v['price'], 4);
$totalBuyPrice = round($number * $v['buy_price'], 4);
$totalPrice = round($v['dosage'] * $number * $v['price'], 4);
$totalBuyPrice = round($v['dosage'] * $number * $v['buy_price'], 4);
/*
* 医保支付(走月付)