diff --git a/api/car/carApi.js b/api/car/carApi.js index d7afa23..e5f7fcd 100644 --- a/api/car/carApi.js +++ b/api/car/carApi.js @@ -55,10 +55,6 @@ export function queryAppOwnerCars(_objData) { if (res.statusCode == 200) { //将业主信息和房屋信息一起返回 let _cars = res.data.data; - if (_cars.length == 0) { - reject("业主没有车辆信息"); - return; - } resolve(_cars); } else { reject("查询车辆失败"); diff --git a/components/car/add-member-car.vue b/components/car/add-member-car.vue index 35dd2e2..6e3f8e9 100644 --- a/components/car/add-member-car.vue +++ b/components/car/add-member-car.vue @@ -63,7 +63,7 @@ } _that.showModel = false; - uni.$emit("loadData") + this.$emit("loadData",{}) }) }, cancel:function(){ diff --git a/components/car/modify-car-num.vue b/components/car/modify-car-num.vue index e982c11..2e7a9a3 100644 --- a/components/car/modify-car-num.vue +++ b/components/car/modify-car-num.vue @@ -57,7 +57,7 @@ } _that.showModel = false; - uni.$emit("loadData") + this.$emit("loadData",{}) }) }, cancel:function(){ diff --git a/pages/car/applyparking.vue b/pages/car/applyparking.vue index 5eb7cd2..dfd210d 100644 --- a/pages/car/applyparking.vue +++ b/pages/car/applyparking.vue @@ -2,15 +2,15 @@ 车牌号 - + 品牌 - + 颜色 - + 车辆类型 @@ -154,11 +154,7 @@ if (obj.carNum == "") { msg = "请填写车牌号"; - } else if (obj.carBrand == "") { - msg = "请填写车辆品牌"; - } else if (obj.carColor == "") { - msg = "请填写车辆颜色"; - }else if(obj.carType == ""){ + } else if(obj.carType == ""){ msg = "请选择车辆类型"; } if(msg != ""){ diff --git a/pages/car/carDetail.vue b/pages/car/carDetail.vue index cc14976..f32f317 100644 --- a/pages/car/carDetail.vue +++ b/pages/car/carDetail.vue @@ -52,8 +52,8 @@ - - + +