<?php
return array
(
    'update' => array
    (
        'field'    => array
        (
            'channel_id' => array
            (
                'name' => '渠道',
                'type' => 'select',
                'option'    => 'Dever::call("channel/manage.getInfo")',
                'remote' => 'channel/manage.getGoods',
                # 无需默认值
                'remote_default' => false,
            ),
            'goods_id' => array
            (
                'name' => '商品',
                'type' => 'select',
                'remote' => 'goods/manage.getMulSku',
            ),
            'sku_id' => array
            (
                'name' => '规格-不选择则拥有所有规格',
                'type' => 'select',
                'clearable' => true,
                'multiple' => true,
            ),
            'max' => array
            (
                'type' => 'text',
                'rules' => true,
            ),
            'sort' => array
            (
                'type' => 'text',
                'rules' => true,
            ),
            'status' => array
            (
                'width' => '40',
                'type' => 'switch',
                'show'  => '{status}',
                'active_value' => 1,
                'inactive_value' => 2,
            ),
        ),
    ),
);