营销表单优化
This commit is contained in:
@ -198,6 +198,12 @@ export default {
|
|||||||
that.form.imageArr = data.image
|
that.form.imageArr = data.image
|
||||||
that.form.sliderImageArr = data.slider_image
|
that.form.sliderImageArr = data.slider_image
|
||||||
that.form.status = 1
|
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;
|
that.templateList = res.tempList;
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<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-input-number v-model="formValidate.effectiveTime" style="width: 500px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -258,7 +258,7 @@ export default {
|
|||||||
sliderImageArr: [],
|
sliderImageArr: [],
|
||||||
title: '',
|
title: '',
|
||||||
attr: '',
|
attr: '',
|
||||||
people: '',
|
people: '1',
|
||||||
info: '',
|
info: '',
|
||||||
price: '',
|
price: '',
|
||||||
sort: '',
|
sort: '',
|
||||||
@ -517,6 +517,8 @@ export default {
|
|||||||
that.formValidate.info = data.store_info
|
that.formValidate.info = data.store_info
|
||||||
that.formValidate.unitName = data.unit_name
|
that.formValidate.unitName = data.unit_name
|
||||||
that.formValidate.isShow = 1
|
that.formValidate.isShow = 1
|
||||||
|
that.formValidate.people = 1
|
||||||
|
that.formValidate.effectiveTime = 1
|
||||||
that.oneFormValidate = [data.attr];
|
that.oneFormValidate = [data.attr];
|
||||||
that.formValidate.header = [];
|
that.formValidate.header = [];
|
||||||
that.generate(null);
|
that.generate(null);
|
||||||
|
@ -525,6 +525,7 @@ export default {
|
|||||||
that.formValidate.unitName = data.unit_name
|
that.formValidate.unitName = data.unit_name
|
||||||
that.formValidate.sliderImageArr = data.slider_image
|
that.formValidate.sliderImageArr = data.slider_image
|
||||||
that.formValidate.status = 1
|
that.formValidate.status = 1
|
||||||
|
that.formValidate.num = 1
|
||||||
that.formValidate.header = [];
|
that.formValidate.header = [];
|
||||||
that.generate(null);
|
that.generate(null);
|
||||||
that.manyFormValidate = data.attrs;
|
that.manyFormValidate = data.attrs;
|
||||||
|
Reference in New Issue
Block a user