|
@@ -203,6 +203,9 @@ func OrderExport(c *gin.Context) { |
|
|
}) |
|
|
}) |
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
j++ |
|
|
j++ |
|
|
|
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) |
|
|
|
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
|
|
|
j++ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
xlsx.DeleteSheet("template") //删除模板表 |
|
|
xlsx.DeleteSheet("template") //删除模板表 |
|
@@ -627,8 +630,9 @@ 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.SetRowHeight("Sheet1", j, 20) |
|
|
|
|
|
j++ |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) |
|
|
|
|
|
|
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
j++ |
|
|
j++ |
|
|
} |
|
|
} |
|
@@ -757,6 +761,8 @@ 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.SetRowHeight("Sheet1", j, 20) |
|
|
|
|
|
j++ |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) |
|
|
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) |
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
xlsx.SetRowHeight("Sheet1", j, 20) |
|
|
j++ |
|
|
j++ |
|
|