Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
bee35125ec
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/admin/svc/order/svc_order_list.go

+ 3
- 0
app/admin/svc/order/svc_order_list.go View File

@@ -627,6 +627,8 @@ func OrderOutput(c *gin.Context) {
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{
inSideName + " 汇总: " + utils.IntToStr(total), inSideName + " 汇总: " + utils.IntToStr(total),
}) })
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})

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


Loading…
Cancel
Save