rabin 3 年之前
父節點
當前提交
4f0882c921
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      app/shop/src/Excel.php

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

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