shish %!s(int64=3) %!d(string=hai) anos
pai
achega
7fdbe7dfd1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app-ghs/controllers/PurchaseOrderItemController.php

+ 1 - 0
app-ghs/controllers/PurchaseOrderItemController.php

@@ -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;