<?php
return array
(
    'update' => array
    (
        'field'    => array
        (
            'goods' => array
            (
                'name' => '商品',
                'type' => 'cascader',
                # 仅显示最后一级
                //'all' => false,
                'option'    => 'Dever::call("goods/manage.getGoods")',
                'remote' => 'goods/manage.getAllSku',
                # 无需默认值
                'remote_default' => false,
                'rules' => true,
            ),
            'goods_id' => array
            (
                'name' => '规格',
                'type' => 'hidden',
                'rules' => true,
            ),
            'sku_id' => array
            (
                'name' => '规格',
                'type' => 'select',
            ),
            'discount' => array
            (
                'type' => 'text',
            ),
        ),
    ),
);