无合同付款申请单中维修确认单选择过滤去除供应商过滤逻辑
This commit is contained in:
parent
9eadaadbbf
commit
4a9cef58d1
|
|
@ -238,12 +238,12 @@ public class PublicreimbursebillNoContractPlugin extends AbstractBillPlugIn impl
|
||||||
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));//供应商
|
qFilter.add(new QFilter("zcgj_partb", QCP.equals, payerid));//供应商
|
||||||
|
|
||||||
}
|
}*/
|
||||||
if(costcompany!=null){
|
if(costcompany!=null){
|
||||||
Long companyId = costcompany.getLong("id");
|
Long companyId = costcompany.getLong("id");
|
||||||
qFilter.add(new QFilter("zcgj_accountorg", QCP.equals, companyId));
|
qFilter.add(new QFilter("zcgj_accountorg", QCP.equals, companyId));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue