|
|
@@ -118,8 +118,7 @@ class PurchaseOrderClass extends BaseClass
|
|
|
$count = $current['itemNum'] ?? '';
|
|
|
$count = floatval($count);
|
|
|
$content .= '<B>' . $name . ' ' . $count . $bigUnit . '</B><BR>';
|
|
|
- $totalPrice = bcmul($count, $bigPrice, 2);
|
|
|
- $totalPrice = floatval($totalPrice);
|
|
|
+ $totalPrice = $current['totalPrice']??0;
|
|
|
$content .= $count . $bigUnit . 'x' . $bigPrice . '元' . '=' . $totalPrice . '元<BR>';
|
|
|
if (isset($current['refundNum']) && $current['refundNum'] > 0) {
|
|
|
$content .= '<B>已退' . $current['refundNum'] . $bigUnit . '</B><BR>';
|