hsun 2 жил өмнө
parent
commit
792e353287

+ 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 ?`
 		}