|
@@ -2,30 +2,26 @@
|
|
|
<div>
|
|
|
<el-dialog :title="exData.id ? '编辑': '新增'"
|
|
|
:visible.sync="dialog"
|
|
|
- width="900px"
|
|
|
+ width="800px"
|
|
|
:close-on-click-modal="false"
|
|
|
top="50px">
|
|
|
<el-form ref="form"
|
|
|
:model="form"
|
|
|
:rules="formRules"
|
|
|
- label-width="160px">
|
|
|
+ label-width="120px">
|
|
|
<el-form-item prop="bar_name"
|
|
|
:rules="formRules.required"
|
|
|
label="门店名称:">
|
|
|
- <el-col :span="16">
|
|
|
- <el-input v-model="form.bar_name"
|
|
|
- placeholder="请输入门店名称"
|
|
|
- clearable></el-input>
|
|
|
- </el-col>
|
|
|
+ <el-input v-model="form.bar_name"
|
|
|
+ placeholder="请输入门店名称"
|
|
|
+ clearable></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="bar_address"
|
|
|
:rules="formRules.required"
|
|
|
label="门店地址:">
|
|
|
- <el-col :span="16">
|
|
|
- <el-input v-model="form.bar_address"
|
|
|
- placeholder="请输入门店地址"
|
|
|
- clearable></el-input>
|
|
|
- </el-col>
|
|
|
+ <el-input v-model="form.bar_address"
|
|
|
+ placeholder="请输入门店地址"
|
|
|
+ clearable></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="bar_img_url"
|
|
|
:rules="formRules.uploadImgs"
|
|
@@ -55,12 +51,14 @@
|
|
|
<el-form-item prop="bar_song_start_time"
|
|
|
:rules="formRules.required"
|
|
|
label="点歌时间:">
|
|
|
- <el-time-select placeholder="起始时间"
|
|
|
+ <el-time-select style="width: 45%;"
|
|
|
+ placeholder="起始时间"
|
|
|
v-model="form.bar_song_start_time"
|
|
|
:picker-options="{start: '00:00', step: '00:05', end: '23:59'}">
|
|
|
</el-time-select>
|
|
|
- <span style="margin: 0 10px;">至</span>
|
|
|
- <el-time-select placeholder="结束时间"
|
|
|
+ <span style="display:inline-block;width: 10%; text-align: center">至</span>
|
|
|
+ <el-time-select style="width: 45%;"
|
|
|
+ placeholder="结束时间"
|
|
|
v-model="form.bar_song_end_time"
|
|
|
:picker-options="{start: '00:00', step: '00:05', end: '23:59', minTime: form.bar_song_start_time}">
|
|
|
</el-time-select>
|
|
@@ -68,12 +66,14 @@
|
|
|
<el-form-item prop="bar_place_reserve_start_time"
|
|
|
:rules="formRules.required"
|
|
|
label="座位预定时间:">
|
|
|
- <el-time-select placeholder="起始时间"
|
|
|
+ <el-time-select style="width: 45%;"
|
|
|
+ placeholder="起始时间"
|
|
|
v-model="form.bar_place_reserve_start_time"
|
|
|
:picker-options="{start: '00:00', step: '00:05', end: '23:59'}">
|
|
|
</el-time-select>
|
|
|
- <span style="margin: 0 10px;">至</span>
|
|
|
- <el-time-select placeholder="结束时间"
|
|
|
+ <span style="display:inline-block;width: 10%; text-align: center">至</span>
|
|
|
+ <el-time-select style="width: 45%;"
|
|
|
+ placeholder="结束时间"
|
|
|
v-model="form.bar_place_reserve_end_time"
|
|
|
:picker-options="{start: '00:00', step: '00:05', end: '23:59', minTime: form.bar_place_reserve_start_time}">
|
|
|
</el-time-select>
|