hsun 2 năm trước cách đây
mục cha
commit
792e353287
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 ?`
 		}