Browse Source

营销表单优化

master
hupeng 4 years ago committed by xuwenbo
parent
commit
9d90363379
  1. 6
      src/views/activity/bargain/form.vue
  2. 6
      src/views/activity/combination/form.vue
  3. 1
      src/views/activity/seckill/form.vue

6
src/views/activity/bargain/form.vue

@ -198,6 +198,12 @@ export default {
that.form.imageArr = data.image
that.form.sliderImageArr = data.slider_image
that.form.status = 1
that.form.minPrice = 0
that.form.num = 1
that.form.bargainMaxPrice = 0
that.form.bargainMinPrice = 0
that.form.bargainNum = 1
}
that.templateList = res.tempList;

6
src/views/activity/combination/form.vue

@ -63,7 +63,7 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="拼团时效(单位小时)" prop="effectiveTime">
<el-form-item label="拼团时效(小时)" prop="effectiveTime">
<el-input-number v-model="formValidate.effectiveTime" style="width: 500px;" />
</el-form-item>
</el-col>
@ -258,7 +258,7 @@ export default {
sliderImageArr: [],
title: '',
attr: '',
people: '',
people: '1',
info: '',
price: '',
sort: '',
@ -517,6 +517,8 @@ export default {
that.formValidate.info = data.store_info
that.formValidate.unitName = data.unit_name
that.formValidate.isShow = 1
that.formValidate.people = 1
that.formValidate.effectiveTime = 1
that.oneFormValidate = [data.attr];
that.formValidate.header = [];
that.generate(null);

1
src/views/activity/seckill/form.vue

@ -525,6 +525,7 @@ export default {
that.formValidate.unitName = data.unit_name
that.formValidate.sliderImageArr = data.slider_image
that.formValidate.status = 1
that.formValidate.num = 1
that.formValidate.header = [];
that.generate(null);
that.manyFormValidate = data.attrs;

Loading…
Cancel
Save