shish 2 år sedan
förälder
incheckning
d0bbe987ea
1 ändrade filer med 1 tillägg och 1 borttagningar
  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) {
         if ($export == 1) {
             $statData = [
             $statData = [
                 ['classId' => 0, 'className' => '物流打包费', 'income' => 0, 'expend' => $packFreight, 'profit' => -$packFreight],
                 ['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' => 0, 'expend' => $onlyRefund, 'profit' => -$onlyRefund],
                 ['classId' => 0, 'className' => '附加人工费', 'income' => $totalLabourCost, 'expend' => 0, 'profit' => $totalLabourCost],
                 ['classId' => 0, 'className' => '附加人工费', 'income' => $totalLabourCost, 'expend' => 0, 'profit' => $totalLabourCost],
                 ['classId' => 0, 'className' => '优惠金额', 'income' => -$totalDiscountAmount, 'expend' => 0, 'profit' => -$totalDiscountAmount],
                 ['classId' => 0, 'className' => '优惠金额', 'income' => -$totalDiscountAmount, 'expend' => 0, 'profit' => -$totalDiscountAmount],