店铺入驻bug修改
parent
a42a7515dc
commit
81ab58e009
|
@ -79,7 +79,7 @@
|
||||||
<Input
|
<Input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
v-model="form.scope"
|
v-model="form.scope"
|
||||||
maxlength="300"
|
maxlength="200"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
:rows="4"
|
:rows="4"
|
||||||
placeholder="请输入营业执照所示经营范围"
|
placeholder="请输入营业执照所示经营范围"
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
||||||
this.agreementCon = res.result.content;
|
this.agreementCon = res.result.content;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getData () { // 获取已填写店铺信息
|
getData (status) { // 获取已填写店铺信息
|
||||||
applyStatus().then((res) => {
|
applyStatus().then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (!res.result) {
|
if (!res.result) {
|
||||||
|
@ -122,10 +122,13 @@ export default {
|
||||||
third.forEach((e) => {
|
third.forEach((e) => {
|
||||||
this.thirdData[e] = data[e];
|
this.thirdData[e] = data[e];
|
||||||
});
|
});
|
||||||
|
if (status === 'init') {
|
||||||
if (this.storeDisable !== 'APPLY') {
|
if (this.storeDisable === 'APPLY') {
|
||||||
|
this.currentIndex = 0;
|
||||||
|
} else {
|
||||||
this.currentIndex = 3;
|
this.currentIndex = 3;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.dataReview = true;
|
this.dataReview = true;
|
||||||
this.$forceUpdate();
|
this.$forceUpdate();
|
||||||
|
@ -137,11 +140,11 @@ export default {
|
||||||
// 下一步
|
// 下一步
|
||||||
nextPage (step) {
|
nextPage (step) {
|
||||||
this.currentIndex = step;
|
this.currentIndex = step;
|
||||||
this.getData()
|
this.getData('next')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getData();
|
this.getData('init');
|
||||||
this.getArticle();
|
this.getArticle();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
<Input
|
<Input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
v-model="form.storeDesc"
|
v-model="form.storeDesc"
|
||||||
maxlength="300"
|
maxlength="200"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
:rows="4"
|
:rows="4"
|
||||||
placeholder="请输入店铺简介"
|
placeholder="请输入店铺简介"
|
||||||
|
|
|
@ -6,32 +6,33 @@
|
||||||
<Input type='number' v-model="formValidate.autoCancel">
|
<Input type='number' v-model="formValidate.autoCancel">
|
||||||
<span slot="append">分</span>
|
<span slot="append">分</span>
|
||||||
</Input>
|
</Input>
|
||||||
|
<span class="desc">发起订单后,多少分钟未操作取消订单</span>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem label="订单自动收货" class="label-item" prop="autoReceive">
|
<FormItem label="订单自动收货" class="label-item" prop="autoReceive">
|
||||||
<Input type='number' v-model="formValidate.autoReceive">
|
<Input type='number' v-model="formValidate.autoReceive">
|
||||||
<span slot="append">天</span>
|
<span slot="append">天</span>
|
||||||
</Input>
|
</Input>
|
||||||
<span class="desc">收货后,订单完成</span>
|
<span class="desc">发货后多少天自动完成收货</span>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<FormItem label="自动评价" prop="autoEvaluation">
|
<FormItem label="自动好评" prop="autoEvaluation">
|
||||||
<Input type='number' v-model="formValidate.autoEvaluation">
|
<Input type='number' v-model="formValidate.autoEvaluation">
|
||||||
<span slot="append">天</span>
|
<span slot="append">天</span>
|
||||||
</Input>
|
</Input>
|
||||||
|
<span class="desc">订单发货后,多少天后自动好评</span>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="已完成订单允许退单" prop="closeAfterSale">
|
<FormItem label="已完成订单允许退单" prop="closeAfterSale">
|
||||||
<Input type='number' v-model="formValidate.closeAfterSale">
|
<Input type='number' v-model="formValidate.closeAfterSale">
|
||||||
<span slot="append">天</span>
|
<span slot="append">天</span>
|
||||||
</Input>
|
</Input>
|
||||||
<span class="desc">如果天数为0,则不允许退单</span>
|
<span class="desc">订单完成后,多少天内允许退单,如果天数为0,则不允许退单</span>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="已完成订单允许投诉" prop="closeComplaint">
|
<FormItem label="已完成订单允许投诉" prop="closeComplaint">
|
||||||
<Input type='number' v-model="formValidate.closeComplaint">
|
<Input type='number' v-model="formValidate.closeComplaint">
|
||||||
<span slot="append">天</span>
|
<span slot="append">天</span>
|
||||||
</Input>
|
</Input>
|
||||||
<span class="desc">如果天数为0,则不允许投诉</span>
|
<span class="desc">订单完成后,多少天内允许投诉,如果天数为0,则不允许投诉</span>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
<div class="label-btns">
|
<div class="label-btns">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="layout">
|
<div class="layout">
|
||||||
<Form ref="formValidate" :label-width="150" label-position="right" :model="formValidate" :rules="ruleValidate">
|
<Form ref="formValidate" :label-width="150" label-position="right" :model="formValidate" :rules="ruleValidate">
|
||||||
<FormItem label="积分比例" prop="money">
|
<FormItem label="积分比率" prop="money">
|
||||||
<Input type="number" v-model="formValidate.money">
|
<Input type="number" v-model="formValidate.money">
|
||||||
<span slot="prepend">1积分=</span>
|
<span slot="prepend">1积分=</span>
|
||||||
<span slot="append">人民币</span>
|
<span slot="append">人民币</span>
|
||||||
|
@ -14,13 +14,13 @@
|
||||||
<span slot="append">积分</span>
|
<span slot="append">积分</span>
|
||||||
</Input>
|
</Input>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="登录" class="label-item" prop="login">
|
<!-- <FormItem label="登录" class="label-item" prop="login">
|
||||||
<Input type="number" v-model="formValidate.login">
|
<Input type="number" v-model="formValidate.login">
|
||||||
|
|
||||||
<span slot="append">积分</span>
|
<span slot="append">积分</span>
|
||||||
</Input>
|
</Input>
|
||||||
|
|
||||||
</FormItem>
|
</FormItem> -->
|
||||||
|
|
||||||
<FormItem label="每日签到积分" prop="signIn">
|
<FormItem label="每日签到积分" prop="signIn">
|
||||||
<Input type="number" v-model="formValidate.signIn">
|
<Input type="number" v-model="formValidate.signIn">
|
||||||
|
@ -38,11 +38,12 @@
|
||||||
<FormItem class="label-item" v-for="(point,index) in formValidate.pointSettingItems" :key="index" :label="'签到设置'+(index+1)">
|
<FormItem class="label-item" v-for="(point,index) in formValidate.pointSettingItems" :key="index" :label="'签到设置'+(index+1)">
|
||||||
<div class="label-item">
|
<div class="label-item">
|
||||||
|
|
||||||
<InputNumber :min="1" v-model="point.day" :formatter="value => `签到${value}天`" :parser="value => value.replace('天', '') && value.replace('签到', '')"></InputNumber>
|
<InputNumber :min="1" v-model="point.day"></InputNumber>
|
||||||
|
|
||||||
<InputNumber :min="0" :formatter="value => `赠送${value}积分`" :parser="value => value.replace('积分', '') && value.replace('赠送', '')" v-model="point.point"></InputNumber>
|
<InputNumber :min="0" v-model="point.point"></InputNumber>
|
||||||
|
|
||||||
<Button ghost type="error" @click="delSign(point,index)">删除</Button>
|
<Button ghost type="error" @click="delSign(point,index)">删除</Button>
|
||||||
|
<span class="ml_10">签到<span class="theme_color">{{point.day}}</span>天,赠送<span class="theme_color">{{point.point}}</span>积分</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
Loading…
Reference in New Issue