|
|
@@ -28,6 +28,7 @@ class PurchaseOrderItemController extends BaseController
|
|
|
foreach ($list as $key => $info) {
|
|
|
$productId = $info['productId'] ?? 0;
|
|
|
$cost = $info['cost'] ?? 0;
|
|
|
+ $cost = round($cost);
|
|
|
$current = $itemList[$productId] ?? [];
|
|
|
$addPrice = $current['addPrice'] ?? 0;
|
|
|
$skMore = $current['skMore'] ?? 0;
|