优化代码 合同结算

This commit is contained in:
xiaoshi 2024-12-19 20:09:29 +08:00
parent ecbd06b147
commit 28ee9e2915
1 changed files with 6 additions and 6 deletions

View File

@ -390,12 +390,12 @@ null && visaBillArr.length != 0) {
DynamicObject[] materialOutBillArr = this.getMaterialOutBillArr(materialOutBillFilter);
String entityId = this.getView().getParentView().getEntityId();
// if (!StringUtils.equals(entityId, "ec_out_contract_settle") || !(Boolean)parentModel.getValue("iseqsettle")) {
// DynamicObject[] measureBillArr = this.getMeasureBillArr(measureBillFilter);
// if (payDirection.equals(PayDirectionEnum.IN.getValue())) {
// this.setMeasureBillDataToEntry(entryCollection, measureBillArr);
// } else {
// this.setMeasureBillDataToEntryOut(entryCollection, measureBillArr);
// }
DynamicObject[] measureBillArr = this.getMeasureBillArr(measureBillFilter);
if (payDirection.equals(PayDirectionEnum.IN.getValue())) {
this.setMeasureBillDataToEntry(entryCollection, measureBillArr);
} else {
this.setMeasureBillDataToEntryOut(entryCollection, measureBillArr);
}
// }
this.setClaimArrDataToEntry(entryCollection, claimArr);