Commit 4e22c8c2 by chenwq

bug修复

1 parent bad56012
......@@ -99,11 +99,8 @@ export default {
},
{
label: '浏览时间',
prop: 'createdDate',
// width: '180',
formatter: cellValue => {
return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
}
prop: 'lastBrowseDate',
width: '180'
}
]
}
......
......@@ -71,7 +71,7 @@
<p class="edit-title">活动配置</p>
<glsx-combi-form class="edit-form-container" ref="configEditFormRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="configEditFormData" :formRules="editRule">
<template slot="customerServiceFlag" slot-scope="scope">
<el-radio-group v-model="editForm[scope.scope.name]" @change="handleIsLimit">
<el-radio-group v-model="editForm[scope.scope.name]">
<el-radio v-for="(item, index) in scope.scope.optionList" :key="index" :label="item[scope.scope.optionId]">{{ item[scope.scope.optionLabel] }}</el-radio>
</el-radio-group>
<div class="customer-service" v-if="editForm[scope.scope.name] == 2" id="customerServiceFlag">
......@@ -106,7 +106,7 @@
<div slot="activityVideos" class="edit-tips m-t-8">最多上传6个视频</div>
<div slot="posterImg" class="edit-tips m-t-8">建议尺寸640*1008</div>
<div class="form-describe flex-default" slot="formDescribe" v-for="(item, index) in formDescribeList" :key="index">
<el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20" clearable>
<el-input class="describe-input" v-model="item.value" placeholder="请输入" maxlength="20">
<el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" slot="suffix" :size="size" type="text" @click="handleDescribeAdd">
<span class="describe-plus">+</span>
</el-button>
......@@ -306,6 +306,17 @@ export default {
}
],
// 活动配置
fictitiousViewQuantity: [
{
validator: (rule, value, callback) => {
if (value < +this.editForm.fictitiousGroupQuantity) {
return callback(new Error('浏览人数应大于参团人数'))
}
return callback()
},
trigger: 'change'
}
],
activityBigImg: [{ required: true, message: '请选择活动大图', trigger: 'change' }],
activityDetail: [{ required: true, message: '请输入活动详情', trigger: 'change' }],
forwardTitle: [{ required: true, message: '请输入转发标题', trigger: 'change' }]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!