var config = [
    {
        style:"padding-bottom: 10px",
        class:['block-content','item-block'],
        classText:['header_info','template_size','template_bold'],
        show:['header_info','template_name'],
        handerChekcItems:[],
        data:'',
        dataKey:['header_info','template_name'],
        children:[],
    },
    {
        style:"",
        class:['block-content','item-block'],
        classText:['header_info','shop_name_size','shop_name_bold'],
        show:['header_info','shop_name'],
        handerChekcItems:[],
        data:'商城名称',
        dataKey:[],
        children:[],
    },
    {
        style:"",
        class:['block-content'],
        classText:[],
        show:[],
        handerChekcItems:['header_info',['gen_num','order_sort','quick_buy','customer_mark','selfsend_time']],
        data:'',
        dataKey:[],
        children:[
            {
                style:"",
                class:['item-block'],
                classText:['header_info','gen_num_size','gen_num_bold'],
                show:['header_info','gen_num'],
                children:[],
                data:'#0001',
                dataKey:[]
            },
            {
                style:"",
                class:['item-block'],
                classText:['header_info','gen_num_size','gen_num_bold'],
                show:['header_info','gen_num'],
                children:[],
                data:'#0001',
                dataKey:[]
            }
        ],
    }
]

var printData ={     
    "header_info": {
        "template_name": "小票名称",
        "template_status": 1,
        "template_size": 1,
        "template_bold": 1,
        "shop_name": 1,
        "shop_name_size": 1,
        "shop_name_bold": 1,
        "gen_num": 1,
        "gen_num_size": 1,
        "gen_num_bold": 1,
        "order_sort": 1,
        "order_sort_prefix": "序号",
        "order_sort_type": 0,
        "order_sort_font_size": 1,
        "order_sort_font_bold": 1,
        "quick_buy": 1,
        "quick_buy_size": 1,
        "quick_buy_bold": 1,
        "customer_mark": 1,
        "customer_mark_size": 1,
        "customer_mark_bold": 1,
        "selfsend_time": 1,
        "selfsend_time_size": 1,
        "selfsend_time_bold": 1,
        "write_off_name": 1,
        "write_off_time": 1,
        "order_no": 1,
        "write_off_type": 1,
        "open_time": 1,
        "print_time": 1,
        "print_people": 1
    },
    "order_info": {
        "order_no": 1,
        "order_from": 1,
        "order_goods_type": 1,
        "order_pay_type": 1,
        "order_status": 1,
        "order_dispatch_name": 1,
        "order_create_time": 1,
        "order_pay_time": 1,
        "order_finish_time": 1,
        "refund_create_time": 1,
        "refund_finish_time": 1,
        "order_client_type": 1,
        "order_trade_no": 1
    },
    "make_info": {
        "goods_name": 1,
        "goods_name_size": 1,
        "goods_name_bold": 0,
        "num": 1,
        "goods_code": 1,
        "product_sn": 1,
        "attach": 1,
        "price": 1,
        "goods_price_type": 1,
        "gift_info": 1,
        "num_size": 1,
        "num_bold": 1,
        "real_price": 1,
        "real_price_size": 1,
        "real_price_bold": 1,
        "goods_num_price_size": 0,
        "goods_num_price_bold": 0
    },
    "order_price": {
        "goods_count": 1,
        "price_detail": 1,
        "discount_detail": 1,
        "pay_price": 1,
        "pay_price_size": 1,
        "pay_price_bold": 1,
        "price_ndz": 1
    },
    "mark_info": {
        "saler_mark": 1,
        "saler_mark_size": 1,
        "saler_mark_bold": 1,
        "form_data": 1
    },
    "customer_info": {
        "customer_name": 1,
        "customer_realname": 1,
        "customer_balance": 1,
        "customer_credit": 1,
        "customer_remark": 1,
        "customer_mobile": 1,
        "customer_mobile_des": 1,
        "buyer_name": 1,
        "buyer_name_size": 0,
        "buyer_name_blod": 1,
        "buyer_mobile": 1,
        "buyer_mobile_size": 1,
        "buyer_mobile_blod": 1,
        "buyer_mobile_des": 1,
        "buyer_address": 1,
        "buyer_address_size": 1,
        "buyer_address_blod": 1,
        "invoice": 1,
        "invoice_info": 1
    },
    "pick_store": {
        "store_name": 1,
        "store_address": 1,
        "store_contact": 1,
        "store_contact_name": 1
    },
    "footer_info": {
        "stand_name": 1,
        "cashier_name": 1,
        "shop_name": 1,
        "shop_phone": 1,
        "store_name": 1,
        "store_phone": 1,
        "shop_qrcode": 1,
        "shop_qrcode_type": 0,
        "shop_qrcode_url": "",
        "print_time": 1,
        "print_footer": 1,
        "print_footer_info": "谢谢惠顾，欢迎下次光临！",
        "shop_qrcode_name": "",
        "manage": 1
    },
    "write_off_info": 1,
    "checkstand_writeoff": {
        "self": 1,
        "virtual": 1,
        "timegoods": 1,
        "booking": 1,
        "giftpackage": 1,
        "coupon": 1,
        "hotel": 1
    },
    "stand_info": {
        "name": 1,
        "start_time": 1,
        "end_time": 1
    },
    "finish_info": {
        "all": 1,
        "pay_order_count": 1,
        "sale_goods_count": 1,
        "card_price": 1,
        "recharge_money_price": 1,
        "refund_price": 1,
        "refund_order_count": 1,
        "refund_goods_count": 1,
        "real_money": 1,
        "real_money_size": 1,
        "real_money_blod": 1,
        "profit_money": 1,
        "profit_money_size": 1,
        "profit_money_blod": 1
    },
    "pay_type_info": {
        "wechat": 1,
        "ali": 1,
        "cash": 1,
        "balance": 1,
        "other": 1
    },
    "recharge_info": {
        "recharge_money": 1,
        "recharge_money_size": 0,
        "recharge_money_blod": 0,
        "send_money": 1,
        "send_money_size": 0,
        "send_money_blod": 0,
        "customer_balance": 1,
        "customer_balance_size": 1,
        "customer_balance_blod": 1
    },
    "refund": {
        "type": 1,
        "apply_time": 1,
        "apply_money": 1,
        "apply_reason": 1,
        "apply_detail": 1,
        "apply_real": 1,
        "apply_real_size": 1,
        "apply_real_bold": 1
    }
}

export { config , printData};