shish 2 лет назад
Родитель
Сommit
d0bbe987ea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      biz-ghs/stat/classes/StatSaleClass.php

+ 1 - 1
biz-ghs/stat/classes/StatSaleClass.php

@@ -633,7 +633,7 @@ class StatSaleClass extends BaseClass
         if ($export == 1) {
             $statData = [
                 ['classId' => 0, 'className' => '物流打包费', 'income' => 0, 'expend' => $packFreight, 'profit' => -$packFreight],
-                ['classId' => 0, 'className' => '采购仅退款', 'income' => $onlyRefundCg, 'expend' => $packFreight, 'profit' => $onlyRefundCg],
+                ['classId' => 0, 'className' => '采购仅退款', 'income' => $onlyRefundCg, 'expend' => 0, 'profit' => $onlyRefundCg],
                 ['classId' => 0, 'className' => '销售仅退款', 'income' => 0, 'expend' => $onlyRefund, 'profit' => -$onlyRefund],
                 ['classId' => 0, 'className' => '附加人工费', 'income' => $totalLabourCost, 'expend' => 0, 'profit' => $totalLabourCost],
                 ['classId' => 0, 'className' => '优惠金额', 'income' => -$totalDiscountAmount, 'expend' => 0, 'profit' => -$totalDiscountAmount],