1、采购订单的采购金额四舍五入;

This commit is contained in:
chenlin 2024-11-21 15:17:55 +08:00
parent 2423b49e58
commit 9d599c89a0

View File

@ -662,7 +662,8 @@ func (m *ErpPurchaseOrderListReq) List(c *gin.Context) (*ErpPurchaseOrderListRes
orders[i].AuditTime = nil
}
orders[i].Amount, _ = getPurchaseOrderAmount(v.ID)
nAmount, _ := getPurchaseOrderAmount(v.ID)
orders[i].Amount = tools.RoundToTwoDecimalPlaces(nAmount)
}
resp.List = orders