This commit is contained in:
parent
7ce2829aa5
commit
e8d2053c69
|
@ -267,6 +267,7 @@
|
||||||
this.isCompany = isCompany;
|
this.isCompany = isCompany;
|
||||||
if (isCompany != 1) {
|
if (isCompany != 1) {
|
||||||
this.bindForm.is_own = 0;
|
this.bindForm.is_own = 0;
|
||||||
|
this.bindForm.name = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.real_name;
|
||||||
this.list = [{
|
this.list = [{
|
||||||
name: '法人账户'
|
name: '法人账户'
|
||||||
}];
|
}];
|
||||||
|
@ -359,7 +360,8 @@
|
||||||
|
|
||||||
// 法人账号验证
|
// 法人账号验证
|
||||||
if (this.bindForm.is_own === 0) {
|
if (this.bindForm.is_own === 0) {
|
||||||
if (!this.bindForm.temp.length > 0) return this.$util.Tips({
|
const isCompany = JSON.parse(this.$Cache.get("USER_INFO")).mer_info.is_company;
|
||||||
|
if (!this.bindForm.temp.length > 0 && isCompany == 1) return this.$util.Tips({
|
||||||
title: '请上传凭证!'
|
title: '请上传凭证!'
|
||||||
});
|
});
|
||||||
this.bindForm.financial_img = this.bindForm.temp.join(",");
|
this.bindForm.financial_img = this.bindForm.temp.join(",");
|
||||||
|
|
|
@ -191,7 +191,10 @@
|
||||||
// 用户信息
|
// 用户信息
|
||||||
this.userInfo = JSON.parse(this.$Cache.get("USER_INFO"));
|
this.userInfo = JSON.parse(this.$Cache.get("USER_INFO"));
|
||||||
|
|
||||||
console.log(this.userInfo.mer_info.is_company)
|
// uni.showToast({
|
||||||
|
// title: `我是123\n\t好的佩奇`,
|
||||||
|
// icon: "none"
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue