优化入库单计算材料总金额字段逻辑
This commit is contained in:
parent
c6730121bb
commit
58825bcf40
|
@ -1109,7 +1109,7 @@ public class MaterialInBillEditPluginExt extends AbstractEcmaBillPlugin implemen
|
|||
for (DynamicObject entryEntity : entryEntityCollection) {
|
||||
BigDecimal notaxAmount = entryEntity.getBigDecimal("notaxamount");//金额
|
||||
if (notaxAmount != null) {
|
||||
notaxAmount = notaxAmount.setScale(2, RoundingMode.HALF_UP);
|
||||
// notaxAmount = notaxAmount.setScale(2, RoundingMode.HALF_UP);
|
||||
sum = sum.add(notaxAmount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue