|
@@ -297,21 +297,19 @@ func (b *PurchaseBillExcel) drawTableFooter() error {
|
|
|
}
|
|
|
|
|
|
func (b *PurchaseBillExcel) drawTableSignature() error {
|
|
|
- // row := b.Offset + 11
|
|
|
b.Row += 2
|
|
|
row := b.Row
|
|
|
- // border := []excelize.Border{
|
|
|
- // {Type: "top", Style: 1, Color: "000000"},
|
|
|
- // {Type: "left", Style: 1, Color: "000000"},
|
|
|
- // {Type: "right", Style: 1, Color: "000000"},
|
|
|
- // {Type: "bottom", Style: 1, Color: "000000"},
|
|
|
- // }
|
|
|
|
|
|
style1, _ := b.Excel.NewStyle(&excelize.Style{
|
|
|
Alignment: &excelize.Alignment{Horizontal: "center", Vertical: "center"},
|
|
|
- // Border: border,
|
|
|
})
|
|
|
|
|
|
+ // 制单人
|
|
|
+ billUserCell := fmt.Sprintf("A%d", row+3)
|
|
|
+ b.Excel.SetCellValue(b.SheetName, billUserCell, "制单人:")
|
|
|
+ billUservCell := fmt.Sprintf("B%d", row+3)
|
|
|
+ b.Excel.SetCellValue(b.SheetName, billUservCell, b.Content.UserName)
|
|
|
+
|
|
|
fontCell := fmt.Sprintf("H%d", row)
|
|
|
imageCell1 := fmt.Sprintf("I%d", row)
|
|
|
imageCell2 := fmt.Sprintf("K%d", row)
|