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