diff --git a/admin/controllers/auto/Brand.php b/admin/controllers/auto/Brand.php index 373c7bb8..50b192a8 100644 --- a/admin/controllers/auto/Brand.php +++ b/admin/controllers/auto/Brand.php @@ -147,10 +147,12 @@ class Brand extends HD_Controller{ $page = $this->input->post('page'); $size = $this->input->post('size'); $title = trim($this->input->post('title')); + $un_ids = $this->input->post('un_ids'); $where = array(); $keyword && $where['keyword'] = $keyword; $title && $where["name like '%{$title}%'"] = null; + $un_ids && $where["id not in({$un_ids})"] = null; if(strlen($status) > 0){ $where['status'] = $status; } else { diff --git a/admin/views/app/material/template/edit.php b/admin/views/app/material/template/edit.php index d448a14a..f492ed52 100644 --- a/admin/views/app/material/template/edit.php +++ b/admin/views/app/material/template/edit.php @@ -706,7 +706,8 @@ page: vm.modal_brand.page, size: vm.modal_brand.size, status: 1, - title: vm.modal_brand.title + title: vm.modal_brand.title, + un_ids: "6,2", }, success: function (response) { if (response.code == 1) { diff --git a/admin/views/items/transfer/get.php b/admin/views/items/transfer/get.php index 7b368085..c1cfae4a 100644 --- a/admin/views/items/transfer/get.php +++ b/admin/views/items/transfer/get.php @@ -123,7 +123,7 @@  km - {{transport.start_mileage.value}}km + {{transport.end_mileage.value}}km