<?php
$stock_id = Dever::input('set')['stock_id'] ?? 0;
$config = array
(
    'list' => array
    (
        'where' => array('stock_id' => $stock_id),
        'field'      => array
        (
            'info_id' => array
            (
                'name' => '商品名称',
                'show' => 'Dever::call("goods/info-find", array({info_id}))["name"]',
            ),
            'sku_id' => array
            (
                'name' => '商品规格',
                'show' => 'Dever::load("sku", "api")->getName(Dever::call("goods/sku-find", array({sku_id}))["key"], "goods")',
            ),
            'type',
            'desc',
            'num',
            'yue',
        ),

        'button' => array
        (
            
        ),
        'data_button' => array
        (
            
        ),

        'search'    => array
        (
            'type',
        ),
    ),
);

return $config;