python-列表插件,获得fentryid原创
金蝶云社区-温侯
温侯
5人赞赏了该文章 2,136次浏览 未经作者许可,禁止转载编辑于2020年10月16日 17:20:28

def BarItemClick(e):

    if e.BarItemKey=='tbGetListSelectedRows':

        fentryid=''

        a=this.ListView.SelectedRowsInfo

        for i in range(len(a)):

            fentryid=fentryid+','+str(a[i].EntryPrimaryKeyValue)     #BillNo是单据号       

        this.View.ShowMessage(str(fentryid))


赞 5