|
@@ -389,15 +389,15 @@ class Excel
|
|
|
|
|
|
$source,
|
|
|
$v['order_num'],
|
|
|
- $v['num'],
|
|
|
- $v['price'],
|
|
|
+ round($v['num'], 2),
|
|
|
+ round($v['price'], 2),
|
|
|
|
|
|
$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),
|
|
|
|
|
|
$cdate,
|
|
|
$status[$v['status']],
|
|
@@ -470,13 +470,13 @@ class Excel
|
|
|
$info['name'],
|
|
|
$source,
|
|
|
$v['order_num'],
|
|
|
- $v['num'],
|
|
|
- $v1['p_price'],
|
|
|
+ round($v['num'], 2),
|
|
|
+ round($v1['p_price'], 2),
|
|
|
|
|
|
$goods_info['code'],
|
|
|
$goods_info['name'],
|
|
|
$sku,
|
|
|
- $v1['num'],
|
|
|
+ round($v1['num'], 2),
|
|
|
|
|
|
$cdate,
|
|
|
$fdate,
|
|
@@ -552,22 +552,22 @@ class Excel
|
|
|
$info_type[$info['type']],
|
|
|
|
|
|
$v['order_num'],
|
|
|
- $v['num'],
|
|
|
- $v['price'],
|
|
|
+ round($v['num'], 2),
|
|
|
+ round($v['price'], 2),
|
|
|
|
|
|
$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),
|
|
|
|
|
|
$cdate,
|
|
|
$fdate,
|
|
|
$status[$v['status']],
|
|
|
$refund_status,
|
|
|
$num,
|
|
|
- $v['refund_cash'],
|
|
|
+ round($v['refund_cash'], 2),
|
|
|
);
|
|
|
|
|
|
$body[] = $d;
|
|
@@ -634,12 +634,12 @@ class Excel
|
|
|
$info['name'],
|
|
|
|
|
|
$v['order_num'],
|
|
|
- $v['num'],
|
|
|
+ round($v['num'], 2),
|
|
|
|
|
|
$goods_info['code'],
|
|
|
$goods_info['name'],
|
|
|
$sku,
|
|
|
- $v1['num'],
|
|
|
+ round($v1['num'], 2),
|
|
|
|
|
|
$cdate,
|
|
|
$fdate,
|