|
@@ -270,6 +270,7 @@ func (rg *RegisterController) Add(c *gin.Context) {
|
|
|
logItem.OpData = opData
|
|
|
logItem.OpType = fms.ContractRegisterOpTypeSave
|
|
|
logItem.CreateTime = nowTime
|
|
|
+ logItem.Remark = req.Remark
|
|
|
if e = logItem.Create(); e != nil {
|
|
|
return
|
|
|
}
|
|
@@ -407,6 +408,7 @@ func (rg *RegisterController) Edit(c *gin.Context) {
|
|
|
logItem.OpData = opData
|
|
|
logItem.OpType = fms.ContractRegisterOpTypeEdit
|
|
|
logItem.CreateTime = nowTime
|
|
|
+ logItem.Remark = req.Remark
|
|
|
if e = logItem.Create(); e != nil {
|
|
|
return
|
|
|
}
|
|
@@ -724,7 +726,7 @@ func (rg *RegisterController) Invoice(c *gin.Context) {
|
|
|
OpData: opData,
|
|
|
OpType: opType,
|
|
|
CreateTime: nowTime,
|
|
|
- Remark: fmt.Sprint(adminInfo.RealName, " 删除", fms.ContractInvoiceKeyNameMap[opType], "金额", originInvoiceList[i].Amount, "元"),
|
|
|
+ AmountRemark: fmt.Sprint("删除", fms.ContractInvoiceKeyNameMap[opType], "金额", originInvoiceList[i].Amount, "元"),
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -743,7 +745,7 @@ func (rg *RegisterController) Invoice(c *gin.Context) {
|
|
|
OpData: opData,
|
|
|
OpType: opType,
|
|
|
CreateTime: nowTime,
|
|
|
- Remark: fmt.Sprint(adminInfo.RealName, " 新增", fms.ContractInvoiceKeyNameMap[opType], "金额", ia, "元"),
|
|
|
+ AmountRemark: fmt.Sprint("新增", fms.ContractInvoiceKeyNameMap[opType], "金额", ia, "元"),
|
|
|
})
|
|
|
}
|
|
|
|