diff --git a/Application/Payment/Controller/ExcelPaymentController.class.php b/Application/Payment/Controller/ExcelPaymentController.class.php index 4b54892f1..15173f0b4 100644 --- a/Application/Payment/Controller/ExcelPaymentController.class.php +++ b/Application/Payment/Controller/ExcelPaymentController.class.php @@ -65,7 +65,7 @@ class ExcelPaymentController extends BaseController } if(isset($_REQUEST['company_name'])){ - $map['i.company_name'] = $_REQUEST['company_name']; + $map['i.company_name'] = ['LIKE',"%".$_REQUEST['company_name']."%"]; } if(isset($_REQUEST['pay_status'])){ diff --git a/Application/Payment/View/ExcelPayment/lists.html b/Application/Payment/View/ExcelPayment/lists.html index d1a4e3f32..e15ece7a4 100644 --- a/Application/Payment/View/ExcelPayment/lists.html +++ b/Application/Payment/View/ExcelPayment/lists.html @@ -106,13 +106,10 @@
-
- +
+
-
 -  @@ -261,27 +258,6 @@ } $(function(){ - - var company_name = "{$_GET['company_name']??0}"; - companySelect(); - function companySelect(){ - var url = "{:U('Ajax/getCompanyList')}"+"&company_type=2"; - $.get(url,function(data){ - var company = data; - var companystr = ''; - for (var i in company) { - if(company[i].name == company_name){ - companystr += "" - }else{ - companystr += "" - } - } - $("#company_name").html(companystr); - $("#company_name").select2(); - }) - } - - $(".viewPool").click(function () { var id = $(this).data("id"); var url = "{:U('viewPool')}"+"&id="+id