Fix(入驻/采购批发商):[#1982]撤销提交的申请后,将无法对除了省市区以外的内容进行修改,导致无法再次提交申请
This commit is contained in:
+16
-14
@@ -585,20 +585,22 @@ export default {
|
||||
}
|
||||
this.isDraft = data.isDraft
|
||||
this.reviewStatus = data.reviewStatus
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
this.reviewing = false
|
||||
break
|
||||
if (data.isDraft !== 1) {
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
this.reviewing = false
|
||||
break
|
||||
}
|
||||
}
|
||||
if (data.hotelInfo) {
|
||||
// 店铺图片
|
||||
|
||||
+16
-14
@@ -766,20 +766,22 @@ export default {
|
||||
}
|
||||
this.isDraft = data.isDraft
|
||||
this.reviewStatus = data.reviewStatus
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
this.reviewing = false
|
||||
break
|
||||
if (data.isDraft !== 1) {
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
this.reviewing = false
|
||||
break
|
||||
}
|
||||
}
|
||||
if (data.hotelInfo) {
|
||||
// 店铺图片
|
||||
|
||||
@@ -137,11 +137,16 @@
|
||||
v-if="!form.qualification"
|
||||
class="btn-upload"
|
||||
>上传图片</view>
|
||||
<image
|
||||
v-else
|
||||
:src="form.qualification"
|
||||
class="img-preview"
|
||||
/>
|
||||
<view v-else>
|
||||
<view v-if="qualificationArr.length > 0" class="flex">
|
||||
<image
|
||||
v-for="(item, index) in qualificationArr"
|
||||
:key="index"
|
||||
:src="item"
|
||||
class="img-preview"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
</u-cell>
|
||||
@@ -299,6 +304,7 @@ export default {
|
||||
},
|
||||
district: [],
|
||||
address: {},
|
||||
qualificationArr: [],
|
||||
isAgree: false,
|
||||
show: false,
|
||||
notice: '',
|
||||
@@ -373,23 +379,28 @@ export default {
|
||||
this.isDraft = data.isDraft
|
||||
this.reviewStatus = data.reviewStatus
|
||||
}
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break;
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break;
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
this.reviewing = false
|
||||
break;
|
||||
if (data.isDraft !== 1) {
|
||||
switch (data.reviewStatus) {
|
||||
case 0:
|
||||
this.stateTitle = '审核中'
|
||||
this.stateType = 'primary'
|
||||
this.reviewing = true
|
||||
break;
|
||||
case 1:
|
||||
this.reviewing = false
|
||||
break;
|
||||
case 2:
|
||||
this.stateTitle = '审核驳回:' + data.reviewMsg
|
||||
this.stateType = 'error'
|
||||
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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user