diff --git a/src/views/ofm/booking_form.vue b/src/views/ofm/booking_form.vue index 2efb8464..0dd96a6c 100644 --- a/src/views/ofm/booking_form.vue +++ b/src/views/ofm/booking_form.vue @@ -210,16 +210,13 @@ export default { getTid (){ var that = this; if (that.t_id) { - that.$API.wpm.handover.item.req(that.t_id).then(res=>{ - that.setData(res); + that.$API.ofm.mroombooking.item.req(that.t_id).then(res=>{ + that.form = res; if(res.ticket_.state_.type == 1 && res.create_by == that.$TOOL.data.get("USER_INFO").id ) { that.type = "edit"; }else{ that.type = "show"; } - that.$nextTick(()=>{ - that.$refs.ticketd_b_start.init(); - }) }) } },