diff --git a/shkd-cosmic-debug/src/main/java/shkd/fi/er/plugin/formplugin/CommonBillOsPaymentBillFormPlugin.java b/shkd-cosmic-debug/src/main/java/shkd/fi/er/plugin/formplugin/CommonBillOsPaymentBillFormPlugin.java index e5770cc..34caded 100644 --- a/shkd-cosmic-debug/src/main/java/shkd/fi/er/plugin/formplugin/CommonBillOsPaymentBillFormPlugin.java +++ b/shkd-cosmic-debug/src/main/java/shkd/fi/er/plugin/formplugin/CommonBillOsPaymentBillFormPlugin.java @@ -135,11 +135,12 @@ public class CommonBillOsPaymentBillFormPlugin extends AbstractBillPlugIn implem QFilter payment_qf= new QFilter("number", QCP.in, sets); payment_qf.or("shkd_isshare",QCP.equals,"1"); payment_qf.and("enable",QCP.equals,"1"); - formShowParameter.getListFilterParameter().setFilter(payment_qf); }else { - beforeF7SelectEvent.setCancel(true); - this.getView().showTipNotification("此类型单据无关联付款事项"); + ListShowParameter formShowParameter = (ListShowParameter) beforeF7SelectEvent.getFormShowParameter(); + QFilter payment_qf= new QFilter("enable",QCP.equals,"1"); + payment_qf.and("shkd_isshare",QCP.equals,"1"); + formShowParameter.getListFilterParameter().setFilter(payment_qf); } } }