提交 f61957c0 authored 作者: lhh's avatar lhh

update

上级 8275d1f9
......@@ -199,7 +199,7 @@ export default {
{ key: 'check_in_time', label: '入住时间', required: '1' },
{ key: 'check_out_time', label: '离店时间', required: '1' },
{ key: 'room_type', label: '房型', required: '1' },
{ key: 'breakfast', label: '早餐', required: '1' }
{ key: 'breakfast', label: '座谈', required: '1' }
]
}
]
......
......@@ -6,13 +6,9 @@
<el-input :disabled="item.enable_edit" v-model="form[item.key]"></el-input>
</el-form-item>
<el-form-item :label="item.name + ':'" v-if="item.type === 'radio'" :key="index">
<el-radio
:key="cIndex"
v-for="(opt, cIndex) in item.optionList"
v-model="form[item.key]"
:label="opt.id"
>{{ opt.option }}</el-radio
>
<el-radio :key="cIndex" v-for="(opt, cIndex) in item.optionList" v-model="form[item.key]" :label="opt.id">{{
opt.option
}}</el-radio>
</el-form-item>
<el-form-item :label="item.name + ':'" v-if="item.type === 'select'" :key="index">
<el-select v-model="form[item.key]" placeholder="请选择">
......@@ -195,13 +191,13 @@ export default {
},
{
type: 'select',
name: '早餐',
name: '座谈',
key: 'breakfast',
placeholder: '请选择早餐',
placeholder: '请选择座谈',
rue: '',
value: '',
required: true,
optionList: ['有', '无'],
optionList: ['是', '否'],
showPicker: false
},
{
......
......@@ -125,7 +125,7 @@ export default {
{ visible: true, key: 'check_in_time', label: '入住时间' },
{ visible: true, key: 'check_out_time', label: '离店时间' },
{ visible: true, key: 'room_type', label: '房型' },
{ visible: true, key: 'breakfast', label: '早餐' }
{ visible: true, key: 'breakfast', label: '座谈' }
],
tableData: []
}
......
......@@ -145,7 +145,7 @@ export default {
{ visible: true, key: 'check_in_time', label: '入住时间' },
{ visible: true, key: 'check_out_time', label: '离店时间' },
{ visible: true, key: 'room_type', label: '房型' },
{ visible: true, key: 'breakfast', label: '早餐' }
{ visible: true, key: 'breakfast', label: '座谈' }
]
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论