<?php
return array
(
    'list' => array
    (
        'field'      => array
        (
            'name',
            'unit',
            'symbol',
            'symbol_location',
            'sort' => array
            (
                'type' => 'input',
                'tips' => '双击修改，正序排序',
            ),
            'status' => array
            (
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
        ),
        'button' => array
        (
            '新增' => array('fastadd'),
        ),
        'data_button' => array
        (
            '编辑'  => array('fastedit'),
        ),
        'search'    => array
        (
            'name',
        ),
    ),
    'update' => array
    (
        'field'    => array
        (
            'name' => array
            (
                'rules' => true,
            ),
            'exp' => array
            (
                'rules' => true,
                'tips' => '当前积分与支付货币之间的换算关系，填写100，则100积分等于1支付货币<br />当使用该积分进行支付时，将根据换算关系自动转换成支付货币，用以拉起支付',
            ),
            'unit' => array
            (
                'rules' => true,
            ),
            'symbol' => array
            (
                'rules' => true,
            ),
            'symbol_location' => array
            (
                'rules' => true,
                'type' => 'radio',
            ),
        ),
        //'end' => ['manage/system.update?system=sector', 'place/manage.updatePlaceCode'],
    ),
);