|
@@ -74,7 +74,7 @@ func (b *ReportPurchaseExcel) drawSubTitles() error {
|
|
|
var drawLeft = func(rowIndex int, value string) error {
|
|
|
//左边1
|
|
|
left1Cell := fmt.Sprintf("A%d", rowIndex)
|
|
|
- err = b.Excel.MergeCell(b.SheetName, left1Cell, fmt.Sprintf("E%d", rowIndex))
|
|
|
+ err = b.Excel.MergeCell(b.SheetName, left1Cell, fmt.Sprintf("F%d", rowIndex))
|
|
|
if err != nil {
|
|
|
return err
|
|
|
}
|
|
@@ -87,7 +87,7 @@ func (b *ReportPurchaseExcel) drawSubTitles() error {
|
|
|
}
|
|
|
|
|
|
var drawRight = func(rowIndex int, value string) error {
|
|
|
- right1Cell := fmt.Sprintf("F%d", rowIndex)
|
|
|
+ right1Cell := fmt.Sprintf("G%d", rowIndex)
|
|
|
err = b.Excel.MergeCell(b.SheetName, right1Cell, fmt.Sprintf("L%d", rowIndex))
|
|
|
if err != nil {
|
|
|
return err
|