diff --git a/Application/Admin/View/CompanyStatement/lists.html b/Application/Admin/View/CompanyStatement/lists.html index 881f6420b..bec1fa4de 100644 --- a/Application/Admin/View/CompanyStatement/lists.html +++ b/Application/Admin/View/CompanyStatement/lists.html @@ -494,7 +494,7 @@ var flag = false; var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) { - if (id=="delStatement"&&$(elem).data("type")==3&&$.inArray( $(elem).data("status"),status) == 2) { + if (id=="delStatement"&&$(elem).data("type")==3&&$(elem).data("status") == 2) { flag = true; }