瀏覽代碼

更新

master
huangjiajun 5 月之前
父節點
當前提交
c471a2377a
共有 2 個檔案被更改,包括 9 行新增1 行删除
  1. +7
    -1
      app/admin/svc/order/svc_order_list.go
  2. +2
    -0
      app/admin/svc/svc_data_statisstics.go

+ 7
- 1
app/admin/svc/order/svc_order_list.go 查看文件

@@ -203,6 +203,9 @@ func OrderExport(c *gin.Context) {
})
xlsx.SetRowHeight("Sheet1", j, 20)
j++
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})
xlsx.SetRowHeight("Sheet1", j, 20)
j++
}
}
xlsx.DeleteSheet("template") //删除模板表
@@ -627,8 +630,9 @@ func OrderOutput(c *gin.Context) {
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{
inSideName + " 汇总: " + utils.IntToStr(total),
})
xlsx.SetRowHeight("Sheet1", j, 20)
j++
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})

xlsx.SetRowHeight("Sheet1", j, 20)
j++
}
@@ -757,6 +761,8 @@ func OrderGoodsOutput(c *gin.Context) {
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{
title + " 汇总: " + utils.IntToStr(total),
})
xlsx.SetRowHeight("Sheet1", j, 20)
j++
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})
xlsx.SetRowHeight("Sheet1", j, 20)
j++


+ 2
- 0
app/admin/svc/svc_data_statisstics.go 查看文件

@@ -111,6 +111,8 @@ func DataStatisticsExport(req md.DataStatisticsExportReq) {
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{
k + " 汇总: " + utils.IntToStr(total),
})
xlsx.SetRowHeight("Sheet1", j, 20)
j++
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})
xlsx.SetRowHeight("Sheet1", j, 20)
j++


Loading…
取消
儲存