|
@@ -1731,7 +1731,7 @@ func (rg *RegisterController) Export(c *gin.Context) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- row3Title = append(row3Title, "套餐备注", "开始时间", "到期时间", "金额单位")
|
|
+ row3Title = append(row3Title, "套餐备注", "开始时间", "到期时间", "合同金额", "金额单位")
|
|
if req.ListParam == 0 {
|
|
if req.ListParam == 0 {
|
|
row3Title = append(row3Title, "FICC套餐总金额", "权益套餐总金额")
|
|
row3Title = append(row3Title, "FICC套餐总金额", "权益套餐总金额")
|
|
}
|
|
}
|
|
@@ -1875,14 +1875,18 @@ func (rg *RegisterController) Export(c *gin.Context) {
|
|
dataRow.AddCell().SetString(v.ServiceRemark)
|
|
dataRow.AddCell().SetString(v.ServiceRemark)
|
|
dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", v.StartDate))
|
|
dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", v.StartDate))
|
|
dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", v.EndDate))
|
|
dataRow.AddCell().SetString(utils.TimeTransferString("2006/01/02", v.EndDate))
|
|
-
|
|
+ dataRow.AddCell().SetString(fmt.Sprint("¥", v.ContractAmount))
|
|
dataRow.AddCell().SetString(v.CurrencyUnit)
|
|
dataRow.AddCell().SetString(v.CurrencyUnit)
|
|
if ficcAmount != nil {
|
|
if ficcAmount != nil {
|
|
dataRow.AddCell().SetString(fmt.Sprint("¥", ficcAmount.ServiceAmount))
|
|
dataRow.AddCell().SetString(fmt.Sprint("¥", ficcAmount.ServiceAmount))
|
|
- dataRow.AddCell().SetString("")
|
|
+ if raiAmount == nil{
|
|
|
|
+ dataRow.AddCell().SetString("")
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if raiAmount != nil {
|
|
if raiAmount != nil {
|
|
- dataRow.AddCell().SetString("")
|
|
+ if ficcAmount == nil{
|
|
|
|
+ dataRow.AddCell().SetString("")
|
|
|
|
+ }
|
|
dataRow.AddCell().SetString(fmt.Sprint("¥", raiAmount.ServiceAmount))
|
|
dataRow.AddCell().SetString(fmt.Sprint("¥", raiAmount.ServiceAmount))
|
|
}
|
|
}
|
|
if ficcAmount == nil && raiAmount == nil {
|
|
if ficcAmount == nil && raiAmount == nil {
|