diff --git a/app/hdl/hdl_settle_center_medium.go b/app/hdl/hdl_settle_center_medium.go index 2296bf9..71d8757 100644 --- a/app/hdl/hdl_settle_center_medium.go +++ b/app/hdl/hdl_settle_center_medium.go @@ -180,7 +180,7 @@ func SettleCenterSettleFileDown(c *gin.Context) { pdf.Text(left, 230, "日期:") // 保存PDF文件 - pdfName := num + ".pdf" + pdfName := medium.CompanyName + "(" + date + ")结算单.pdf" err := pdf.OutputFileAndClose(path + "/" + pdfName) if err != nil { fmt.Println(err) @@ -284,7 +284,7 @@ func AgentSettleCenterSettleFileDown(c *gin.Context) { pdf.Text(left, 230, "日期:") // 保存PDF文件 - pdfName := num + ".pdf" + pdfName := medium.CompanyName + "(" + date + ")结算单.pdf" err := pdf.OutputFileAndClose(path + "/" + pdfName) if err != nil { fmt.Println(err)