Fix:5835 【商城小程序】【商户入驻-礼品集采中心】扫码入驻审核通过后,再次进入入驻详情页仍显示“未提交申请”(状态未同步)
This commit is contained in:
@@ -74,6 +74,9 @@ export default {
|
||||
this.partnerId = options.partnerId || ''
|
||||
this.promoterUid = options.promoterUid || ''
|
||||
getImages().then(({data}) => this.images = data)
|
||||
|
||||
},
|
||||
onShow() {
|
||||
getShopData({partnerId: this.partnerId, promoterUid: this.promoterUid}).then(({data}) => {
|
||||
this.partnerType = data.partnerType
|
||||
this.hotelId = data.hotelId
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
labelWidth="216rpx"
|
||||
>
|
||||
<view
|
||||
v-if="stateTitle && isDraft!==1 && applyType === 4"
|
||||
v-if="stateTitle && isDraft!==1"
|
||||
class="box-state"
|
||||
>
|
||||
<u-alert
|
||||
@@ -211,7 +211,7 @@
|
||||
撤销申请
|
||||
</view>
|
||||
<view
|
||||
v-else
|
||||
v-else-if="reviewStatus !== 1"
|
||||
class="btn-submit"
|
||||
@click="onSubmit"
|
||||
>
|
||||
@@ -408,10 +408,8 @@ export default {
|
||||
initInfo() {
|
||||
getWholesaler().then(({data}) => {
|
||||
this.applyType = data.applyType
|
||||
if (data.applyType === 4) {
|
||||
this.isDraft = data.isDraft
|
||||
this.reviewStatus = data.reviewStatus
|
||||
}
|
||||
this.isDraft = data.isDraft
|
||||
this.reviewStatus = data.reviewStatus
|
||||
if(data.isDraft === null || data.isDraft === 1) {
|
||||
this.show = true
|
||||
}
|
||||
@@ -423,6 +421,8 @@ export default {
|
||||
this.reviewing = true
|
||||
break;
|
||||
case 1:
|
||||
this.stateTitle = '审核通过'
|
||||
this.stateType = 'success'
|
||||
this.reviewing = false
|
||||
break;
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user