<?php
$config = array
(
    'source' => 'goods/order',
    'list' => array
    (
        //'expand' => 'goods/order.showOrderExpand',
        'field'      => array
        (
            'order_num',
            'name',
            /*
            'uid' => array
            (
                'show' => 'Dever::call("place/member-find", array({uid}))["name"]',
            ),*/
            'cash',
            'num',
            'status',
            'refund_status',
            'cdate',
        ),
        'button' => array
        (
            //'新增' => array('add'),
        ),
        'data_button' => array
        (
            //'编辑' => 'edit',
            '详情' => array('view', array
            (
                'path' => 'sector_place_order/goods_order',
                'param' => array
                (
                    'type' => 'view',
                    'id' => 'id',
                    'set' => array('menu' => 'sector_place_order/goods_order', 'parent' => 'sector_place_order/goods_order'),
                ),
            )),
        ),
        'search'    => array
        (
            'order_num',
            'name' => 'like',
            'cdate' => array
            (
                'name' => '创建时间',
                'type' => 'date',
                'date_type' => 'datetimerange',
                'value_format' => 'YYYY-MM-DD HH:mm:ss',
                'start_placeholder' => '开始日期',
                'end_placeholder' => '结束日期',
                'range_separator' => '至',
            ),
            'status',
            'refund_status',
        ),
    ),
    # 详情页配置
    'view' => 'goods/order.showManageView',
);
return $config;