field_to_name_array-获取第二级相关数据

我在自定义模块中;在editview中。

感谢https://stackoverflow.com/questions/41063014/populating-a-field-when-choosing-a-relate-field-suite-crm#=,当用户从相关字段中选择产品时,我会自动填充aos_products模块中的某些字段:

editviewsdefs.php

............
array (
            'name' => 'codice_prodotto','studio' => 'visible','label' => 'LBL_CODICE_PRODOTTO','displayParams' => 
            array (
              'field_to_name_array' => 
              array (
                'id' => 'aos_products_id_c','name' => 'codice_prodotto','description' => 'descrizione_c','price' => 'prezzo_c',),......................

但是如何获得与该产品相关的类别? 在产品表中,我有ID,但名称在另一个表中...

非常感谢您。

li57268631 回答:field_to_name_array-获取第二级相关数据

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3089941.html

大家都在问