|
@@ -252,8 +252,8 @@
|
|
|
<a @click="showBrandNameInvalid = false"><i class="fa fa-close fa-lg"></i></a>
|
|
<a @click="showBrandNameInvalid = false"><i class="fa fa-close fa-lg"></i></a>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="content">
|
|
<div class="content">
|
|
|
- <p style="line-height: 20px;margin-top: 10px;">非常抱歉,目前暂无此品牌!您可在<br/>“品牌申请”中,提出申请。</p>
|
|
|
|
|
- <p style="line-height: 20px;">前往<a @click="showBrandNameInvalid = false" target="_blank" href="/vendor#/brand/apply/" style="color: #5078CB">品牌申请 <i class="fa fa-arrow-right"></i></a></p>
|
|
|
|
|
|
|
+ <p style="line-height: 20px;margin-top: 10px;">非常抱歉,目前暂无此品牌!<br>若直接前往“品牌申请”,我们将为您先开通寄售功能,待申请通过后再提交开店申请。</p>
|
|
|
|
|
+ <p style="line-height: 20px;">前往<a @click="goBrandApply()" target="_blank" style="color: #5078CB">品牌申请 <i class="fa fa-arrow-right"></i></a></p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -543,7 +543,7 @@
|
|
|
)
|
|
)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- goProduct: function () {
|
|
|
|
|
|
|
+ goProduct: function (baseUrl) {
|
|
|
if (this.loginData.isSelf) {
|
|
if (this.loginData.isSelf) {
|
|
|
if (!this.registerData.isValidRegister) {
|
|
if (!this.registerData.isValidRegister) {
|
|
|
this.$message.error('请输入正确的注册信息')
|
|
this.$message.error('请输入正确的注册信息')
|
|
@@ -555,7 +555,7 @@
|
|
|
if (response.data.success) {
|
|
if (response.data.success) {
|
|
|
this.isSelfRegisterSuccess = true
|
|
this.isSelfRegisterSuccess = true
|
|
|
this.$http.delete('basic/user/userCacheEnterprise')
|
|
this.$http.delete('basic/user/userCacheEnterprise')
|
|
|
- this.reflashEnterprise(response.data.data.enuu, '/vendor#/vendor_productOn')
|
|
|
|
|
|
|
+ this.reflashEnterprise(response.data.data.enuu, baseUrl || '/vendor#/vendor_productOn')
|
|
|
} else {
|
|
} else {
|
|
|
this.isSelfRegisterSuccess = false
|
|
this.isSelfRegisterSuccess = false
|
|
|
this.$message.error('个人注册失败,请重新填写信息')
|
|
this.$message.error('个人注册失败,请重新填写信息')
|
|
@@ -570,9 +570,13 @@
|
|
|
if (!this.checkData.checked) {
|
|
if (!this.checkData.checked) {
|
|
|
this.$message.error('您还没有勾选相关条款')
|
|
this.$message.error('您还没有勾选相关条款')
|
|
|
} else {
|
|
} else {
|
|
|
- this.reflashEnterprise(this.loginData.enterprise.uu, '/vendor#/vendor_productOn')
|
|
|
|
|
|
|
+ this.reflashEnterprise(this.loginData.enterprise.uu, baseUrl || '/vendor#/vendor_productOn')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ goBrandApply: function () {
|
|
|
|
|
+ this.showBrandNameInvalid = false
|
|
|
|
|
+ this.goProduct('/vendor#/brand/apply/')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|