资金计划申请,维修确认单过滤

This commit is contained in:
zhangzhiguo 2025-09-15 09:28:54 +08:00
parent 00e06f89de
commit 912eb13cd7
1 changed files with 3 additions and 2 deletions

View File

@ -234,13 +234,14 @@ public class PublicreimbursebillNoContractPlugin extends AbstractBillPlugIn impl
} }
qFilter.add(new QFilter("billstatus", QCP.equals, "C")); qFilter.add(new QFilter("billstatus", QCP.equals, "C"));
formShowParameter.getListFilterParameter().setQFilters(qFilter); formShowParameter.getListFilterParameter().setQFilters(qFilter);
}else if("zcgj_maintenanceack".equals(propertyName)){ }else if("zcgj_maintenanceack".equals(propertyName)){//维修确认单
DynamicObject billpayerid = (DynamicObject)this.getModel().getValue("billpayerid"); DynamicObject billpayerid = (DynamicObject)this.getModel().getValue("billpayerid");
DynamicObject costcompany = (DynamicObject)this.getModel().getValue("costcompany"); DynamicObject costcompany = (DynamicObject)this.getModel().getValue("costcompany");
List<QFilter> qFilter = new ArrayList<>(); List<QFilter> qFilter = new ArrayList<>();
if(billpayerid!=null){ if(billpayerid!=null){
Long payerid = billpayerid.getLong("id"); Long payerid = billpayerid.getLong("id");
qFilter.add(new QFilter("entryentity.zcgj_supplier", QCP.equals, payerid)); //qFilter.add(new QFilter("entryentity.zcgj_supplier", QCP.equals, payerid));
qFilter.add(new QFilter("zcgj_partb", QCP.equals, payerid));//供应商
} }
if(costcompany!=null){ if(costcompany!=null){