Commit 42aba1d2 authored by denghr's avatar denghr

1

parent 46d021b1
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<el-table-column width="60" align="center" :label="item.day" v-for="item in tempDayList" :key="item.day"> <el-table-column width="60" align="center" :label="item.day" v-for="item in tempDayList" :key="item.day">
<template scope="scope"> <template scope="scope">
<div v-for="iitem in scope.row.temp" :key="iitem.day" v-if="iitem.time == item.time"> <div v-for="iitem in scope.row.temp" :key="iitem.day" v-if="iitem.time == item.time">
<div v-for="ii in iitem.children" :key="ii.time" :data-ii="ii.time" :data-endhour="ii.endhour" class="ii-day" :class="ii.bg" @click="toShowDialog(scope.row, iitem, ii)"> <div v-for="ii in iitem.children" :style="ii.timeEtr != '00'?'position:relative':'position:static'" :key="ii.time" :data-ii="ii.time" :data-endhour="ii.endhour" class="ii-day" :class="ii.bg" @click="toShowDialog(scope.row, iitem, ii)">
<span v-if="ii.timeEtr == '00'" style="position: absolute;color: #fff;left: -20px;bottom: 0">{{ii.timeEtr}}</span> <span v-if="ii.timeEtr == '00'" style="position: absolute;color: #fff;left: -20px;bottom: 0">{{ii.timeEtr}}</span>
<span v-else style="position: absolute;color: #fff;top: -24px;right: 0;">{{ii.timeEtr}}</span> <span v-else style="position: absolute;color: #fff;top: -24px;right: 0;">{{ii.timeEtr}}</span>
<span style="position: absolute;color: #fff;z-index: 11;left: 0;">{{ii.timeStr}}</span> <span style="position: absolute;color: #fff;z-index: 11;left: 0;">{{ii.timeStr}}</span>
......
...@@ -620,6 +620,7 @@ ...@@ -620,6 +620,7 @@
:fetch-suggestions="querySearch" :fetch-suggestions="querySearch"
placeholder="请输入内容" placeholder="请输入内容"
@select="handleSelect3" @select="handleSelect3"
disabled=""
></el-autocomplete> ></el-autocomplete>
</el-form-item> </el-form-item>
<el-form-item label="还车分公司" prop="retCompany"> <el-form-item label="还车分公司" prop="retCompany">
...@@ -2014,15 +2015,24 @@ ...@@ -2014,15 +2015,24 @@
} }
this.form4Apply.upkeepIds = this.form4Apply.bookType==6?this.form4Apply.upkeepIds.join(","):'' this.form4Apply.upkeepIds = this.form4Apply.bookType==6?this.form4Apply.upkeepIds.join(","):''
this.dialogFormVisible = false; this.dialogFormVisible = false;
book(this.form4Apply).then(() => { book(this.form4Apply).then(res => {
this.dialogForm4ApplyVisible = false; if(res.status==200){
this.getList(); this.dialogForm4ApplyVisible = false;
this.$notify({ this.getList();
title: '成功', this.$notify({
message: '预定成功', title: '成功',
type: 'success', message: '预定成功',
duration: 2000 type: 'success',
}); duration: 2000
});
}else{
this.$notify({
title: '失败',
message: res.message,
type: 'error',
duration: 2000
});
}
}); });
} else { } else {
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment