@@ -1268,6 +1268,7 @@ func (rg *RegisterController) InvoiceList(c *gin.Context) {
resp.FailMsg("获取失败", "获取合同开票/到款列表合计金额失败, Err: "+e.Error(), c)
return
}
+ amountTotal, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", amountTotal), 64)
type RespData struct {
Page *base.Page `json:"page"`