<?php
namespace App\ExcelTemp;

trait ExcelTemp
{
    public function getActions ()
    {
       $action = [
			//['action_name' => '电话沟通', 'action_value' => 'aftercust'],
			['action_name' => '绑定服务商', 'action_value' => 'Bserviss'],
			['action_name' => '安装人员管理', 'action_value' => 'InstallPerson'],
			//['action_name' => '发票号管理', 'action_value' => 'InvoiceNum'],
			//['action_name' => '发票管理', 'action_value' => 'invoicetable'],
			['action_name' => '服务商管理', 'action_value' => 'serviceProvider'],//新增 2022-2-24
			['action_name' => '工单管理', 'action_value' => 'Orderlist'],
			['action_name' => '订单管理', 'action_value' => 'Orders'],
           ['action_name' => '商品订单', 'action_value' => 'OrdersMsg'],//新增 2022-5-12
			//['action_name' => '第三方账目管理', 'action_value' => 'ptthree'],
			//['action_name' => '服务中心账目管理', 'action_value' => 'servicecenter'],
			['action_name' => '第三方付款', 'action_value' => 'SettlementThree'],//2022-2-8
			['action_name' => '商品管理', 'action_value' => 'Goods'],
			['action_name' => '申请退收管理', 'action_value' => 'SubmitPlease'],
			['action_name' => '平台评价', 'action_value' => 'EvaluationForm'],
			//['action_name' => '发货列表', 'action_value' => 'SendGoods'],
			//['action_name' => '微信绑定', 'action_value' => 'WxBinding'],
			//['action_name' => '协商价格', 'action_value' => 'Negotiated'],
            ['action_name' => '服务商门店地址', 'action_value' => 'BserviStore'],
            ['action_name' => '售后列表', 'action_value' => 'AftersaleOrder'],
           ['action_name' => '周月结状态报表', 'action_value' => 'StatementsList'],
           ['action_name' => '月报表明细', 'action_value' => 'SettlementMouth'],
           ['action_name' => '门店报表导出', 'action_value' => 'SettlementBillExport'],//
           ['action_name' => '服务中心账目管理', 'action_value' => 'ServiceCenter'],//

          // ['action_name' => '礼品活动', 'action_value' => 'EventGift'],//2022-1-16

           ['action_name' => '申请退款', 'action_value' => 'Refund'],//2022-2-7
          // ['action_name' => '车膜售后列表', 'action_value' => 'AftersaleOrderCarfilms'],//2022-2-17

         //  ['action_name' => '回收列表', 'action_value' => 'RecycleOrder'],//2022-3-2

         //  ['action_name' => 'F6订单列表', 'action_value' => 'F6StoreOrder'],//2022-3-4

           ['action_name' => '账目中心发票导出', 'action_value' => 'InvoiceExcel'],//2022-3-15


       ];
        return $action;
    }



    public function getField ($param)
    {
        $filed = [
            //2022-3-15
            'InvoiceExcel' => [
                ['field_name' => '账户名', 'field_value' => 'accountname'],//
                ['field_name' => '账号', 'field_value' => 'account'],
                ['field_name' => '开户行', 'field_value' => 'opeaccline'],//
                ['field_name' => '剩余金额', 'field_value' => 'residue_money'],//
            ],


            //2022-3-4
            'F6StoreOrder' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '主订单编号', 'field_value' => 'order_id'],//
                ['field_name' => '订单编号', 'field_value' => 'order_id_sub'],
                ['field_name' => '服务项目', 'field_value' => 'order_item'],//
                ['field_name' => '门店id', 'field_value' => 'store_id'],//
                ['field_name' => '门店名称', 'field_value' => 'store_name'],
                ['field_name' => '处理状态', 'field_value' => 'result_state_name'],/////
                ['field_name' => '创建时间', 'field_value' => 'create_time'],//
                ['field_name' => '同步结果备注', 'field_value' => 'sys_centent'],//
                ['field_name' => '服务商名', 'field_value' => 'ser_name'],//2022-4-11
            ],

            //2022-3-2  导出字段：平台名称  平台单号 商品名称 商品数量 商品回收状态   申请人  申请时间   申请备注
            'RecycleOrder' => [
                ['field_name' => '编号', 'field_value' => 'rog_id'],
                ['field_name' => '平台单号', 'field_value' => 'ro_ordernum'],//
                ['field_name' => '平台名称', 'field_value' => 'pt_name'],////
                ['field_name' => '商品名称', 'field_value' => 'rog_goodsname'],//
                ['field_name' => '商品数量', 'field_value' => 'rog_goodsnum'],//
                ['field_name' => '商品回收状态', 'field_value' => 'dealtype_statusname'],////
                ['field_name' => '申请人', 'field_value' => 'creactor'],//
                ['field_name' => '申请时间', 'field_value' => 'ro_ctime'],//
                //['field_name' => '申请备注', 'field_value' => 'note'],///
            ],


            //2022-2-8
            'SettlementThree' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],
                ['field_name' => '平台单号', 'field_value' => 'order_num'],
                ['field_name' => '平台名称', 'field_value' => 'pt_name'],
                ['field_name' => '第三方结算价', 'field_value' => 'p_price'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '成本价', 'field_value' => 'all_price'],
                ['field_name' => '结算单状态', 'field_value' => 'three_statusname'],
                ['field_name' => '接单时间', 'field_value' => 'create_time'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '服务单位', 'field_value' => 'receive_info'],//

            ],

            ////2022-2-7
            'Refund' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '订单号', 'field_value' => 'order_num'],
                ['field_name' => '平台名', 'field_value' => 'pt_name'],//
                ['field_name' => '下单时间', 'field_value' => 'order_time'],
                ['field_name' => '申请时间', 'field_value' => 'created_at'],
                ['field_name' => '商品', 'field_value' => 'goods_name'],
                ['field_name' => '姓名', 'field_value' => 'shr_name'],
                ['field_name' => '电话', 'field_value' => 'shr_phone'],
                ['field_name' => ' 省份', 'field_value' => 'shr_sheng'],

                ['field_name' => ' 城市', 'field_value' => 'shr_shi'],

                ['field_name' => ' 区县', 'field_value' => 'shr_xian'],

                ['field_name' => ' 详细地址', 'field_value' => 'shr_adress'],
                ['field_name' => '接单方信息', 'field_value' => 'receive_info'],
                ['field_name' => '申请人', 'field_value' => 'creactor'],
                ['field_name' => '订单状态', 'field_value' => 'status_name'],//
                ['field_name' => '品类名', 'field_value' => 'cd_name'],//
            ],

            'EventGift' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '订单号', 'field_value' => 'order_num'],
                ['field_name' => '商品名', 'field_value' => 'goods_name'],
                ['field_name' => '快递公司', 'field_value' => 'expressage'],
                ['field_name' => '快递单号', 'field_value' => 'express_num'],
                ['field_name' => '创建时间', 'field_value' => 'created_at'],
                ['field_name' => '平台名', 'field_value' => 'pt_name'],//
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '省', 'field_value' => 'shr_sheng'],
                ['field_name' => '市', 'field_value' => 'shr_shi'],
                ['field_name' => '县', 'field_value' => 'shr_xian'],
                ['field_name' => '地址', 'field_value' => 'shr_address'],
                ['field_name' => '礼品信息', 'field_value' => 'goods_info_name'],//
                ['field_name' => '数量', 'field_value' => 'service_num'],//
            ],

           /* 'admins' => [

                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '登录名', 'field_value' => 'admin_acc'],
                ['field_name' => '姓名', 'field_value' => 'admin_name'],
                ['field_name' => '电话', 'field_value' => 'phone'],
                ['field_name' => '所属部门', 'field_value' => 'bmmc_name'],
                ['field_name' => '默认平台', 'field_value' => 'pt_name'],
                ['field_name' => '账号状态', 'field_value' => 'enable'],

            ],*/
            'StatementsList' => [

                ['field_name' => '编号', 'field_value' => 'stl_id'],

                ['field_name' => '创建时间', 'field_value' => 'stl_time'],

                ['field_name' => '服务中心', 'field_value' => 'company_name'],

                ['field_name' => '订单数量', 'field_value' => 'number'],

                ['field_name' => '结算单号', 'field_value' => 'stl_wat'],

                ['field_name' => '账单金额', 'field_value' => 'stl_money'],

                ['field_name' => '账单状态', 'field_value' => 'stl_type'],

                ['field_name' => '开始时间', 'field_value' => 'stl_startime'],

                ['field_name' => '结束时间', 'field_value' => 'stl_endtime'],

                ['field_name' => '用友编码', 'field_value' => 'ser_yycode'],
            ],


            'SettlementMouth' => [
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],//1

                ['field_name' => '平台单号', 'field_value' => 'order_num'],//2

                ['field_name' => '订单时间', 'field_value' => 'order_msg_time'],//订单时间 3

                ['field_name' => '订单金额 ', 'field_value' => 'goods_price'],//4

                ['field_name' => ' 产品品牌', 'field_value' => 'goods_brand'],//5

                ['field_name' => ' 产品型号', 'field_value' => 'goods_number'],//6

                ['field_name' => ' 商品数量', 'field_value' => 'goods_num'],//7

                ['field_name' => '派工单号', 'field_value' => 'list_id'],//8

                ['field_name' => '派单时间', 'field_value' => 'p_time'],//9

                ['field_name' => '接单时间', 'field_value' => 'create_time'],//10

                ['field_name' => '申请完成时间', 'field_value' => 'setfeeds_time'],//11

                ['field_name' => '平台', 'field_value' => 'pt_name'],//12

                ['field_name' => '供货价', 'field_value' => 'supply_price'],//13

                ['field_name' => '撤销补助', 'field_value' => '4_titleid'],//14

                ['field_name' => '接单奖励', 'field_value' => '2_titleid'],//15

                ['field_name' => '预约奖励', 'field_value' => '17_titleid'],//16

                ['field_name' => '预约处罚', 'field_value' => '18_titleid'],//17

                ['field_name' => '完成奖励', 'field_value' => '7_titleid'],//18

                ['field_name' => '接单处罚', 'field_value' => '3_titleid'],//19

                ['field_name' => '待收金额', 'field_value' => '5_titleid'],//20

                ['field_name' => '待付金额', 'field_value' => '6_titleid'],//21

                ['field_name' => '加急奖励', 'field_value' => '8_titleid'],//22

                ['field_name' => '夜间奖励', 'field_value' => '9_titleid'],//23

                ['field_name' => '错图处罚', 'field_value' => '11_titleid'],//24

                ['field_name' => '活动支持', 'field_value' => '12_titleid'],//25

                ['field_name' => '油费补贴', 'field_value' => '13_titleid'],//26

                ['field_name' => '淡季价格补贴', 'field_value' => '14_titleid'],//27

                ['field_name' => '协商价格', 'field_value' => '15_titleid'],//28

                ['field_name' => '催单处罚', 'field_value' => '16_titleid'],//29

                ['field_name' => '结算补贴', 'field_value' => '19_titleid'],//30

                ['field_name' => '补货补贴', 'field_value' => '266_titleid'],//31

                ['field_name' => ' 结算金额', 'field_value' => 'all_price'],//32

                ['field_name' => '金额详情', 'field_value' => 'price_detail'],//33

                ['field_name' => ' 申请结算时间', 'field_value' => 'apply_for_time'],//34

                ['field_name' => ' 付款时间', 'field_value' => 'apply_pay_time'],//35

                ['field_name' => '结算单号', 'field_value' => 'wat_num'],//36

                ['field_name' => '是否收票', 'field_value' => 'whether_inv'],//37

                ['field_name' => '订单状态', 'field_value' => 'order_status_name'],//38

                ['field_name' => '服务商', 'field_value' => 'company_name'],//39

                ['field_name' => '第三方价格', 'field_value' => 'p_price'],//40

                ['field_name' => '第三方结算单号', 'field_value' => 'wat_three'],//41

                ['field_name' => '第三方申请结算时间', 'field_value' => 'three_apply_for_time'],//42

                ['field_name' => ' 第三方付款时间', 'field_value' => 'three_apply_pay_time'],//43

                ['field_name' => ' 用友编号', 'field_value' => 'ser_yycode'],//44

                ['field_name' => '扣除补货货款', 'field_value' => '249_titleid'],//45

                ['field_name' => '姓名', 'field_value' => 'shr_name'],//46

                ['field_name' => ' 省份', 'field_value' => 'shr_sheng'],//47

                ['field_name' => ' 城市', 'field_value' => 'shr_shi'],//48

                ['field_name' => ' 区县', 'field_value' => 'shr_xian'],//49

                ['field_name' => ' 详细地址', 'field_value' => 'shr_adress'],//50

                ['field_name' => ' 结款类型', 'field_value' => 'mouth_pay'],//51 2022-05-05 dou
                //['field_name' => '商品名称', 'field_value' => 'goods_name'],//4


//$money_type[3],$money_type[4],$money_type[5],$money_type[6],$money_type[8],$money_type[9],$money_type[11],$money_type[12],$money_type[13],$money_type[14],$money_type[15],$money_type[16],$money_type[19],$money_type[266]

            ],

            'SettlementBillExport' => [
                ['field_name' => '下单时间', 'field_value' => 'order_msg_time'],
                ['field_name' => ' 产品型号', 'field_value' => 'goods_number'],
                ['field_name' => '派工单号', 'field_value' => 'list_id'],
                ['field_name' => '金额 ', 'field_value' => 'all_price'],
                ['field_name' => '服务商名称', 'field_value' => 'company_name'],
                ['field_name' => '手机号', 'field_value' => 'shr_phone'],
                ['field_name' => '金额详情', 'field_value' => 'price_detail'],
                ['field_name' => '账号', 'field_value' => 'accountname'],

                //'时间','型号','派工单号','金额','服务商名称','手机号','数据id','姓名','金额详情
// ['field_name' => '姓名', 'field_value' => 'shr_name'],['field_name' => '订单金额 ', 'field_value' => 'all_price'],
            ],


            'aftercust' => [

                ['field_name' => '编号', 'field_value' => 'afc_id'],
                ['field_name' => '系统单号', 'field_value' => 'afc_sys'],
                ['field_name' => '平台单号', 'field_value' => 'afc_order'],
                ['field_name' => '派工单号', 'field_value' => 'afc_serial'],
                ['field_name' => '平台名称', 'field_value' => 'pt_name'],
                ['field_name' => '订单创建时间', 'field_value' => 'afc_ordertime'],
                ['field_name' => '商品名称', 'field_value' => 'afc_goodname'],
                ['field_name' => '商品单价', 'field_value' => 'afc_price'],
                ['field_name' => '商品数量', 'field_value' => 'afc_num'],
                ['field_name' => '创建人', 'field_value' => 'afc_creacter'],
                ['field_name' => '创建时间', 'field_value' => 'afc_creactime'],
                ['field_name' => '发票类型', 'field_value' => 'invoice'],
                //['field_name' => '快递单号', 'filed_value' => 'enable'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '客户地址', 'field_value' => 'shr_adree'],
            ],

            'Bserviss' => [
                ['field_name' => '编号', 'field_value' => 'bs_id'],
                ['field_name' => '服务商', 'field_value' => 'company_name'],
                ['field_name' => '省', 'field_value' => 'are_sheng'],
                ['field_name' => '市', 'field_value' => 'are_shi'],
                ['field_name' => '县', 'field_value' => 'are_xian'],
                ['field_name' => '品牌名称', 'field_value' => 'brand_name'],
                ['field_name' => '数据状态', 'field_value' => 'bs_status'],
            ],

            'InstallPerson' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '安装人姓名', 'field_value' => 'install_name'],
                ['field_name' => '安装人电话', 'field_value' => 'install_phone'],
                ['field_name' => '工号', 'field_value' => 'check_code'],
                ['field_name' => '安装备注', 'field_value' => 'install_remark'],
                ['field_name' => '所属服务商', 'field_value' => 'company_name'],
                ['field_name' => '创建时间', 'field_value' => 'create_time'],
            ],

            'InvoiceNum' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '发票号', 'field_value' => 'invoice_order'],
                ['field_name' => '创建人', 'field_value' => 'create_admin'],
                ['field_name' => '创建时间', 'field_value' => 'create_time'],
                ['field_name' => '关联平台单号', 'field_value' => 'sys_num'],
                ['field_name' => '对应公司', 'field_value' => 'sys_company'],
                ['field_name' => '使用状态', 'field_value' => 'status'],
                ['field_name' => '是否作废', 'field_value' => 'is_del'],
            ],

            'invoicetable' => [//发票
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '发票台头', 'field_value' => 'invoice_header'],
                ['field_name' => '发票项目', 'field_value' => 'invoice_project'],
                ['field_name' => '发票金额', 'field_value' => 'invoice_value'],
                ['field_name' => '开票号', 'field_value' => 'invoice_order'],
                ['field_name' => '开票时间', 'field_value' => 'invoice_time'],
                ['field_name' => '开票备注', 'field_value' => 'content'],
                ['field_name' => '发票状态', 'field_value' => 'is_invoice'],
                ['field_name' => '平台编号', 'field_value' => 'order_num'],
                ['field_name' => '创建人', 'field_value' => 'creator'],
                ['field_name' => '创建时间', 'field_value' => 'create_time'],
                ['field_name' => '发票类型', 'field_value' => 'invoice_type'],
                ['field_name' => '快递单号', 'field_value' => 'invoice_kd'],
                ['field_name' => '紧急状态', 'field_value' => 'invoice_urgency'],
                ['field_name' => '平台', 'field_value' => 'invoice_pid'],
                ['field_name' => '客户姓名', 'field_value' => 'client_name'],
                ['field_name' => '客户电话', 'field_value' => 'client_tel'],
                ['field_name' => '客户地址', 'field_value' => 'client_addr'],
                ['field_name' => '税号', 'field_value' => 'tax_num'],
                ['field_name' => '公司地址', 'field_value' => 'company_addr'],
                ['field_name' => '公司电话', 'field_value' => 'company_tel'],
                ['field_name' => '开户行', 'field_value' => 'bank'],
                ['field_name' => '账号', 'field_value' => 'bank_num'],
                ['field_name' => '开票类型', 'field_value' => 'mkinvoice_type'],

            ],

            'serviceProvider' => [//登录名 姓名 联系电话 系统名称 京东注册门店ID 京东注册门店名称 账号状态 省份 城市
                // 区县 详细地址
                //2002-2-24
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '登录名', 'field_value' => 'admin_acc'],
                ['field_name' => '姓名', 'field_value' => 'admin_name'],
                ['field_name' => '联系电话', 'field_value' => 'phone'],
                ['field_name' => '服务中心名称', 'field_value' => 'company_name'],
                ['field_name' => '京东注册门店ID', 'field_value' => 'verstoreid'],
                ['field_name' => '京东注册门店名称', 'field_value' => 'verstorename'],
                ['field_name' => '账号状态', 'field_value' => 'enable_name'],////
                ['field_name' => '省份', 'field_value' => 'admin_province'],
                ['field_name' => '城市', 'field_value' => 'admin_city'],
                ['field_name' => '区县', 'field_value' => 'admin_county'],
                ['field_name' => '详细地址', 'field_value' => 'admin_address'],
                ['field_name' => '别名', 'field_value' => 'ad_alias'],//2022-2-25
                ['field_name' => '服务类型', 'field_value' => 'brand_service_name'],//2022-2-25 //////
                ['field_name' => '经营品牌', 'field_value' => 'ad_brand_name'],//2022-2-25 //////
                ['field_name' => ' 经营项目', 'field_value' => 'ad_project_name'],//2022-2-25 //////品类
                ['field_name' => '是否F6订单', 'field_value' => 'is_fsix_name'],//2022-2-25 //////
            ],

            'Orderlist' => [

                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '商品型号', 'field_value' => 'goods_number'],
                ['field_name' => '商品数量', 'field_value' => 'goods_num'],
                ['field_name' => '商品单价', 'field_value' => 'goods_price'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '省', 'field_value' => 'shr_sheng'],
                ['field_name' => '市', 'field_value' => 'shr_shi'],
                ['field_name' => '县', 'field_value' => 'shr_xian'],
                ['field_name' => '详细地址', 'field_value' => 'shr_adress'],
                ['field_name' => '供货单位', 'field_value' => 'company_name'],
                ['field_name' => '平台', 'field_value' => 'pt_name'],
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],
                ['field_name' => '派单时间', 'field_value' => 'create_time'],
                ['field_name' => '平台单号', 'field_value' => 'order_num'],
                ['field_name' => '验证码', 'field_value' => 'shr_code'],//
                ['field_name' => '工时费', 'field_value' => 'manhourfee'], //结算工时费金额
                ['field_name' => '客户车型', 'field_value' => 'shr_car'],//

                ['field_name' => '门店联系人', 'field_value' => 'admin_principal'],//
                ['field_name' => '门店联系人电话', 'field_value' => 'head_phone'],//
                ['field_name' => '门店省', 'field_value' => 'admin_province'],//
                ['field_name' => '门店市', 'field_value' => 'admin_city'],//
                ['field_name' => '门店县', 'field_value' => 'admin_county'],//
                ['field_name' => '门店地址', 'field_value' => 'admin_dressi'],//
                ['field_name' => '别名', 'field_value' => 'ad_alias'],//2022-3-21
                ['field_name' => '结算价', 'field_value' => 'all_price'],//2022-4-7
                ['field_name' => '服务商属性', 'field_value' => 'brand_service'], // 2022-6-22 new add dou
              //  ['field_name' => '厂家商品名称', 'field_value' => 'com_good'], // 2022-8-10 new add dou
                ['field_name' => '反馈时间', 'field_value' => 'feeds_time'],//2022-4-7

            ],

            'Orders' => [
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '商品型号', 'field_value' => 'goods_number'],
                ['field_name' => '商品数量', 'field_value' => 'goods_num'],
                ['field_name' => '商品单价', 'field_value' => 'goods_price'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '平台', 'field_value' => 'pt_name'],
                ['field_name' => '平台单号', 'field_value' => 'order_num'],
                ['field_name' => '下单时间', 'field_value' => 'create_time'],
                ['field_name' => '订单商品类型', 'field_value' => 'goods_service'],
                ['field_name' => '省', 'field_value' => 'shr_sheng'],
                ['field_name' => '市', 'field_value' => 'shr_shi'],
                ['field_name' => '县', 'field_value' => 'shr_xian'],
                ['field_name' => '客户地址', 'field_value' => 'shr_adress'],
                ['field_name' => '订单状态', 'field_value' => 'order_status'],
                ['field_name' => '实收金额', 'field_value' => 'new_money'],
                ['field_name' => '订单金额', 'field_value' => 'order_account'],
                ['field_name' => '距离', 'field_value' => 'distance'], // 2022-1-27 new add

                ['field_name' => '服务商名', 'field_value' => 'ser_name'], // 2022-2-28 new add

                ['field_name' => '结算单号', 'field_value' => 'wam'], // 2022-4-25 new add
                ['field_name' => '反馈时间', 'field_value' => 'feed_time'], // 2022-4-25 new add
                ['field_name' => '门店别名', 'field_value' => 'shop_alias'], // 2022-5-6 new add dou
                ['field_name' => '年', 'field_value' => 'creact_year'], // 2022-5-6 new add dou
                ['field_name' => '月', 'field_value' => 'creact_mouth'], // 2022-5-6 new add dou
                ['field_name' => '日', 'field_value' => 'creact_day'], // 2022-5-6 new add dou
                ['field_name' => '服务商属性', 'field_value' => 'brand_service'], // 2022-6-22 new add dou
            ],


            'OrdersMsg' => [
                //2022-5-12
                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '商品型号', 'field_value' => 'goods_number'],
                ['field_name' => '商品数量', 'field_value' => 'goods_num'],
                ['field_name' => '商品单价', 'field_value' => 'goods_price'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '平台', 'field_value' => 'pt_name'],
                ['field_name' => '平台单号', 'field_value' => 'order_num'],
                ['field_name' => '下单时间', 'field_value' => 'create_time'],
                ['field_name' => '订单商品类型', 'field_value' => 'goods_service'],
                ['field_name' => '省', 'field_value' => 'shr_sheng'],
                ['field_name' => '市', 'field_value' => 'shr_shi'],
                ['field_name' => '县', 'field_value' => 'shr_xian'],
                ['field_name' => '客户地址', 'field_value' => 'shr_adress'],
                ['field_name' => '订单状态', 'field_value' => 'order_status'],
                ['field_name' => '实收金额', 'field_value' => 'new_money'],
                ['field_name' => '订单金额', 'field_value' => 'order_account'],
                ['field_name' => '距离', 'field_value' => 'distance'],
                ['field_name' => '服务商名', 'field_value' => 'ser_name'],
                ['field_name' => '结算单号', 'field_value' => 'wam'],
                ['field_name' => '反馈时间', 'field_value' => 'feed_time'],
                ['field_name' => '门店别名', 'field_value' => 'shop_alias'],
                ['field_name' => '年', 'field_value' => 'creact_year'],
                ['field_name' => '月', 'field_value' => 'creact_mouth'],
                ['field_name' => '日', 'field_value' => 'creact_day'],
            ],





            'ptthree' => [

                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '商品', 'field_value' => 'goods_name'],
                ['field_name' => '服务商', 'field_value' => 'p_name'],
                ['field_name' => '服务商价格', 'field_value' => 'all_price'],
                ['field_name' => '客户价格', 'field_value' => 'goods_price'],
                ['field_name' => '流水号', 'field_value' => 'wat_num'],
                ['field_name' => '系统单号', 'field_value' => 'sys_num'],
                ['field_name' => '客户名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '平台', 'field_value' => 'pt_name'],

            ],

            /*'servicecenter' => [

                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '结算对象', 'field_value' => 'company_name'],
                ['field_name' => '结算单号', 'field_value' => 'wat_num'],
                ['field_name' => '收款人信息', 'field_value' => 'accountname'],
                ['field_name' => '收款账号', 'field_value' => 'account'],
                ['field_name' => '开户行', 'field_value' => 'opeaccline'],
                ['field_name' => '付款金额', 'field_value' => 'apply_for_money'],
                ['field_name' => '扣款后金额', 'field_value' => 'apply_for_deduct'],
                ['field_name' => '备注', 'field_value' => 'apply_content'],
                ['field_name' => '发票类型', 'field_value' => 'invoice'],
                ['field_name' => '是否开票', 'field_value' => 'whether_inv'],
                ['field_name' => '结算方式', 'field_value' => 'mouth_pay'],
                ['field_name' => '申请时间', 'field_value' => 'apply_for_time'],
                ['field_name' => '用友编码', 'field_value' => 'ser_yycode'],
				['field_name' => '补货金额', 'field_value' => 'deduct_money'],
				['field_name' => '调整金额', 'field_value' => 'adjustprice'],
				['field_name' => '应支付金额', 'field_value' => 'pay_money'],
            ],*/

            'settlement' => [

                ['field_name' => '编号', 'field_value' => 'id'],
                ['field_name' => '创建时间', 'field_value' => 'create_time'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '商品数量', 'field_value' => 'goods_num'],
                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],
                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],
                ['field_name' => '服务方式', 'field_value' => 'type_name'],
                ['field_name' => '商品价格', 'field_value' => 'order_price'],
                ['field_name' => '总金额', 'field_value' => 'all_price'],

            ],

            'Goods' => [

                ['field_name' => '编号', 'field_value' => 'pg_id'],
                ['field_name' => '配件目录', 'field_value' => 'sort_directory'],
                ['field_name' => '品牌', 'field_value' => 'brand_name'],
                ['field_name' => '系列产品线', 'field_value' => 'pg_series'],
                ['field_name' => '厂家名称', 'field_value' => 'version'],
                ['field_name' => '通用名称', 'field_value' => 'general_version'],
               /* ['field_name' => '国际名称', 'field_value' => 'national_version'],
                ['field_name' => '安时', 'field_value' => 'dp_ah'],
                ['field_name' => '低温启动电流', 'field_value' => 'dp_cca'],
                ['field_name' => '长度', 'field_value' => 'dp_length'],
                ['field_name' => '宽度', 'field_value' => 'dp_width'],
                ['field_name' => '高度', 'field_value' => 'dp_height'],*/

            ],

            'SubmitPlease' => [
                ['field_name' => '编号', 'field_value' => 'id'],//
                ['field_name' => '系统单号', 'field_value' => 'submit_sys_num'],//
                ['field_name' => '平台单号', 'field_value' => 'order_num'],//
                ['field_name' => '平台名称', 'field_value' => 'pt_name'],//
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],//
                ['field_name' => '被换商品名称', 'field_value' => 'old_goods_name'],//
                ['field_name' => '申请金额', 'field_value' => 'submit_money'],//
                ['field_name' => '账户信息', 'field_value' => 'info_ing'],///
                ['field_name' => '账号', 'field_value' => 'info_acc'],///
                ['field_name' => '姓名', 'field_value' => 'info_name'],///
                ['field_name' => '创建时间', 'field_value' => 'submit_time'],//
                ['field_name' => '创建人', 'field_value' => 'submit_name'],//
                ['field_name' => '差额处理类型', 'field_value' => 'submit_state_name'],///
                ['field_name' => '业务处理类型', 'field_value' => 'submit_service_name'],///
                ['field_name' => '差额处理状态', 'field_value' => 'submit_stauas_name'],///
                ['field_name' => '退款备注', 'field_value' => 'apply_reason'],///
                ['field_name' => '退款类型', 'field_value' => 'attribute_name'],///
                ['field_name' => '退款标签', 'field_value' => 'apply_type_name'],///
                ['field_name' => '处理时间', 'field_value' => 'deal_time'],//2022-4-25
                ['field_name' => '申请时间', 'field_value' => 'apply_time'],//2022-5-7 dou
                ['field_name' => '申请人', 'field_value' => 'apply_name'],//2022-5-7 dou
                ['field_name' => '审核时间', 'field_value' => 'audit_time'],//2022-5-7 dou
                ['field_name' => '审核人', 'field_value' => 'audit_name'],//2022-5-7 dou
            ],

            'EvaluationForm' => [// 订单编号  平台名称 商品名称 评价级别  下单时间  评价时间  录入时间 评价内容 服务商信息 评价标签
                ['field_name' => '订单编号', 'field_value' => 'plat_number'],
                ['field_name' => '评价内容', 'field_value' => 'eval_content'],
                ['field_name' => '评价级别', 'field_value' => 'eval_leval'],
                ['field_name' => '平台名称', 'field_value' => 'eval_type'],
                ['field_name' => '服务商信息', 'field_value' => 'company_name'],
                ['field_name' => '商品名称', 'field_value' => 'goods_name'],
                ['field_name' => '下单时间', 'field_value' => 'order_time'],
                ['field_name' => '评价时间', 'field_value' => 'eval_time'],
                ['field_name' => '创建时间', 'field_value' => 'create_time'],//新增 2022-2-21
                ['field_name' => '评价标签', 'field_value' => 'eval_label'],//新增 2022-2-21
                ['field_name' => '服务商属性', 'field_value' => 'brand_service'], // 2022-6-22 new add dou


            ],
         /*   'SerInfor' => [

                ['field_name' => '平台名称', 'field_value' => 'pt_name'],

                ['field_name' => '平台单号', 'field_value' => 'order_num'],

                ['field_name' => '商品名称', 'field_value' => 'goods_name'],

                ['field_name' => '客户信息', 'field_value' => 'user_info'],

                ['field_name' => '接单方信息', 'field_value' => 'get_info'],

                ['field_name' => '订单状态', 'field_value' => 'order_status'],

                ['field_name' => '派单时间', 'field_value' => 'order_time'],

                ['field_name' => '接单时间', 'field_value' => 'get_time'],

                ['field_name' => '催单时间', 'field_value' => 'sin_creactime'],

                ['field_name' => '催单内容', 'field_value' => 'sin_centent'],

            ],*/





            'SendGoods' => [

                ['field_name' => '序号', 'field_value' => 'id'],

                ['field_name' => '订单单号', 'field_value' => 'order_num'],
                ['field_name' => '平台', 'field_value' => 'pt_name'],//2022-2-18
                ['field_name' => '快递公司', 'field_value' => 'courier_company'],//
                ['field_name' => '快递单号', 'field_value' => 'courier_number'],//2022-2-18
                ['field_name' => '发货单号', 'field_value' => 'send_num'],

                ['field_name' => '商品名称', 'field_value' => 'goods_name'],

                ['field_name' => '商品数量', 'field_value' => 'goods_num'],

                ['field_name' => '发货门店', 'field_value' => 'stores'],

                ['field_name' => '收货门店', 'field_value' => 'receiving_store'],

                ['field_name' => '申请时间', 'field_value' => 'time'],

                ['field_name' => '下单时间', 'field_value' => 'create_time'],//

                ['field_name' => '发货时间', 'field_value' => 'send_time'],

                ['field_name' => '收货状态', 'field_value' => 'collect_type'],

                ['field_name' => '收货人', 'field_value' => 'name'],

                ['field_name' => '收货电话', 'field_value' => 'telephone'],

                ['field_name' => '收货地址', 'field_value' => 'address'],


            ],



            'WxBinding' => [

                ['field_name' => '服务器名称', 'field_value' => 'ser'],

                ['field_name' => '微信名称', 'field_value' => 'wechat_name'],

                ['field_name' => '是否关注', 'field_value' => 'follow'],

                ['field_name' => '绑定时间', 'field_value' => 'creact_time'],
        ],

            'Negotiated' => [

                ['field_name' => '平台', 'field_value' => 'pt_name'],

                ['field_name' => '平台单号', 'field_value' => 'order_num'],

                ['field_name' => '商品名称', 'field_value' => 'goods_name'],

                ['field_name' => '姓名', 'field_value' => 'shr_name'],

                ['field_name' => '电话', 'field_value' => 'shr_phone'],

                ['field_name' => '地址', 'field_value' => 'address'],

                ['field_name' => '服务商', 'field_value' => 'company_name'],

                ['field_name' => '订单状态', 'field_value' => 'order_status_name'],

                ['field_name' => '原结算金额', 'field_value' => 'supply_price'],

                ['field_name' => '申请结算金额', 'field_value' => 'negotiated_price'],

                ['field_name' => '申请人', 'field_value' => 'creator'],

                ['field_name' => '申请时间', 'field_value' => 'created_at'],

                ['field_name' => '申请原因', 'field_value' => 'negotiated_reason'],
            ],

            'BserviStore' => [
                ['field_name' => '服务商名称', 'field_value' => 'company_name'],

                ['field_name' => '所属省', 'field_value' => 'sheng'],

                ['field_name' => '所属市', 'field_value' => 'shi'],

                ['field_name' => '区县', 'field_value' => 'xian'],

                ['field_name' => '地址', 'field_value' => 'address'],

                ['field_name' => '门店电话', 'field_value' => 'phone'],

                ['field_name' => '上班时间', 'field_value' => 'busi_time'],

                ['field_name' => '下班时间', 'field_value' => 'bisi_endtime'],

            ],

            'AftersaleOrder' => [
                ['field_name' => '平台编号', 'field_value' => 'order_num'],//

                ['field_name' => '派工单号', 'field_value' => 'serial_number'],//

                ['field_name' => '售后单号', 'field_value' => 'after_num'],//

                ['field_name' => '年', 'field_value' => 'Y'],//

                ['field_name' => '月', 'field_value' => 'M'],//

                ['field_name' => '日', 'field_value' => 'D'],//

                ['field_name' => '商品名称', 'field_value' => 'good_names'],//

                ['field_name' => '商品系列', 'field_value' => 'pg_series'],

                ['field_name' => '省份', 'field_value' => 'shr_sheng'],//

                ['field_name' => '城市', 'field_value' => 'shr_shi'],//

                ['field_name' => '区县', 'field_value' => 'shr_xian'],//

                ['field_name' => '详细地址', 'field_value' => 'shr_address'],//

                ['field_name' => '门店名称', 'field_value' => 'shop_name'],

                ['field_name' => '门店别名', 'field_value' => 'shop_alias'],

                ['field_name' => '门店地址', 'field_value' => 'shop_address'],

                ['field_name' => '平台名称', 'field_value' => 'pt_name'],

                ['field_name' => '下单年', 'field_value' => 'oY'],

                ['field_name' => '下单月', 'field_value' => 'oM'],

                ['field_name' => '下单日', 'field_value' => 'oD'],

                ['field_name' => '标签', 'field_value' => 'label'],

                ['field_name' => '时间间隔', 'field_value' => 'time_span'],

                ['field_name' => '反馈时间', 'field_value' => 'feek_time'],//

                ['field_name' => '反馈内容', 'field_value' => 'note'],

                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],//

                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],//

                ['field_name' => '处理时效', 'field_value' => ' deal_with_times'],//新增2022-3-11

                ['field_name' => '完成时效', 'field_value' => 'finish_times'],//新增2022-3-11

                ['field_name' => '订单状态', 'field_value' => 'order_status_name'],//新增2022-3-17

                ['field_name' => '服务商属性', 'field_value' => 'brand_service'], // 2022-6-22 new add dou

            ],

            'ServiceCenter' => [
                ['field_name' => '编号', 'field_value' => 'id'],

                ['field_name' => '结算对象', 'field_value' => 'company_name'],

                ['field_name' => '结算单号', 'field_value' => 'wat_num'],

                ['field_name' => '收款人信息', 'field_value' => 'accountname'],

                ['field_name' => '收款账号', 'field_value' => 'account'],

                ['field_name' => '开户行', 'field_value' => 'opeaccline'],

                ['field_name' => '付款金额', 'field_value' => 'apply_for_money'],

                ['field_name' => '扣款后金额', 'field_value' => 'apply_for_deduct'],

                ['field_name' => '备注', 'field_value' => 'apply_content'],

                ['field_name' => '发票类型', 'field_value' => 'invoice'],

                ['field_name' => '发票号', 'field_value' => 'invoice_number'],//发票号

                ['field_name' => '扣点', 'field_value' => 'buckle_point'],//扣点

                ['field_name' => '税点', 'field_value' => 'fdeduct'],//deduct

                ['field_name' => '是否开票', 'field_value' => 'whether_inv'],

                ['field_name' => '结算方式', 'field_value' => 'mouth_pay'],

                ['field_name' => '申请时间', 'field_value' => 'apply_for_time'],

                ['field_name' => '用友编码', 'field_value' => 'ser_yycode'],

                ['field_name' => '开户行号', 'field_value' => 'khaccount'],

                ['field_name' => '开户银行', 'field_value' => 'aka_name'],
            ],

            'AftersaleOrderCarfilms' => [
                ['field_name' => '平台编号', 'field_value' => 'order_num'],//

                ['field_name' => '派工单号', 'field_value' => 'serial_number'],//

                ['field_name' => '售后单号', 'field_value' => 'after_num'],//

                ['field_name' => '年', 'field_value' => 'Y'],//

                ['field_name' => '月', 'field_value' => 'M'],//

                ['field_name' => '日', 'field_value' => 'D'],//

                ['field_name' => '商品名称', 'field_value' => 'good_names'],//

                ['field_name' => '省份', 'field_value' => 'shr_sheng'],//

                ['field_name' => '城市', 'field_value' => 'shr_shi'],//

                ['field_name' => '区县', 'field_value' => 'shr_xian'],//

                ['field_name' => '详细地址', 'field_value' => 'shr_address'],//

                ['field_name' => '门店名称', 'field_value' => 'shop_name'],

                ['field_name' => '门店别名', 'field_value' => 'shop_alias'],

                ['field_name' => '门店地址', 'field_value' => 'shop_address'],

                ['field_name' => '平台名称', 'field_value' => 'pt_name'],

                ['field_name' => '下单年', 'field_value' => 'oY'],

                ['field_name' => '下单月', 'field_value' => 'oM'],

                ['field_name' => '下单日', 'field_value' => 'oD'],

                ['field_name' => '时间间隔', 'field_value' => 'time_span'],

                ['field_name' => '反馈时间', 'field_value' => 'feek_time'],//

                ['field_name' => '反馈内容', 'field_value' => 'note'],

                ['field_name' => '客户电话', 'field_value' => 'shr_phone'],//

                ['field_name' => '客户姓名', 'field_value' => 'shr_name'],//
                //领取人	领取时间	处理时间	耗时	申请备注	售后位置	施工状态	售后标签	二级标签	处理标签	处理二标签	是否回收
                ['field_name' => '领取人', 'field_value' => 'get_name'],/////
                ['field_name' => '领取时间', 'field_value' => 'get_time'],//
                ['field_name' => '售后位置', 'field_value' => 'oad_partname'],//
                ['field_name' => '施工状态', 'field_value' => 'oad_installstate'],//////
                ['field_name' => '处理时间', 'field_value' => 'oad_dealtime'],//
                //['field_name' => '耗时', 'field_value' => 'hs'],//////
                ['field_name' => '申请备注', 'field_value' => 'oad_applycontent'],//
                ['field_name' => '售后标签', 'field_value' => 'oad_typepid_name'],//////
                ['field_name' => '二级标签', 'field_value' => 'oad_type_name'],//////
                ['field_name' => '处理标签', 'field_value' => 'oad_dealptype_name'],//////
                ['field_name' => '处理二标签', 'field_value' => 'oad_dealtype_name'],//////
                ['field_name' => '是否回收', 'field_value' => 'oad_recycle_name'],//////
                ///
                ['field_name' => '处理时效', 'field_value' => ' deal_with_times'],//新增2022-3-11

                ['field_name' => '完成时效', 'field_value' => 'finish_times'],//新增2022-3-11

                ['field_name' => '订单状态', 'field_value' => 'order_status_name'],//新增2022-3-17

            ],


        ];

        return $filed[$param];
    }
}
