Fix(入驻/采购批发商):[#1982]撤销提交的申请后,将无法对除了省市区以外的内容进行修改,导致无法再次提交申请

This commit is contained in:
lifizer
2024-07-24 22:13:08 +08:00
parent 0ce7c578c9
commit 5b1b1f1c69
3 changed files with 63 additions and 47 deletions
+2
View File
@@ -585,6 +585,7 @@ export default {
}
this.isDraft = data.isDraft
this.reviewStatus = data.reviewStatus
if (data.isDraft !== 1) {
switch (data.reviewStatus) {
case 0:
this.stateTitle = '审核中'
@@ -600,6 +601,7 @@ export default {
this.reviewing = false
break
}
}
if (data.hotelInfo) {
// 店铺图片
this.pics = []
+2
View File
@@ -766,6 +766,7 @@ export default {
}
this.isDraft = data.isDraft
this.reviewStatus = data.reviewStatus
if (data.isDraft !== 1) {
switch (data.reviewStatus) {
case 0:
this.stateTitle = '审核中'
@@ -781,6 +782,7 @@ export default {
this.reviewing = false
break
}
}
if (data.hotelInfo) {
// 店铺图片
this.pics = []
+14 -2
View File
@@ -137,12 +137,17 @@
v-if="!form.qualification"
class="btn-upload"
>上传图片</view>
<view v-else>
<view v-if="qualificationArr.length > 0" class="flex">
<image
v-else
:src="form.qualification"
v-for="(item, index) in qualificationArr"
:key="index"
:src="item"
class="img-preview"
/>
</view>
</view>
</view>
</template>
</u-cell>
</view>
@@ -299,6 +304,7 @@ export default {
},
district: [],
address: {},
qualificationArr: [],
isAgree: false,
show: false,
notice: '',
@@ -373,6 +379,7 @@ export default {
this.isDraft = data.isDraft
this.reviewStatus = data.reviewStatus
}
if (data.isDraft !== 1) {
switch (data.reviewStatus) {
case 0:
this.stateTitle = '审核中'
@@ -388,8 +395,12 @@ export default {
this.reviewing = false
break;
}
}
if (data.wholesalerInfo) {
this.form = data.wholesalerInfo
if (this.form.qualification) {
this.qualificationArr = this.form.qualification.split(',')
}
this.form.position = this.$forceToDecimal(this.form.longitude, 6) + ',' + this.$forceToDecimal(this.form.latitude, 6)
this.form.area = `${this.form.provinceName} ${this.form.cityName} ${this.form.areaName}`
}
@@ -404,6 +415,7 @@ export default {
break
case 'licence':
this.form.qualification = img
this.qualificationArr = [img]
break
}
})