Fix:4260 【旅居商城小程序】管理后台新增旅居商户后,相应的用户进入商城小程序点击入驻入口,弹出提示窗,即将打开供应链小程序。确认后打开供应链小程序,如下图所示

This commit is contained in:
linxi
2025-11-17 15:03:43 +08:00
parent 31ce97db6a
commit f884d1c764
+7 -1
View File
@@ -56,6 +56,7 @@ export default {
hasHotel: null,
hasSupplier: null,
hasWholesaler: null,
hasTravel: null,
images: null,
pageKeyId: Object.freeze('merchantApplyIndex'),
canApplyHotel: false
@@ -71,6 +72,7 @@ export default {
this.hasSupplier = data.hasSupplier
this.hasWholesaler = data.hasWholesaler
this.canApplyHotel = data.canApplyHotel
this.hasTravel = data.hasTravel
})
},
methods: {
@@ -78,7 +80,11 @@ export default {
* 跳转旅游 residences
*/
toTravelResidence() {
this.$yrouter.push('/pkg_join/views/travelResidence?partnerId=' + this.partnerId)
if (this.hasTravel === 1) {
this.$global.goSupplierMini()
} else {
this.$yrouter.push('/pkg_join/views/travelResidence?partnerId=' + this.partnerId)
}
},
/**
* 跳转