rabin 2 年之前
父节点
当前提交
d870e9d4dd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/shop/src/Excel.php

+ 2 - 2
app/shop/src/Excel.php

@@ -106,7 +106,7 @@ class Excel
                     $paydate,
                     $operdate,
 
-                    $total_cash,
+                    round($total_cash, 2),
                     $v['price'],
                     $v['refund_cash'],
                     $v['card_code_cash'],
@@ -272,7 +272,7 @@ class Excel
                     $fdate,
 
                     $v['num'],
-                    $total_cash,
+                    round($total_cash, 2),
                     $v['price'],
                     $v['card_code_cash'],
                     $v['coupon_cash'],