Browse Source

更新

master
huangjiajun 6 days ago
parent
commit
963e3d88a3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/hdl/hdl_settle_center_medium.go

+ 2
- 2
app/hdl/hdl_settle_center_medium.go View File

@@ -180,7 +180,7 @@ func SettleCenterSettleFileDown(c *gin.Context) {
pdf.Text(left, 230, "日期:") pdf.Text(left, 230, "日期:")


// 保存PDF文件 // 保存PDF文件
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, "-", "") + ")结算单.pdf"
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, " ", "") + ")结算单.pdf"
err := pdf.OutputFileAndClose(path + "/" + pdfName) err := pdf.OutputFileAndClose(path + "/" + pdfName)
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)
@@ -284,7 +284,7 @@ func AgentSettleCenterSettleFileDown(c *gin.Context) {
pdf.Text(left, 230, "日期:") pdf.Text(left, 230, "日期:")


// 保存PDF文件 // 保存PDF文件
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, "-", "") + ")结算单.pdf"
pdfName := medium.CompanyName + "(" + strings.ReplaceAll(date, " ", "") + ")结算单.pdf"
err := pdf.OutputFileAndClose(path + "/" + pdfName) err := pdf.OutputFileAndClose(path + "/" + pdfName)
if err != nil { if err != nil {
fmt.Println(err) fmt.Println(err)


Loading…
Cancel
Save