店铺入驻bug修改

This commit is contained in:
mabo
2021-08-11 22:13:25 +08:00
parent a42a7515dc
commit 81ab58e009
5 changed files with 26 additions and 21 deletions

View File

@@ -79,7 +79,7 @@
<Input
type="textarea"
v-model="form.scope"
maxlength="300"
maxlength="200"
show-word-limit
:rows="4"
placeholder="请输入营业执照所示经营范围"

View File

@@ -68,7 +68,7 @@ export default {
this.agreementCon = res.result.content;
});
},
getData () { // 获取已填写店铺信息
getData (status) { // 获取已填写店铺信息
applyStatus().then((res) => {
if (res.success) {
if (!res.result) {
@@ -122,9 +122,12 @@ export default {
third.forEach((e) => {
this.thirdData[e] = data[e];
});
if (this.storeDisable !== 'APPLY') {
this.currentIndex = 3;
if (status === 'init') {
if (this.storeDisable === 'APPLY') {
this.currentIndex = 0;
} else {
this.currentIndex = 3;
}
}
this.$nextTick(() => {
this.dataReview = true;
@@ -137,11 +140,11 @@ export default {
// 下一步
nextPage (step) {
this.currentIndex = step;
this.getData()
this.getData('next')
}
},
mounted () {
this.getData();
this.getData('init');
this.getArticle();
}
};

View File

@@ -90,7 +90,7 @@
<Input
type="textarea"
v-model="form.storeDesc"
maxlength="300"
maxlength="200"
show-word-limit
:rows="4"
placeholder="请输入店铺简介"