写的两个自定义过滤面板 分享下原创
金蝶云社区-北方糙汉子
北方糙汉子
19人赞赏了该文章 883次浏览 未经作者许可,禁止转载编辑于2021年01月19日 02:22:29

附件有2个。因为不让上传.java和.txt   所以将后缀修改为doc了,

下载下来后,可以将后缀修改为:   ".txt" 或者 “.java”


调用方式为,在列表界面:

  // -------------------开始--------------------

    /**

     * 绑定过滤框 

     * 绑定组织必须是 库存组织才可以new 这个过滤框

     *

     */

   /**

    CustomerStoragePanelFilterUI filterUI;

    protected CustomerQueryPanel getFilterUI() throws Exception {

if(filterUI == null){

filterUI = new CustomerStoragePanelFilterUI();

    }

return filterUI;

}

    protected boolean initDefaultFilter() {

    return true ;

    }

    protected CommonQueryDialog initCommonQueryDialog() {

    CommonQueryDialog iDialog = super.initCommonQueryDialog();

    iDialog.setWidth(400);

    iDialog.setHeight(350);

    try {

    iDialog.addUserPanel(getFilterUI());

} catch (Exception e) {

handleException(e);

}

    return iDialog;

    }

*/

    // -------------------结束--------------------


图标赞 19
19人点赞
还没有人点赞,快来当第一个点赞的人吧!
图标打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!

您的鼓励与嘉奖将成为创作者们前进的动力,如果觉得本文还不错,可以给予作者创作打赏哦!

请选择打赏金币数 *

10金币20金币30金币40金币50金币60金币
可用金币: 0