<?php 
return array(
    "Index"	=>	array(
            "name"	=>	"首页",
            "son"	=>	array(
                    "index"=>array("name"=>"店铺概况","module"=>"index","action"=>"index"),
            )
    ),
    "MemberCard"    =>  array(
            "name"  =>  "会员",
            "son"   =>  array(
                        'index'=>array("name"=>"会员管理","module"=>"MemberCard","action"=>"index",
                                    "son"=> array(
                                        array("name"=>"会员"),
                                        array("name"=>"顾客","tabid"=>"member"),
                                        // array("name"=>"粉丝","tabid"=>"fans"),
                                    ),
                                ),
                        "open_card"=>array("name"=>"会员开卡","module"=>"MemberCard","action"=>"open_card",
                                    "son"=> array(
                                        array("name"=>"会员开卡"),
                                    ),
                                ),
                        "fill_card"=>array("name"=>"会员补卡","module"=>"MemberCard","action"=>"fill_card",
                                    "son"=> array(
                                        array("name"=>"会员补卡"),
                                    ),
                                ),
                        "member_recharge"=>array("name"=>"会员充值","module"=>"MemberCard","action"=>"member_recharge",
                                    "son"=> array(
                                        array("name"=>"会员充值"),
                                    ),
                                ),
                        
            )
    ),
    "Goods"	=>	array(
            "name"	=>	"商品",
            "son"	=>	array(
				'index'=>array("name"=>"商品管理","module"=>"goods","action"=>"index",
                        "son"=>array(
                            array("name"=>"商品管理"),
                        ),
                    ),
            )
    ),
	"Hexiao"	=>	array(
            "name"	=>	"核销",
            "son"	=>	array(
                        "thm"=>array("name"=>"提货码","module"=>"hexiao","action"=>"thm",
                                    "son"=> array(
                                        array("name"=>"提货码"),
                                    ),
                                ),
						"jp_hx"=>array("name"=>"礼品兑换","module"=>"hexiao","action"=>"jp_hx",
                                    "son"=> array(
                                        array("name"=>"礼品兑换"),
                                    ),
                                ),
						
            )
    ),
    "Order"	=>	array(
            "name"	=>	"订单管理",
            "son"	=>	array(
					'to_order'=>array("name"=>"配送订单","module"=>"order","action"=>"to_order",
							"son"=> array(
								array("name"=>"所有订单"),
								array("name"=>"新订单","tabid"=>"no_ship"),
								array("name"=>"待送达","tabid"=>"yes_ship"),
								array("name"=>"待评论","tabid"=>"no_comment"),
								array("name"=>"订单详情","tabid"=>"to_info","display"=>"none"),
							),
					),
					'cashier'=>array("name"=>"收银订单","module"=>"order","action"=>"cashier",
							"son"=> array(
									array("name"=>"收银订单"),
							),
					),
					'service_order'=>array("name"=>"服务订单","module"=>"order","action"=>"service_order",
							"son"=> array(
									array("name"=>"所有订单"),
									array("name"=>"待付款","tabid"=>"no_pay"),
									array("name"=>"待使用","tabid"=>"yes_ship"),
									array("name"=>"待评论","tabid"=>"no_comment"),
							),
					),
                    'sy_info'=>array("name"=>"收银订单详情","module"=>"order","action"=>"sy_info","display"=>"none",
                        "son"=>array(
                            array("name"=>"订单详情"),
                        ),
                    ),
                    'info'=>array("name"=>"订单详情","module"=>"order","action"=>"info","display"=>"none",
                        "son"=>array(
                            array("name"=>"订单详情","tabid"=>"info"),
                        ),
                    ),
                    'comment'=>array("name"=>"商品评价","module"=>"order","action"=>"comment",
							"son"=> array(
                                    array("name"=>"评价管理"),
                            ),
					),
                    'back'=>array("name"=>"退款退货","module"=>"order","action"=>"back",
							"son"=> array(
                                    array("name"=>"退货管理"),
									array("name"=>"退款管理","tabid"=>"refund"),
                            ),
					),
            )
    ),
    "PurOrder" =>  array(
        "name"  =>  "进销存",
        "son"   =>  array(
                'supindex'=>array("name"=>"订货中心","module"=>"PurOrder","action"=>"supindex","target"=>"_blank",
                        "son"=> array(
                                array("name"=>"订货中心"),
                        ),
                    ),
                'pur_index'=>array("name"=>"订货单管理","module"=>"PurOrder","action"=>"pur_index",
                            "son"=> array(
                                    array("name"=>"所有订单"),
                                    array("name"=>"待付款","tabid"=>"no_pay"),
                                    array("name"=>"待发货","tabid"=>"no_ship"),
                                    array("name"=>"待收货","tabid"=>"yes_ship"),
                            ),
				),
				'info'=>array("name"=>"订单详情","module"=>"order","action"=>"info","display"=>"none",
					"son"=>array(
						array("name"=>"订单详情","tabid"=>"info"),
					),
				),
				'dinghuo_index'=>array("name"=>"配货单","module"=>"PurOrder","action"=>"dinghuo_index",
                        "son"=> array(
                                array("name"=>"配货单"),
								array("name"=>"添加直营订货单","tabid"=>"dinghuo_index_add","display"=>"none"),
								array("name"=>"查看直营订货单","tabid"=>"dinghuo_index_view","display"=>"none"),
                        ),
                ),
                'stock_index'=>array("name"=>"入库单管理","module"=>"PurOrder","action"=>"stock_index",
                        "son"=> array(
                                array("name"=>"入库单管理"),
								array("name"=>"添加入库单","tabid"=>"stock_index_add","display"=>"none"),
								array("name"=>"查看入库单","tabid"=>"stock_index_view","display"=>"none"),
                        ),
                ),
				'allocation_index'=>array("name"=>"调拨单管理","module"=>"PurOrder","action"=>"allocation_index",
                        "son"=> array(
                                array("name"=>"调拨单管理"),
								array("name"=>"添加调拨单","tabid"=>"allocation_index_add","display"=>"none"),
								array("name"=>"查看调拨单","tabid"=>"allocation_view","display"=>"none"),
                        ),
                ),
                'qh_index'=>array("name"=>"缺货提醒","module"=>"PurOrder","action"=>"qh_index",
                        "son"=>array(
                            array("name"=>"缺货提醒"),
                        ),
                    ),
                'stocktaking'=>array("name"=>"库存盘点","module"=>"PurOrder","action"=>"stocktaking",
                        "son"=>array(
                            array("name"=>"库存盘点"),
                            array("name"=>"添加盘点单","tabid"=>"stocktaking_add","display"=>"none"),
                            array("name"=>"查看盘点单","tabid"=>"stocktaking_view","display"=>"none"),
                        ),
                    ),
                'Cashier'=>array("name"=>"收银","module"=>"Cashier","action"=>"index","target"=>"_blank",
                        "son"=> array(
                                array("name"=>"收银"),
                        ),
                    ),
               

               
        )
    ),
    "Promot"	=>	array(
            "name"	=>	"营销",
            "son"	=>	array(
						'index'=>array("name"=>"限时促销","module"=>"promot","action"=>"index",
                            "son"=> array(
                                    array("name"=>"限时促销"),
                                    array("name"=>"添加促销","tabid"=>"add_sale","display"=>"none"),
									array("name"=>"编辑促销","tabid"=>"edit_sale","display"=>"none"),
                            ),
                        ),
                        'bonus'=>array("name"=>"代金券","module"=>"promot","action"=>"bonus",
							"son"=> array(
                                    array("name"=>"代金券"),
                                    array("name"=>"添加代金券","tabid"=>"add_bonus","display"=>"none"),
									array("name"=>"编辑代金券","tabid"=>"edit_bonus","display"=>"none"),
                            ),
						),
                        "manjian"=>array("name"=>"满减优惠","module"=>"promot","action"=>"manjian",
                            "son"=> array(
                                array("name"=>"满减优惠"),
                            ),
                        ),
                        "first"=>array("name"=>"新用户立减","module"=>"promot","action"=>"first",
                            "son"=> array(
                                array("name"=>"新用户立减"),
                            ),
                        ),
            )
    ),
    "Account"	=>	array(
            "name"	=>	"门店",
            "son"	=>	array(
						'account_index'=>array("name"=>"子帐号管理","module"=>"account","action"=>"account_index",
								"son"=> array(
									array("name"=>"子帐号管理"),
									array("name"=>"添加子帐号","tabid"=>"add_account"),
									array("name"=>"编辑子帐号","tabid"=>"edit_account","display"=>"none"),
									array("name"=>"删除子帐号","tabid"=>"delete_account","display"=>"none"),
								),
						),
                        'shops_setting'=>array("name"=>"资料设置","module"=>"account","action"=>"shops_setting",
                                "son"=> array(
                                    array("name"=>"资料设置"),
                                    array("name"=>"修改密码","tabid"=>"modify_psw"),
                                ),
                        ),
                        'updateinfo'=>array("name"=>"提交修改密码","module"=>"account","action"=>"updateinfo","display"=>"none",
                            "son"=>array(
                                array("name"=>"提交修改密码"),
                            ),
                        ),
						'shops_album'=>array("name"=>"门店相册","module"=>"account","action"=>"shops_album",
                                "son"=> array(
                                        array("name"=>"门店相册"),
                                ),
                        ),
						'index'=>array("name"=>"账号日志","module"=>"account","action"=>"index",
                                "son"=> array(
                                        array("name"=>"账号日志"),
                                ),
                        ),
						'recharge'=>array("name"=>"充值提现","module"=>"account","action"=>"recharge",
                                "son"=> array(
                                        array("name"=>"在线充值"),
										array("name"=>"申请提现","tabid"=>'get_money'),
                                ),
                        ),
						'accountlog'=>array("name"=>"资金明细","module"=>"account","action"=>"accountlog",
                                "son"=> array(
                                        array("name"=>"资金明细"),
                                ),
                        ),
                        'security'=>array("name"=>"支付密码","module"=>"account","action"=>"security",
                                "son"=> array(
                                        array("name"=>"支付密码"),
                                ),
                        ),
            )
    ),
    "Pad"	=>	array(
        "name"	=>	"收银",
        "hide"	=>	"1",
        "son"	=>	array(
            'stocktaking'=>array("name"=>"盘点","module"=>"Pad","action"=>"stocktaking",
                "son"=> array(
                    array("name"=>"盘点"),
                ),
            ),
            "order_goods"=>array("name"=>"订货","module"=>"Pad","action"=>"order_goods",
                "son"=> array(
                    array("name"=>"订货"),
                ),
            ),
            "stock_goods"=>array("name"=>"进货","module"=>"Pad","action"=>"stock_goods",
                "son"=> array(
                    array("name"=>"进货"),
                ),
            ),
            "freight_management"=>array("name"=>"货流通知","module"=>"Pad","action"=>"freight_management",
                "son"=> array(
                    array("name"=>"货流通知"),
                ),
            ),
            "bad_goods"=>array("name"=>"报损","module"=>"Pad","action"=>"bad_goods",
                "son"=> array(
                    array("name"=>"报损"),
                ),
            ),
            "transfer_goods"=>array("name"=>"调货","module"=>"Pad","action"=>"transfer_goods",
                "son"=> array(
                    array("name"=>"调货"),
                ),
            ),
            "other_goods"=>array("name"=>"库存查询","module"=>"Pad","action"=>"other_goods",
                "son"=> array(
                    array("name"=>"库存查询"),
                ),
            ),
            "add_member"=>array("name"=>"会员","module"=>"Pad","action"=>"add_member",
                "son"=> array(
                    array("name"=>"会员"),
                ),
            ),
            "recharge"=>array("name"=>"储值","module"=>"Pad","action"=>"recharge",
                "son"=> array(
                    array("name"=>"储值"),
                ),
            ),
            "bill"=>array("name"=>"账单","module"=>"Pad","action"=>"bill",
                "son"=> array(
                    array("name"=>"账单"),
                ),
            ),
            "cashier_set"=>array("name"=>"收银设置","module"=>"Pad","action"=>"cashier_set",
                "son"=> array(
                    array("name"=>"收银设置"),
                ),
            ),
            "order_info"=>array("name"=>"销售单据","module"=>"Pad","action"=>"order_info",
                "son"=> array(
                    array("name"=>"销售单据"),
                ),
            ),
            "return_goods"=>array("name"=>"退货","module"=>"Pad","action"=>"return_goods",
                "son"=> array(
                    array("name"=>"退货"),
                ),
            ),
        )
    ),
);				
?>