ziwen 2 年之前
父节点
当前提交
c6c15ab18a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -724,7 +724,7 @@ func (rg *RegisterController) Detail(c *gin.Context) {
 			result.InvoiceList = append(result.InvoiceList, invoiceList[i])
 			result.InvoiceList = append(result.InvoiceList, invoiceList[i])
 			continue
 			continue
 		}
 		}
-		if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay {
+		if invoiceList[i].InvoiceType == fms.ContractInvoiceTypePay || invoiceList[i].InvoiceType == fms.ContractInvoiceTypePrePay {
 			result.PaymentList = append(result.PaymentList, invoiceList[i])
 			result.PaymentList = append(result.PaymentList, invoiceList[i])
 		}
 		}
 	}
 	}