1、产品库存汇总(按门店)总金额四舍五入;
This commit is contained in:
parent
ca63f38c48
commit
51baf26dcc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user