Commit 21054cbd by 张立顺

fix 去掉清空按钮

1 parent fcc9a3ae
<template>
<div>
<GLDialog bigTitle="预约时间"
:visible.sync="dialogShow"
class="detail-content-warn"
width="620px"
mode="big"
:close-on-click-modal="false"
:before-close="handleClose"
@onOk="handleAddConfirm"
@onCancel="dialogShow = false">
<GLDialog bigTitle="预约时间" :visible.sync="dialogShow" class="detail-content-warn" width="620px" mode="big"
:close-on-click-modal="false" :before-close="handleClose" @onOk="handleAddConfirm" @onCancel="dialogShow = false">
<div v-loading="loading">
<div class="form_div">
<div class="tipsDiv">
......@@ -16,41 +9,24 @@
{{ paramsObj.customer.customerName + ' | ' + paramsObj.customer.customerPhone }}
</div>
</div>
<el-form label-width="100px"
:model="infoForm"
ref="editRef"
:rules="formRules">
<el-form-item label="预约时间:"
required>
<el-form label-width="100px" :model="infoForm" ref="editRef" :rules="formRules">
<el-form-item label="预约时间:" required>
<el-col :span="10">
<el-form-item prop="dateTime">
<el-date-picker v-model="infoForm.dateTime"
type="date"
class="default-width"
placeholder="选择日期"
value-format="yyyy-MM-dd"
@change="inviteStatMerchantList(true)"
:picker-options="datePickerOptions"></el-date-picker>
<el-date-picker v-model="infoForm.dateTime" :clearable="false" type="date" class="default-width"
placeholder="选择日期" value-format="yyyy-MM-dd" @change="inviteStatMerchantList(true)"
:picker-options="datePickerOptions"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="1"></el-col>
<el-col :span="13">
<el-form-item prop="times">
<el-select v-model="infoForm.times"
filterable
placeholder="请选择"
class="default-width">
<el-option v-for="(item, key) in timesOpt"
:key="key"
:label="item.confValue"
:value="item.confId"
:disabled="item.disabled"></el-option>
<el-select v-model="infoForm.times" filterable placeholder="请选择" class="default-width">
<el-option v-for="(item, key) in timesOpt" :key="key" :label="item.confValue" :value="item.confId"
:disabled="item.disabled"></el-option>
</el-select>
<el-button type="text"
size="small"
class="timesSle"
v-if="paramsObj.inviteDate"
@click="cancelInvite">取消预约</el-button>
<el-button type="text" size="small" class="timesSle" v-if="paramsObj.inviteDate"
@click="cancelInvite">取消预约</el-button>
</el-form-item>
</el-col>
</el-form-item>
......@@ -264,24 +240,29 @@ export default {
color: #333333;
margin: 10px 0 20px 0;
}
.el-icon-circle-close {
color: #ffffff;
}
.form_div {
color: #333333;
.tipsDiv {
height: 28px;
margin-bottom: 20px;
.tipsText {
padding-left: 20px;
font-size: 14px;
}
}
}
.default-width {
width: 170px;
}
.timesSle {
padding-left: 10px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!