Commit 7b871ff0 by wuwenlong

1

parent ea92aa6d
......@@ -228,6 +228,16 @@
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="预约开始时间" align="center" prop="preStartDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.preStartDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="预约结束时间" align="center" prop="preEndDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.preEndDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
......@@ -343,6 +353,22 @@
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="预约开始时间" prop="preStartDate">
<el-date-picker clearable
v-model="form.preStartDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择预约开始时间">
</el-date-picker>
</el-form-item>
<el-form-item label="预约结束时间" prop="preEndDate">
<el-date-picker clearable
v-model="form.preEndDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择预约结束时间">
</el-date-picker>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
......@@ -397,6 +423,8 @@ export default {
status: null,
startDate: null,
endDate: null,
preStartDate: null,
preEndDate: null
},
// 表单参数
form: {},
......@@ -467,7 +495,9 @@ export default {
createTime: null,
updateBy: null,
updateTime: null,
remark: null
remark: null,
preStartDate: null,
preEndDate: null
};
this.resetForm("form");
},
......
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