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