|
@@ -153,10 +153,10 @@
|
|
|
<el-input type="number" v-model="moreForm.valueLimit" style="width: 252px;margin-left: 17px;" placeholder="请输入"></el-input>
|
|
<el-input type="number" v-model="moreForm.valueLimit" style="width: 252px;margin-left: 17px;" placeholder="请输入"></el-input>
|
|
|
<div class="f-text2">爱心值</div>
|
|
<div class="f-text2">爱心值</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="moreForm.activityLimit==2" class="adfac">
|
|
|
|
|
|
|
+ <!-- <div v-if="moreForm.activityLimit==2" class="adfac">
|
|
|
<el-input type="number" v-model="moreForm.valueLimit" style="width: 252px;margin-left: 17px;" placeholder="请输入"></el-input>
|
|
<el-input type="number" v-model="moreForm.valueLimit" style="width: 252px;margin-left: 17px;" placeholder="请输入"></el-input>
|
|
|
<div class="f-text2">专享券</div>
|
|
<div class="f-text2">专享券</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
</div>
|
|
</div>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="爱心值对应内容" v-if="moreForm.activityLimit==1">
|
|
<el-form-item label="爱心值对应内容" v-if="moreForm.activityLimit==1">
|
|
@@ -475,8 +475,10 @@ export default {
|
|
|
if (!this.basicForm.imageFiles) return this.$message.error('请上传活动详情Banner')
|
|
if (!this.basicForm.imageFiles) return this.$message.error('请上传活动详情Banner')
|
|
|
if (!this.basicForm.activityDetails) return this.$message.error('请输入活动详情')
|
|
if (!this.basicForm.activityDetails) return this.$message.error('请输入活动详情')
|
|
|
this.tidx = 2
|
|
this.tidx = 2
|
|
|
- if (this.basicForm.typeId === '1977564813261750273') this.moreForm.activityLimit = 2
|
|
|
|
|
- else this.moreForm.activityLimit = 1
|
|
|
|
|
|
|
+ if (this.basicForm.typeId === '1977564813261750273') {
|
|
|
|
|
+ this.moreForm.activityLimit = 2
|
|
|
|
|
+ this.moreForm.valueLimit = 1
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|