animeic %!s(int64=2) %!d(string=hai) anos
pai
achega
742a3a3938
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      boxcost/api/bill-produce-excel.go
  2. 1 1
      boxcost/api/bill-purchase-excel.go

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

@@ -481,7 +481,7 @@ func (b *ProduceBillExcel) drawTableSignature() error {
 
 	// 制单人
 	billUserCellS := fmt.Sprintf("A%d", b.Row+1)
-	billUserCellE := fmt.Sprintf("A%d", b.Row+1)
+	billUserCellE := fmt.Sprintf("B%d", b.Row+1)
 	b.Excel.MergeCell(b.SheetName, billUserCellS, billUserCellE)
 	b.Excel.SetCellValue(b.SheetName, billUserCellS, "制单人:"+b.Content.UserName)
 

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

@@ -364,7 +364,7 @@ func (b *PurchaseBillExcel) drawTableSignature() error {
 
 	// 制单人
 	billUserCellS := fmt.Sprintf("A%d", b.Row+1)
-	billUserCellE := fmt.Sprintf("A%d", b.Row+1)
+	billUserCellE := fmt.Sprintf("B%d", b.Row+1)
 	b.Excel.MergeCell(b.SheetName, billUserCellS, billUserCellE)
 	b.Excel.SetCellValue(b.SheetName, billUserCellS, "制单人:"+b.Content.UserName)