1、采购订单的采购金额四舍五入;
This commit is contained in:
parent
2423b49e58
commit
9d599c89a0
|
@ -662,7 +662,8 @@ func (m *ErpPurchaseOrderListReq) List(c *gin.Context) (*ErpPurchaseOrderListRes
|
||||||
orders[i].AuditTime = nil
|
orders[i].AuditTime = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
orders[i].Amount, _ = getPurchaseOrderAmount(v.ID)
|
nAmount, _ := getPurchaseOrderAmount(v.ID)
|
||||||
|
orders[i].Amount = tools.RoundToTwoDecimalPlaces(nAmount)
|
||||||
}
|
}
|
||||||
|
|
||||||
resp.List = orders
|
resp.List = orders
|
||||||
|
|
Loading…
Reference in New Issue
Block a user