diff --git a/admin/controllers/Common.php b/admin/controllers/Common.php index 69a7ca83..3fc915c1 100644 --- a/admin/controllers/Common.php +++ b/admin/controllers/Common.php @@ -1454,15 +1454,12 @@ class Common extends CI_Controller $page = $this->input->post('page') ? intval($this->input->post('page')) : 1; $size = $this->input->post('size') ? intval($this->input->post('size')) : 10; $where = "status=1 "; - if ($vin) { - $where .= " and vin='{$vin}'"; - } else { - $brand_id && $where .= " and brand_id=$brand_id"; - $s_id && $where .= " and s_id=$s_id"; - $v_id && $where .= " and v_id=$v_id"; - $cor_id && $where .= " and cor_id=$cor_id"; - $incor_id && $where .= " and incor_id=$incor_id"; - } + $vin && $where .= ' and vin LIKE "%' . trim($vin) . '%"'; + $brand_id && $where .= " and brand_id=$brand_id"; + $s_id && $where .= " and s_id=$s_id"; + $v_id && $where .= " and v_id=$v_id"; + $cor_id && $where .= " and cor_id=$cor_id"; + $incor_id && $where .= " and incor_id=$incor_id"; if ($select_id) { $fhwhere = [ diff --git a/admin/views/receiver/orders/get.php b/admin/views/receiver/orders/get.php index a6165f64..7c804dd7 100644 --- a/admin/views/receiver/orders/get.php +++ b/admin/views/receiver/orders/get.php @@ -357,7 +357,7 @@ that.getCars(1); layer.open({ type: 1, - area: ['50%', '80%'], //宽高 + area: ['60%', '85%'], //宽高 content: $('#car-modal'), title: '选择车辆', shade: false, diff --git a/admin/views/receiver/orders/oinfo.php b/admin/views/receiver/orders/oinfo.php index cda23021..34cbe517 100644 --- a/admin/views/receiver/orders/oinfo.php +++ b/admin/views/receiver/orders/oinfo.php @@ -112,14 +112,14 @@