|
@@ -95,9 +95,9 @@ class Excel
|
|
|
$goods_info['code'],
|
|
|
$goods_info['name'],
|
|
|
$sku,
|
|
|
- $v1['price'],
|
|
|
- $v1['num'],
|
|
|
- $v1['price']*$v1['num'],
|
|
|
+ round($v1['price'], 2),
|
|
|
+ round($v1['num'], 2),
|
|
|
+ round($v1['price']*$v1['num'], 2),
|
|
|
|
|
|
|
|
|
$method[$v['method']],
|
|
@@ -107,10 +107,10 @@ class Excel
|
|
|
$operdate,
|
|
|
|
|
|
round($total_cash, 2),
|
|
|
- $v['price'],
|
|
|
- $v['refund_cash'],
|
|
|
- $v['card_code_cash'],
|
|
|
- $v['coupon_cash'],
|
|
|
+ round($v['price'], 2),
|
|
|
+ round($v['refund_cash'], 2),
|
|
|
+ round($v['card_code_cash'], 2),
|
|
|
+ round($v['coupon_cash'], 2),
|
|
|
$pay_type[$v['pay_type']],
|
|
|
$status[$v['status']],
|
|
|
$card_name,
|
|
@@ -140,8 +140,8 @@ class Excel
|
|
|
$v2['code'],
|
|
|
$v2['name'] . '('.$goods_info['name'].')',
|
|
|
$sku,
|
|
|
- $v2['price'],
|
|
|
- $v2['num'],
|
|
|
+ round($v2['price'], 2),
|
|
|
+ round($v2['num'], 2),
|
|
|
$p,
|
|
|
|
|
|
|