礼品卡
This commit is contained in:
parent
664992d75b
commit
d2d2f6ca81
@ -125,10 +125,32 @@
|
|||||||
<!-- <span style="font-size: 20px">推荐有礼</span>-->
|
<!-- <span style="font-size: 20px">推荐有礼</span>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
|
|
||||||
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm">
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm">
|
||||||
<el-form-item label="活动名称" prop="activeName">
|
<el-form-item label="活动名称" prop="activeName">
|
||||||
<el-input v-model="ruleForm.activeName" placeholder="请输入活动名称" />
|
<el-input v-model="ruleForm.activeName" placeholder="请输入活动名称" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-row :gutter="20">
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="活动开始时间" prop="activeStartTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.activeStartTime"
|
||||||
|
type="datetime"
|
||||||
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
|
placeholder="请选择活动开始时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="活动结束时间" prop="activeEndTime">
|
||||||
|
<el-date-picker clearable
|
||||||
|
v-model="form.activeEndTime"
|
||||||
|
type="datetime"
|
||||||
|
value-format="yyyy-MM-dd HH:mm:ss"
|
||||||
|
placeholder="请选择活动结束时间">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
<el-form-item label="邀请人获得" prop="inviterGiftType">
|
<el-form-item label="邀请人获得" prop="inviterGiftType">
|
||||||
<el-checkbox-group v-model="ruleForm.inviterGiftType" >
|
<el-checkbox-group v-model="ruleForm.inviterGiftType" >
|
||||||
<el-checkbox v-for="city in Typelist" :label="city.type" :key="city.type">{{city.text}}</el-checkbox>
|
<el-checkbox v-for="city in Typelist" :label="city.type" :key="city.type">{{city.text}}</el-checkbox>
|
||||||
@ -748,6 +770,12 @@ export default {
|
|||||||
status:[
|
status:[
|
||||||
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
||||||
],
|
],
|
||||||
|
activeStartTime: [
|
||||||
|
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
activeEndTime: [
|
||||||
|
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
||||||
|
],
|
||||||
activeRule:[
|
activeRule:[
|
||||||
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
{ required: true, message: '必填项不能为空', trigger: 'blur' },
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user