基于NC65,实现客户端单据的导入导出按钮配置
其实代码非常简单,因为它自己底层已经封装好了接口,你只需要在xml文件中配置即可
首先在xml文件中添加按钮
<!-- 列表显示下的按钮 -->
<bean id="actionsOfList" class="nc.ui.uif2.actions.StandAloneToftPanelActionContainer">
<constructor-arg ref="billListView" />
<property name="model" ref="bmModel" />
<property name="actions">
<list>
<ref bean="importExportMenu"/>
</list>
</property>
</bean>
然后为按钮添加引用
<!--======= 动作:[newActions] [导入导出] ===========-->
<!-- 导入导出按钮-->
<bean id="importExportMenu" class="nc.funcnode.ui.action.MenuAction">
<property name="code" value="importExport" />