diff --git a/src/views/ofm/vehicle_form.vue b/src/views/ofm/vehicle_form.vue index e5eab27a..6f68cf50 100644 --- a/src/views/ofm/vehicle_form.vue +++ b/src/views/ofm/vehicle_form.vue @@ -14,7 +14,7 @@ - + { slot.sloted = false; @@ -247,14 +247,14 @@ export default { }, mdateChange(){ let that = this; - if(that.form.vehiclereg!==''&&that.form.vehiclereg!==null){ + if(that.form.vehreg!==''&&that.form.vehreg!==null){ that.getmRoomSlot(); } }, vehChange(){ let that = this; that.vehRegList.forEach(item=>{ - if(item.id == that.form.vehiclereg){ + if(item.id == that.form.vehreg){ that.mroomName = item.name; that.bookingTitle = item.name+"预定"; if(that.form.vdate!==''&&that.form.vdate!==null){ @@ -285,7 +285,7 @@ export default { }, handleEidt(id) { let that = this; - that.$API.ofm.vehicleslot.list.req({booking:id,page:0}).then(res=>{ + that.$API.ofm.vehicleslot.list.req({vehicle_use:id,page:0}).then(res=>{ res.forEach(item=>{ that.timesList[item.slot].isSelect = true; })