1、产品库存汇总(按门店)总金额四舍五入;

This commit is contained in:
chenlin 2024-09-20 15:31:04 +08:00
parent ca63f38c48
commit 51baf26dcc

View File

@ -388,6 +388,7 @@ func (m *InventoryReportByProductReq) ReportByProductList(c *gin.Context) (*Inve
resp.TotalEffectiveAmount = sumData.TotalEffectiveAmount
resp.TotalTransferAmount = sumData.TotalTransferAmount
resp.TotalAmount = resp.TotalEffectiveAmount + resp.TotalTransferAmount
resp.TotalAmount = math.Round(resp.TotalAmount*100) / 100
resp.Total = uint32(len(reportList))
resp.List = reportList