我有 2 个包含法人实体名称和部门名称字段的列表框。每个法人实体名称都有自己独特的部门名称集。
问题是 2 个法人实体名称重复了一个部门名称。
我想在列表框中为第一个选择的法人实体名称显示部门名称,而对于第二个法人实体名称应该隐藏。
例如:
法律实体名称
公司 1
公司 2
选择 Company1 后,会看到以下部门名称:
部门名称
水果事业部
饮品部
选择公司 2 后,会看到以下部门名称:
部门名称:
水果事业部
蔬菜事业部
As you can see Fruits Division is getting repeated for both the Companies ,however there is no data for Fruits division in front end when Company2 is selected,so I want to discard it in front End.However it should not be discarded when公司 1 被选中。
后端无法实现,因此我想尝试隐藏在列表框本身中。
谢谢