hsun 2 anni fa
parent
commit
792e353287
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      controller/contract/register.go

+ 1 - 0
controller/contract/register.go

@@ -1302,6 +1302,7 @@ func (rg *RegisterController) InvoiceList(c *gin.Context) {
 		// 开票列表同时模糊查询销售名称
 		if req.InvoiceType == fms.ContractInvoiceTypeMake {
 			cond += ` AND (contract_code LIKE ? OR seller_name LIKE ?)`
+			pars = append(pars, kw)
 		} else {
 			cond += ` AND contract_code LIKE ?`
 		}