animeic 2 years ago
parent
commit
1ed4551200
2 changed files with 2 additions and 2 deletions
  1. 1 1
      boxcost/api/bill-product-excel.go
  2. 1 1
      boxcost/api/report-product-excel.go

+ 1 - 1
boxcost/api/bill-product-excel.go

@@ -107,7 +107,7 @@ func (b *ProductBillExcel) drawSubTitles() error {
 	b.Excel.SetRowHeight(b.SheetName, b.Row+1, 21)
 
 	//第三行
-	drawLeft(b.Row+2, "产品名称:"+b.Content.ProductName+"  类别:"+b.Content.Type)
+	drawLeft(b.Row+2, "产品名称:"+b.Content.ProductName)
 	status := ""
 	if b.Content.Status == "complete" {
 		status = "已完成"

+ 1 - 1
boxcost/api/report-product-excel.go

@@ -108,7 +108,7 @@ func (b *ReportProductExcel) drawSubTitles() error {
 	b.Excel.SetRowHeight(b.SheetName, b.Row+1, 21)
 
 	//第三行
-	drawLeft(b.Row+2, "产品名称:"+b.Content.ProductName+"  类别:"+b.Content.Type)
+	drawLeft(b.Row+2, "产品名称:"+b.Content.ProductName)
 	status := ""
 	if b.Content.Status == "complete" {
 		status = "已完成"