|
@@ -14,7 +14,7 @@ class Excel
|
|
|
}
|
|
|
$file = Dever::input('excel_name');
|
|
|
|
|
|
- $header = array('门店编号', '门店名称', '门店类型', '订单号', '购买人', '商品编码', '商品名称', '规格型号', '商品单价', '购买数量', '商品合计金额', '配送类型', '订单类型', '下单时间', '付款时间', '发货时间', '订单合计金额', '订单实付金额', '已退订单金额', '礼品卡金额', '优惠券金额', '支付渠道', '订单状态','礼品卡名称');
|
|
|
+ $header = array('门店编号', '门店名称', '门店类型', '订单号', '购买人', '商品编码', '商品名称', '规格型号', '商品单价', '购买数量', '商品合计金额', '配送类型', '订单类型', '下单时间', '付款时间', '发货时间', '订单合计金额', '订单实付金额', '已退订单金额', '礼品卡金额', '优惠券金额', '代理优惠金额', '支付渠道', '订单状态','礼品卡名称');
|
|
|
|
|
|
$table = 'shop/info';
|
|
|
|
|
@@ -111,6 +111,7 @@ class Excel
|
|
|
round($v['refund_cash'], 2),
|
|
|
round($v['card_code_cash'], 2),
|
|
|
round($v['coupon_cash'], 2),
|
|
|
+ round($v['discount_cash'], 2),
|
|
|
$pay_type[$v['pay_type']],
|
|
|
$status[$v['status']],
|
|
|
$card_name,
|
|
@@ -156,6 +157,7 @@ class Excel
|
|
|
'',
|
|
|
'',
|
|
|
'',
|
|
|
+ '',
|
|
|
$pay_type[$v['pay_type']],
|
|
|
$status[$v['status']],
|
|
|
$card_name,
|
|
@@ -178,7 +180,7 @@ class Excel
|
|
|
}
|
|
|
$file = Dever::input('excel_name');
|
|
|
|
|
|
- $header = array('订单号', '收件人', '收件人手机', '收件人地址', '商品编码', '商品名称', '规格型号', '商品单价', '购买数量', '商品合计金额', '商品支付金额', '下单时间', '付款时间', '发货时间', '收货时间' , '订单总数量', '订单总金额', '订单实付金额', '礼品卡金额', '优惠券金额', '订单状态', '退款状态', '退款金额');
|
|
|
+ $header = array('订单号', '收件人', '收件人手机', '收件人地址', '商品编码', '商品名称', '规格型号', '商品单价', '购买数量', '商品合计金额', '商品支付金额', '下单时间', '付款时间', '发货时间', '收货时间' , '订单总数量', '订单总金额', '订单实付金额', '礼品卡金额', '优惠券金额', '代理优惠金额', '订单状态', '退款状态', '退款金额');
|
|
|
|
|
|
$table = 'shop/info';
|
|
|
|
|
@@ -276,6 +278,7 @@ class Excel
|
|
|
round($v['price'], 2),
|
|
|
round($v['card_code_cash'], 2),
|
|
|
round($v['coupon_cash'], 2),
|
|
|
+ round($v['discount_cash'], 2),
|
|
|
$status[$v['status']],
|
|
|
$refund_status,
|
|
|
round($v['refund_cash'], 2),
|
|
@@ -320,6 +323,7 @@ class Excel
|
|
|
'',
|
|
|
'',
|
|
|
'',
|
|
|
+ '',
|
|
|
$status[$v['status']],
|
|
|
'',
|
|
|
'',
|