Commit ccb2c975 by 陈羽

update: bugfix

parent bc4044c6
......@@ -36,7 +36,7 @@
<vue-gic-store-card :options="options" :uuid.sync="uuid" ref="storeCard"></vue-gic-store-card>
</el-form-item>
<el-form-item label="签到距离" prop="signDistance">
<el-input-number v-model="form.signDistance" controls-position="right" class="shortInput" @change="handleChange" :min="100" :max="5000"></el-input-number><span style="margin-left:9px;"></span>
<el-input-number v-model="form.signDistance" controls-position="right" class="shortInput" @change="handleChange" :min="100" :max="5000" :step="1" :step-strictly="true"></el-input-number><span style="margin-left:9px;"></span>
<span class="tips">*为了保证用户体验,建议设置签到距离为100米,设置范围为100-5000米。</span>
</el-form-item>
<el-form-item label="签到人群" prop="memberSearchType">
......@@ -81,7 +81,7 @@
<el-input type="text" v-model="form.prizeType" style="display:none;"></el-input>
</el-form-item>
</el-form-item>
<el-button type="primary" @click="onSubmit('form')" style="margin:24px 0 50px 111px;">保存</el-button> <span class="tips">(若使用多个计划需小程序版本升级到3.8.2以上)</span>
<template v-if="canEdit"><el-button type="primary" @click="onSubmit('form')" style="margin:24px 0 50px 111px;">保存</el-button> <span class="tips">(若使用多个计划需小程序版本升级到3.8.2以上)</span></template>
</el-form>
</section>
</template>
......@@ -163,6 +163,7 @@ export default {
creatorId: '',
showStoreCard: false,
isAdd: false,
canEdit: false,
// 需要的下拉 默认为全部[0,1,2,3,4,5]
// 0 全部 1 门店类型 2门店标签 3 门店区域 4 门店分组 5 部分门店
options: [ 0, 1, 2, 3, 4, 5 ],
......@@ -205,6 +206,7 @@ export default {
if (this.$route.query.id) {
this.getDetail();
} else {
this.canEdit = true;
this.isAdd = true
this.showStoreCard = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment