|
@@ -293,7 +293,7 @@ func (b *ProductBillExcel) drawRemark() error {
|
|
|
|
|
|
//第二行
|
|
|
drawLeft(b.Row+1, "联系人:")
|
|
|
- timeformat := b.Content.CreateTime.Local().Format("2006年01月02号 15:04:05")
|
|
|
+ timeformat := b.Content.CreateTime.Local().Format("2006年01月02号")
|
|
|
drawRight(b.Row+1, "联系人:")
|
|
|
b.Excel.SetRowHeight(b.SheetName, b.Row+1, 21)
|
|
|
|
|
@@ -394,7 +394,7 @@ func NewProductBill(f *excelize.File) *ProductBillExcel {
|
|
|
}
|
|
|
|
|
|
f.SetColWidth(b.SheetName, "A", "J", 11.5)
|
|
|
- f.SetPageMargins(b.SheetName, excelize.PageMarginTop(1.5), excelize.PageMarginLeft(0.25), excelize.PageMarginRight(0))
|
|
|
+ f.SetPageMargins(b.SheetName, excelize.PageMarginTop(1), excelize.PageMarginLeft(0.25), excelize.PageMarginRight(0))
|
|
|
return b
|
|
|
}
|
|
|
|