|
@@ -933,7 +933,7 @@ func (rg *RegisterController) Export(c *gin.Context) {
|
|
|
for i := 0; i < maxPayment; i++ {
|
|
|
n := i + 1
|
|
|
c1 := titleRow2.AddCell()
|
|
|
- t1 := fmt.Sprintf("%s%d", "收款月", n)
|
|
|
+ t1 := fmt.Sprintf("%s%d", "收款日", n)
|
|
|
c1.SetValue(t1)
|
|
|
c1.SetStyle(style)
|
|
|
c2 := titleRow2.AddCell()
|
|
@@ -1046,7 +1046,7 @@ func (rg *RegisterController) Export(c *gin.Context) {
|
|
|
if pyList != nil && pyListLen > 0 {
|
|
|
for ib := 0; ib < maxInvoice; ib++ {
|
|
|
if ib < pyListLen {
|
|
|
- dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", pyList[ib].InvoiceDate)) // 收款月
|
|
|
+ dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", pyList[ib].InvoiceDate)) // 收款日
|
|
|
dataRow.AddCell().SetString(fmt.Sprint(pyList[ib].Amount)) // 收款金额
|
|
|
} else {
|
|
|
// 已经是最后的几列了其实可以不用填充空, 万一后面要加列此处还是填充上吧
|