|
@@ -320,6 +320,7 @@ func (rg *RegisterController) Add(c *gin.Context) {
|
|
|
AdminId: int(adminInfo.AdminId),
|
|
|
AdminName: adminInfo.RealName,
|
|
|
Remark: ppItem.Remark,
|
|
|
+ IsPrePay: 1,
|
|
|
}
|
|
|
v.Set()
|
|
|
// 到款登记-付款方式
|
|
@@ -364,7 +365,6 @@ func (rg *RegisterController) Add(c *gin.Context) {
|
|
|
// 开票到款汇总
|
|
|
go fmsService.SummaryInvoicePaymentByContractRegisterId(ob.ContractRegisterId)
|
|
|
|
|
|
-
|
|
|
// 操作日志
|
|
|
go func() {
|
|
|
logOB := new(fms.ContractRegisterLog)
|
|
@@ -725,7 +725,7 @@ func (rg *RegisterController) Detail(c *gin.Context) {
|
|
|
result.InvoiceList = append(result.InvoiceList, invoiceList[i])
|
|
|
continue
|
|
|
}
|
|
|
- if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay{
|
|
|
+ if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay {
|
|
|
result.PaymentList = append(result.PaymentList, invoiceList[i])
|
|
|
}
|
|
|
}
|