解决进销存统计报表的库存金额计算错误的问题
This commit is contained in:
@@ -377,7 +377,11 @@ public class DepotItemController {
|
||||
} else {
|
||||
item.put("unitPrice", diEx.getPurchaseDecimal());
|
||||
}
|
||||
item.put("thisAllPrice", thisSum.multiply(diEx.getPurchaseDecimal()));
|
||||
if(moveAvgPriceFlag) {
|
||||
item.put("thisAllPrice", thisSum.multiply(diEx.getCurrentUnitPrice()));
|
||||
} else {
|
||||
item.put("thisAllPrice", thisSum.multiply(diEx.getPurchaseDecimal()));
|
||||
}
|
||||
dataArray.add(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user